diff options
| author | Syndamia <kamen@syndamia.com> | 2023-05-20 10:49:02 +0300 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2023-05-20 10:49:02 +0300 |
| commit | 6ec1d80e9a06d13777af00f250527af9369d472c (patch) | |
| tree | 459cf1cb145bdb000411b093791bbae7b56277aa /.a/sys | |
| parent | b1119216e9154be35664e0294307a439099b2395 (diff) | |
| download | dotfiles-6ec1d80e9a06d13777af00f250527af9369d472c.tar dotfiles-6ec1d80e9a06d13777af00f250527af9369d472c.tar.gz dotfiles-6ec1d80e9a06d13777af00f250527af9369d472c.zip | |
[.a/sys] Commented out while loop that awaits lid close to run lock.sh
Lid button is configured to be handled by elogind, not by a while loop
Diffstat (limited to '.a/sys')
| -rwxr-xr-x | .a/sys/on-wm-session.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.a/sys/on-wm-session.sh b/.a/sys/on-wm-session.sh index b80eac0..2def89f 100755 --- a/.a/sys/on-wm-session.sh +++ b/.a/sys/on-wm-session.sh @@ -22,7 +22,7 @@ if [[ $device == "desktop" ]]; then fi if [[ $device == "laptop" ]]; then - while :; do if grep -Fq "closed" /proc/acpi/button/lid/LID0/state; then ~/.a/sys/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 ~/.a/sys/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 |
