From 574afea89504d2ed2f43a3ca9d9d1c5926f477d7 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 29 Apr 2019 15:52:49 +0200 Subject: [PATCH] Set up function keys for i3 --- .config/i3/config | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/i3/config b/.config/i3/config index 4e0186c..a44e762 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -196,5 +196,14 @@ bindsym $mod+Shift+s exec --no-startup-id `[ $(printf "NO\nYES" | dmenu \ # lock i3 screen bindsym $mod+Shift+p exec i3lock +# enable function (/media) key functionality +# TODO: set up next song, previous song, pause, etc +# see: https://www.reddit.com/r/i3wm/comments/3a6nh3/help_how_to_use_function_keys_in_i3_config/ +bindsym XF86MonBrightnessUp exec `xbacklight -inc 10` +bindsym XF86MonBrightnessDown exec `xbacklight -dec 10` +bindsym XF86AudioMute exec `pulsemixer --toggle-mute` +bindsym XF86AudioRaiseVolume exec `pulsemixer --change-volume +5` +bindsym XF86AudioLowerVolume exec `pulsemixer --change-volume -5` + # set a pretty wallpaper exec_always --no-startup-id feh --bg-scale ~/Pictures/wall.jpg