sway: restructure folders, fix swayidle, add i3status config per host

This commit is contained in:
Konstantin Koslowski 2020-12-19 01:18:43 +01:00
parent d2ccde505a
commit 39ed1a4041
4 changed files with 51 additions and 5 deletions

13
bin/lock Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
IMAGE=/tmp/screen_locked.png
APP=grim
which $APP &> /dev/null
if [ $? -eq 0 ]; then
$APP $IMAGE
convert -blur 4x4 $IMAGE $IMAGE
swaylock -f -c 000000 -i $IMAGE
rm -v $IMAGE
else
swaylock -f -c 000000
fi