about summary refs log tree commit diff
path: root/configs/desktop/misc/.config/i3/config.device
diff options
context:
space:
mode:
Diffstat (limited to 'configs/desktop/misc/.config/i3/config.device')
-rw-r--r--configs/desktop/misc/.config/i3/config.device14
1 files changed, 14 insertions, 0 deletions
diff --git a/configs/desktop/misc/.config/i3/config.device b/configs/desktop/misc/.config/i3/config.device
new file mode 100644
index 000000000000..f46c5cf93c22
--- /dev/null
+++ b/configs/desktop/misc/.config/i3/config.device
@@ -0,0 +1,14 @@
+# Desktop-specific configuration
+
+# Since the keyboard for my desktop doesn't support XFree86 keysyms, prefer
+# alternative KBDs.
+
+# volume controls
+bindsym F1 exec --no-startup-id pactl set-sink-mute   @DEFAULT_SINK@ toggle # same Fn keys as laptop
+bindsym F2 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10%   # same Fn keys as laptop
+bindsym F3 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10%   # same Fn keys as laptop
+
+# playback controls
+bindsym F4 exec --no-startup-id playerctl previous   # same Fn keys as laptop
+bindsym F5 exec --no-startup-id playerctl play-pause # same Fn keys as laptop
+bindsym F6 exec --no-startup-id playerctl next       # same Fn keys as laptop