From 2be6b2c0c05f2d67d417952ea6c637adf7b95a94 Mon Sep 17 00:00:00 2001 From: Sebastian Bugge Date: Fri, 27 Dec 2024 00:14:32 +0100 Subject: [PATCH 1/2] Change blur level to be a bit more aggressive. --- .config/i3/i3exit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3/i3exit b/.config/i3/i3exit index 1504e8a..d0d44d8 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 From 6a1ba01ec1e6d1d131c4b303113e832c3b2ef6a3 Mon Sep 17 00:00:00 2001 From: Sebastian Bugge Date: Fri, 27 Dec 2024 00:15:54 +0100 Subject: [PATCH 2/2] Suspend then lock... --- .config/i3/i3exit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/i3/i3exit b/.config/i3/i3exit index d0d44d8..92b1925 100755 --- a/.config/i3/i3exit +++ b/.config/i3/i3exit @@ -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