diff options
Diffstat (limited to 'dot_config')
-rw-r--r-- | dot_config/sway/config | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/dot_config/sway/config b/dot_config/sway/config index eaafecf..4cb7e9a 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -14,7 +14,7 @@ set $down j set $up k set $right l # Your preferred terminal emulator -set $term foot +set $term footclient set $lock swaylock # Your preferred application launcher # Note: pass the final command to swaymsg so that the resulting window can be opened @@ -31,19 +31,16 @@ include /etc/sway/config-vars.d/* # # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill -# -# Example configuration: -# -# output HDMI-A-1 resolution 1920x1080 position 1920,0 -# -# You can get the names of your outputs by running: swaymsg -t get_outputs -### Idle configuration -# -exec swayidle -w \ +exec { + # Idle configuration + swayidle -w \ timeout 180 $lock \ timeout 240 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ before-sleep $lock + # use footclient/footserver as our terminal + foot -s +} ### Input configuration # |