Skip to content

Instantly share code, notes, and snippets.

@kpettijohn
Last active March 3, 2018 06:03
Show Gist options
  • Save kpettijohn/672a93e1df9e5f721604 to your computer and use it in GitHub Desktop.
Save kpettijohn/672a93e1df9e5f721604 to your computer and use it in GitHub Desktop.
i3 notes for the Thinkpad X1 Carbon 3rd gen

Fn + F[1-12] keysym name

F1 XF86AudioMute
F2 XF86AudioLowerVolume
F3 XF86AudioRaiseVolume
F4 XF86AudioMicMute
F5 XF86MonBrightnessDown
F6 XF86MonBrightnessUp
F7 XF86Display
F8 XF86WLAN
F9 XF86Tools
F10 XF86Search
F11 XF86LaunchA
F12 XF86Explorer

pulseaudio-ctl

i3 Fn key bindings

dnf install xblacklight

Using pulseaudio-ctl

git clone https://github.com/graysky2/pulseaudio-ctl.git
cd pulseaudio-ctl
make
make install
mkdir -p ~/.config/pulseaudio-ctl
cp /usr/share/pulseaudio-ctl/config.skel ~/.config/pulseaudio-ctl/config
bindsym XF86AudioMute exec /usr/bin/pulseaudio-ctl mute
bindsym XF86AudioLowerVolume exec /usr/bin/pulseaudio-ctl down
bindsym XF86AudioRaiseVolume exec /usr/bin/pulseaudio-ctl up
bindsym XF86AudioMicMute exec /usr/bin/pulseaudio-ctl mute-input
bindsym XF86MonBrightnessDown exec xbacklight -dec 20
bindsym XF86MonBrightnessUp exec xbacklight -inc 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment