vim colors ++

This commit is contained in:
Henrik Bakken
2021-04-27 15:35:48 +02:00
parent f656bded97
commit 94691be75a
4 changed files with 35 additions and 32 deletions
+1 -5
View File
@@ -6,10 +6,6 @@ RESOLUTION=$(xrandr -q|sed -n 's/.*current[ ]\([0-9]*\) x \([0-9]*\),.*/\1x\2/p'
# lock the screen
import -silent -window root jpeg:- | convert - -scale 20% -blur 0x2.5 -resize 500% RGB:- | \
i3lock --raw $RESOLUTION:rgb -i /dev/stdin -e $@
# sleep 1 adds a small delay to prevent possible race conditions with suspend
sleep 1
xset dpms force off
# TODO fix - doesn't lock!
exit 0