From 92794e05fbebee27a8b867d6875c4cfcb5875a42 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 3 Jan 2024 18:13:32 -0500 Subject: [sway] make footclient default term --- dot_config/sway/config | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'dot_config/sway') 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 # -- cgit v1.2.3