diff --git a/.config/sway/config b/.config/sway/config index dc4f91e..86dd6a5 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -37,6 +37,9 @@ bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > $SWAYS bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > $SWAYSOCK.wob bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob +# Idle +exec swayidle timeout 300 'exec $lock' + # Screenshot bindsym Mod4+Shift+Return exec grim -g "$(slurp)" $(xdg-user-dir PICTURES)/screenshots/$(date +%Y%m%dT%H%M%SZ --utc).png # Record video diff --git a/.pkglist.txt b/.pkglist.txt index 38a9ea3..cdb8436 100644 --- a/.pkglist.txt +++ b/.pkglist.txt @@ -263,6 +263,7 @@ sudo sushi swappy sway +swayidle swaylock sysfsutils systemd-fsck-silent