From 64d438f07fd46bf0972aca66bf29045a2ce6e5b9 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 19 Jul 2022 11:51:30 +0300 Subject: Moved i3lock to scripts/system folder --- scripts/system/on-wm-session.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/system/on-wm-session.sh') diff --git a/scripts/system/on-wm-session.sh b/scripts/system/on-wm-session.sh index 85b7999..e35f4a5 100755 --- a/scripts/system/on-wm-session.sh +++ b/scripts/system/on-wm-session.sh @@ -10,7 +10,7 @@ sleep 1 && /usr/libexec/polkit-gnome-authentication-agent-1 & dunst & # notification daemon lxpolkit & # polkit -xautolock -detectsleep -secure -time 15 -locker ~/.i3lock/lock.sh & # auto lock screen +xautolock -detectsleep -secure -time 15 -locker ~/scripts/system/lock.sh & # auto lock screen tint2 & # taskbar picom & # compositor setxkbmap -layout "us,bg" -variant ",phonetic" -option "grp:alt_shift_toggle" & # keyboard switching @@ -20,7 +20,7 @@ if [[ $device == "desktop" ]]; then fi if [[ $device == "laptop" ]]; then - while :; do if grep -Fq "closed" /proc/acpi/button/lid/LID0/state; then ~/.i3lock/lock.sh suspend && sleep 3; fi; sleep 0.5; done & # 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 + while :; do if grep -Fq "closed" /proc/acpi/button/lid/LID0/state; then ~/scripts/system/lock.sh suspend && sleep 3; fi; sleep 0.5; done & # 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 libinput-gestures-setup start & # start gestures blueberry & # bluetooth app fi -- cgit v1.2.3