diff options
Diffstat (limited to 'scripts/system/on-wm-session.sh')
| -rwxr-xr-x | scripts/system/on-wm-session.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
