summaryrefslogtreecommitdiffstats
path: root/.config/sway
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-08-30 17:54:01 -0400
committerAmin Bandali <bandali@kelar.org>2024-08-30 17:54:01 -0400
commit63879fc37e2b7e7f4d6069dfc287a85ee758b1f8 (patch)
tree8451cb5c68db1ce7c548325578a44d1a7a236f4f /.config/sway
parentdcb96b515fa65eee556df976375692cef48db21d (diff)
downloadconfigs-63879fc37e2b7e7f4d6069dfc287a85ee758b1f8.tar.gz
configs-63879fc37e2b7e7f4d6069dfc287a85ee758b1f8.tar.xz
configs-63879fc37e2b7e7f4d6069dfc287a85ee758b1f8.zip
Various updates from anahita
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/anahita27
-rw-r--r--.config/sway/config21
2 files changed, 42 insertions, 6 deletions
diff --git a/.config/sway/anahita b/.config/sway/anahita
new file mode 100644
index 0000000..7782d93
--- /dev/null
+++ b/.config/sway/anahita
@@ -0,0 +1,27 @@
+# -*-conf-*-
+
+output * bg ~/usr/pic/wallpaper fill
+# output eDP-1 scale 1
+
+input * {
+ xkb_options ctrl:swap_rwin_rctl,grp:shifts_toggle
+}
+
+input "0:0:Atmel_maXTouch_Touchpad" {
+ dwt enabled
+ natural_scroll enabled
+ middle_emulation enabled
+ click_method clickfinger
+}
+
+input "0:0:Atmel_maXTouch_Touchscreen" events disabled
+
+bindsym F7 exec light -A 5
+bindsym F6 exec light -U 5
+
+bindsym F10 exec $sinkup
+bindsym F9 exec $sinkdown
+bindsym F8 exec $sinkmute
+bindsym $mod+F10 exec $sourceup
+bindsym $mod+F9 exec $sourcedown
+bindsym $mod+F8 exec $sourcemute
diff --git a/.config/sway/config b/.config/sway/config
index 640ed06..ba1cc60 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -61,12 +61,21 @@ bindsym $mod+apostrophe exec dmenu-light
bindsym XF86MonBrightnessUp exec light -A 5
bindsym XF86MonBrightnessDown exec light -U 5
-bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
-bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
-bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
-bindsym $mod+XF86AudioRaiseVolume exec pactl set-source-volume @DEFAULT_SOURCE@ +5%
-bindsym $mod+XF86AudioLowerVolume exec pactl set-source-volume @DEFAULT_SOURCE@ -5%
-bindsym $mod+XF86AudioMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
+bindsym $mod+semicolon exec dmenu-pavols
+
+set $sinkup pactl set-sink-volume @DEFAULT_SINK@ +5%
+set $sinkdown pactl set-sink-volume @DEFAULT_SINK@ -5%
+set $sinkmute pactl set-sink-mute @DEFAULT_SINK@ toggle
+set $sourceup pactl set-source-volume @DEFAULT_SOURCE@ +5%
+set $sourcedown pactl set-source-volume @DEFAULT_SOURCE@ -5%
+set $sourcemute pactl set-source-mute @DEFAULT_SOURCE@ toggle
+
+bindsym XF86AudioRaiseVolume exec $sinkup
+bindsym XF86AudioLowerVolume exec $sinkdown
+bindsym XF86AudioMute exec $sinkmute
+bindsym $mod+XF86AudioRaiseVolume exec $sourceup
+bindsym $mod+XF86AudioLowerVolume exec $sourcedown
+bindsym $mod+XF86AudioMute exec $sourcemute
bindsym $mod+$left focus left
bindsym $mod+$down focus down