i3 shortcuts for session options
This commit is contained in:
parent
68a19a552a
commit
f9feabc2d2
4 changed files with 22 additions and 3 deletions
5
roles/i3/files/scripts/lock.sh
Executable file
5
roles/i3/files/scripts/lock.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
SCREEN_RESOLUTION="$(xdpyinfo | grep dimensions | cut -d' ' -f7)"
|
||||
BGCOLOR="000000"
|
||||
convert "/home/pim/Pictures/wallpapers/orphans.png" -gravity Center -background \#$BGCOLOR -resize "$SCREEN_RESOLUTION" RGB:- | i3lock --raw "$SCREEN_RESOLUTION":rgb -c $BGCOLOR -i /dev/stdin --nofork
|
Reference in a new issue