diff --git a/.config/i3/i3exit b/.config/i3/i3exit index 1504e8a..92b1925 100755 --- a/.config/i3/i3exit +++ b/.config/i3/i3exit @@ -2,7 +2,7 @@ lock() { width_height=$(xdpyinfo | awk '/dimensions/ {print $2}') - scrot - | convert - -scale 80% -blur 0x2.0 -resize "$width_height" RGB:- | i3lock --nofork --raw "$width_height":rgb --image /dev/stdin + scrot - | convert - -scale 10% -blur 0x2.0 -resize "$width_height" RGB:- | i3lock --nofork --raw "$width_height":rgb --image /dev/stdin } case "$1" in @@ -13,10 +13,10 @@ logout) i3-msg exit ;; suspend) - lock && systemctl suspend + systemctl suspend && lock ;; hibernate) - lock && systemctl hibernate + systemctl hibernate && lock ;; reboot) systemctl reboot