diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-03-21 17:37:12 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-03-21 17:37:12 +0300 |
commit | 647dccef36df1e3f317c22dbd161f77c2faf306f (patch) | |
tree | 689f3066119993507633611fc851f37b354115d4 /dotfiles/.local/bin/swaysession | |
parent | f8d26b9518990a6800e9ccce01ce17296c4a1df8 (diff) | |
download | swayrice-647dccef36df1e3f317c22dbd161f77c2faf306f.tar.gz swayrice-647dccef36df1e3f317c22dbd161f77c2faf306f.zip |
System sound tweaks
Diffstat (limited to 'dotfiles/.local/bin/swaysession')
-rwxr-xr-x | dotfiles/.local/bin/swaysession | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dotfiles/.local/bin/swaysession b/dotfiles/.local/bin/swaysession index 4dccbb7..0beaa1c 100755 --- a/dotfiles/.local/bin/swaysession +++ b/dotfiles/.local/bin/swaysession @@ -7,7 +7,7 @@ case "$1" in lock-color ;; logout) - canberra-gtk-play -i Oxygen-Sys-Log-Out & sleep 1 + canberra-gtk-play -i Oxygen-Sys-Log-Out & sleep 1.2 swaymsg exit clear if [ ! -e ~/.cache/dont-kill ]; then @@ -24,13 +24,13 @@ case "$1" in lock-color & sleep 1 && $logind hibernate ;; reboot) - canberra-gtk-play -i Oxygen-Sys-Log-Out & sleep 1 + canberra-gtk-play -i Oxygen-Sys-Log-Out & sleep 1.2 clear swaymsg exit sudo reboot now ;; poweroff) - canberra-gtk-play -i Oxygen-Sys-Log-Out & sleep 1 + canberra-gtk-play -i Oxygen-Sys-Log-Out & sleep 1.2 clear swaymsg exit # Having problems with logind poweroff and reboot after sway exit |