aboutsummaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2023-12-03 13:24:36 +0100
committerDavid Runge <dave@sleepmap.de>2023-12-03 13:24:36 +0100
commite2dd7b6efd4bb9533c06a08e89a41c961fb7bbf6 (patch)
tree8c953dee96a44e1edcbfa0e8a58d59498a5e2233 /.config
parent1d0cfd20b47a587eccd5a8c00ecefb8f4025214a (diff)
downloaddotfiles-e2dd7b6efd4bb9533c06a08e89a41c961fb7bbf6.tar.gz
dotfiles-e2dd7b6efd4bb9533c06a08e89a41c961fb7bbf6.tar.bz2
dotfiles-e2dd7b6efd4bb9533c06a08e89a41c961fb7bbf6.tar.xz
dotfiles-e2dd7b6efd4bb9533c06a08e89a41c961fb7bbf6.zip
sway: Add bindsym config for frmwrk
Signed-off-by: David Runge <dave@sleepmap.de>
Diffstat (limited to '.config')
-rw-r--r--.config/sway/config.d/frmwrk-bindsym7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/sway/config.d/frmwrk-bindsym b/.config/sway/config.d/frmwrk-bindsym
new file mode 100644
index 0000000..2ff2372
--- /dev/null
+++ b/.config/sway/config.d/frmwrk-bindsym
@@ -0,0 +1,7 @@
+# brightness (requires brightnessctl)
+bindsym XF86MonBrightnessDown exec "brightnessctl -d amdgpu_bl1 s 5%-"
+bindsym XF86MonBrightnessUp exec "brightnessctl -d amdgpu_bl1 s +5%"
+# volume (requires wireplumber)
+bindsym --locked XF86AudioRaiseVolume exec "wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+"
+bindsym --locked XF86AudioLowerVolume exec "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
+bindsym --locked XF86AudioMute exec "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"