summaryrefslogtreecommitdiffstats
path: root/.config/sway
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
parent8052f35b9b29d9d3624be1c161ad4f41ee26a533 (diff)
downloadconfigs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.tar.gz
configs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.tar.xz
configs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.zip
A few more updates from anahita
Diffstat (limited to '')
-rw-r--r--.config/sway/anahita12
-rw-r--r--.config/sway/config10
2 files changed, 13 insertions, 9 deletions
diff --git a/.config/sway/anahita b/.config/sway/anahita
index 7782d93..d47659a 100644
--- a/.config/sway/anahita
+++ b/.config/sway/anahita
@@ -16,12 +16,14 @@ input "0:0:Atmel_maXTouch_Touchpad" {
input "0:0:Atmel_maXTouch_Touchscreen" events disabled
-bindsym F7 exec light -A 5
bindsym F6 exec light -U 5
+bindsym F7 exec light -A 5
-bindsym F10 exec $sinkup
-bindsym F9 exec $sinkdown
bindsym F8 exec $sinkmute
-bindsym $mod+F10 exec $sourceup
-bindsym $mod+F9 exec $sourcedown
+bindsym F9 exec $sinkdown
+bindsym F10 exec $sinkup
bindsym $mod+F8 exec $sourcemute
+bindsym $mod+F9 exec $sourcedown
+bindsym $mod+F10 exec $sourceup
+
+bindsym XF86Tools exec $lock
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)"