summaryrefslogtreecommitdiffstats
path: root/.config/sway/config
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-08-31 14:21:28 -0400
committerAmin Bandali <bandali@kelar.org>2024-08-31 14:21:28 -0400
commitc6d8f5f99ec23a6b7cb537c79e716bf5eea5446a (patch)
tree41b0de4b61e765d9c4cca317ebce66d530e640aa /.config/sway/config
parent8052f35b9b29d9d3624be1c161ad4f41ee26a533 (diff)
downloadconfigs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.tar.gz
configs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.tar.xz
configs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.zip
A few more updates from anahita
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)"