From a3a26d8246d7215bb1ffb782e48f11eeaf8181ba Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 28 Jun 2021 21:07:30 +0300 Subject: Updated lock script to lock in a more secure manner and made it lock on lid closing --- .config/openbox/autostart | 1 + 1 file changed, 1 insertion(+) (limited to '.config') diff --git a/.config/openbox/autostart b/.config/openbox/autostart index 8223e19..5636217 100644 --- a/.config/openbox/autostart +++ b/.config/openbox/autostart @@ -14,6 +14,7 @@ dunst & # notification daemon lxpolkit & # polkit barrier & # using mouse & keyboard on other computers while connected to wifi xautolock -detectsleep -secure -time 15 -locker ~/.i3lock/lock.sh & # auto lock screen +xss-lock -- .i3lock/lock.sh suspend & # lock screen on lid closing; you'll also need to uncomment the HandleLidSwitch variable and assign to it "lock" (HandleLidSwitch=lock) inside /etc/systemd/logind.conf tint2 & # taskbar picom --experimental-backends & # compositor setxkbmap -layout "us,bg" -variant ",phonetic" -option "grp:alt_shift_toggle" & # keyboard switching -- cgit v1.2.3