i3: Move to simpler lock
This commit is contained in:
parent
0aedfa940b
commit
10fe21be62
@ -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
|
|
@ -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" {
|
||||||
|
Loading…
Reference in New Issue
Block a user