summaryrefslogtreecommitdiffstats
path: root/.config/sway
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway')
-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)"