summaryrefslogtreecommitdiff
path: root/.a/sys/on-wm-session.sh
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2023-05-20 10:49:02 +0300
committerSyndamia <kamen@syndamia.com>2023-05-20 10:49:02 +0300
commit6ec1d80e9a06d13777af00f250527af9369d472c (patch)
tree459cf1cb145bdb000411b093791bbae7b56277aa /.a/sys/on-wm-session.sh
parentb1119216e9154be35664e0294307a439099b2395 (diff)
downloaddotfiles-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/on-wm-session.sh')
-rwxr-xr-x.a/sys/on-wm-session.sh2
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