From aa0e5a99a6ac3cc45763082702478d0c682634d6 Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Sat, 2 Apr 2022 13:26:34 -0500 Subject: [PATCH] Add swayidle config --- templates/.config/sway/config | 1 + templates/.config/swayidle/config | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 templates/.config/swayidle/config diff --git a/templates/.config/sway/config b/templates/.config/sway/config index dac8fcc..dcd03bf 100644 --- a/templates/.config/sway/config +++ b/templates/.config/sway/config @@ -45,6 +45,7 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill exec pipewire exec pipewire-pulse +exec swayidle font pango:DejaVu Sans Mono 8 focus_follows_mouse no diff --git a/templates/.config/swayidle/config b/templates/.config/swayidle/config new file mode 100644 index 0000000..a41023e --- /dev/null +++ b/templates/.config/swayidle/config @@ -0,0 +1,2 @@ +timeout 900 'swaylock -f -c 000000' +timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'