summaryrefslogtreecommitdiff
path: root/scripts/system/on-wm-session.sh
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2022-07-19 11:51:30 +0300
committerSyndamia <kamen@syndamia.com>2022-07-19 11:51:30 +0300
commit64d438f07fd46bf0972aca66bf29045a2ce6e5b9 (patch)
treef96590be13a8c9bb0a64f3e737b6daa2e64d77be /scripts/system/on-wm-session.sh
parent68429f7bd64fbb01c18984aaf51e081c6da9422b (diff)
downloaddotfiles-64d438f07fd46bf0972aca66bf29045a2ce6e5b9.tar
dotfiles-64d438f07fd46bf0972aca66bf29045a2ce6e5b9.tar.gz
dotfiles-64d438f07fd46bf0972aca66bf29045a2ce6e5b9.zip
Moved i3lock to scripts/system folder
Diffstat (limited to 'scripts/system/on-wm-session.sh')
-rwxr-xr-xscripts/system/on-wm-session.sh4
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