summaryrefslogtreecommitdiffstats
path: root/.config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config10
1 files changed, 6 insertions, 4 deletions
diff --git a/.config/sway/config b/.config/sway/config
index ba1cc60..0110d04 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -15,12 +15,13 @@ set $right l
set $term foot
set $menu dmenu_path | wmenu -f '$font' | xargs swaymsg exec --
+set $lock swaylock -f -c 000000
exec swayidle -w \
- timeout 600 'swaylock -f -c 000000' \
+ timeout 600 '$lock' \
timeout 610 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"' \
- before-sleep 'swaylock -f -c 000000'
+ before-sleep '$lock'
input * {
repeat_delay 200
@@ -44,7 +45,7 @@ bindsym $mod+Shift+r restart
set $mode_system System (l)ock | (e)xit sway | (s)uspend | (h)ibernate | (r)eboot | (S)hutdown
mode "$mode_system" {
- bindsym l exec swaylock -f -c 000000, mode "default"
+ bindsym l exec $lock, mode "default"
bindsym e exec swaymsg exit, mode "default"
bindsym s exec sudo pm-suspend, mode "default"
# bindsym h exec systemctl hibernate, mode "default"
@@ -205,7 +206,8 @@ for_window [app_id="^[Ff]irefox.*" title="Sharing Indicator"] \
exec mako >/tmp/mako.log 2>&1
exec dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec gsettings set 'org.gnome.desktop.interface' cursor-theme 'DMZ-White'
+# exec gsettings set 'org.gnome.desktop.interface' font-name 'Sans 10'
exec b-pacify
-exec [ -x "$(command -v nm-applet)" ] && nm-applet
+exec [ -x "$(command -v nm-applet)" ] && nm-applet --indicator
include ~/.config/sway/"$(hostname)"