i3: Move to simpler lock

This commit is contained in:
Salt 2017-09-01 23:45:01 -05:00
parent 0aedfa940b
commit 10fe21be62
2 changed files with 1 additions and 10 deletions

View File

@ -1,9 +0,0 @@
#!/bin/sh
SHOT=/tmp/lockimg.png
LOCKIMAGE=$HOME/.i3lockicon
import -window root $SHOT
convert $SHOT -scale 10% -scale 1000% $SHOT
[[ -f $LOCKIMAGE ]] && convert $SHOT $LOCKIMAGE -gravity center -composite -matte $SHOT
i3lock -i $SHOT
rm $SHOT

View File

@ -211,7 +211,7 @@ bindsym $mod+$shift+r restart
bindsym $mod+$shift+e exit bindsym $mod+$shift+e exit
# lock the screen # lock the screen
bindsym $sup+l exec "~/.bin/i3-salt-lock" bindsym $sup+l exec "i3lock -i $HOME/.i3lock -c 1d2021"
# resize window (you can also use the mouse for that) # resize window (you can also use the mouse for that)
mode "resize" { mode "resize" {