aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sway/config
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2024-01-03 18:13:32 -0500
committerRyan Kavanagh <rak@rak.ac>2024-01-03 18:13:32 -0500
commit92794e05fbebee27a8b867d6875c4cfcb5875a42 (patch)
tree040ea6e0b2795d87ca2d5bc0fa886f7bb0746e39 /dot_config/sway/config
parent[kanshi] SH-2420 lecture hall (diff)
[sway] make footclient default term
Diffstat (limited to 'dot_config/sway/config')
-rw-r--r--dot_config/sway/config17
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
#