commit a81fda9ae0e68b2fa1d966fa3ff38faab895d1fd parent 8a813978de4d4fd6fca6d91178c7d001d7915ae2 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Wed, 13 Feb 2019 19:34:25 +0100 Remove conflicting shortcuts, add text to xlock overlay Diffstat:
M | links/.bmdirs | | | 4 | +--- |
M | links/bin/xlock | | | 17 | ++++++++++++++++- |
2 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/links/.bmdirs b/links/.bmdirs @@ -5,13 +5,11 @@ ag ~/articles/glaciology_sedimentology bin ~/bin cf ~/.config cc ~/code -ca ~/code/andersdamsgaard.com cg ~/code/geodatahub cm ~/code/mst cs ~/code/sphere cw ~/code/webpage -d ~/code/dotfiles -D ~/downloads +D ~/code/dotfiles dd ~/doc dc ~/doc/camera df ~/doc/finances diff --git a/links/bin/xlock b/links/bin/xlock @@ -2,5 +2,20 @@ #mpc stop img=/tmp/screenshot.png maim $img -gm convert $img -blur 0x10 $img +#gm convert $img -blur 0x10 $img +convert $img -blur 0x10 \ + -fill white \ + -gravity Center \ + -font 'PragmataPro' \ + -pointsize 142 \ + -annotate +0+0 '🔒' \ + $img +convert $img \ + -fill white \ + -gravity Center \ + -font 'PragmataPro' \ + -pointsize 22 \ + -annotate +0+160 \ + "$(fortune)" \ + $img i3lock -i $img