2020-01-20 01:22:05 +00:00
|
|
|
###########################
|
|
|
|
# xbindkeys configuration #
|
|
|
|
###########################
|
|
|
|
#
|
|
|
|
# Version: 0.1.3
|
|
|
|
#
|
|
|
|
# If you edit this, do not forget to uncomment any lines that you change.
|
|
|
|
# The pound(#) symbol may be used anywhere for comments.
|
|
|
|
#
|
|
|
|
# A list of keys is in /usr/include/X11/keysym.h and in
|
|
|
|
# /usr/include/X11/keysymdef.h
|
|
|
|
# The XK_ is not needed.
|
|
|
|
#
|
|
|
|
# List of modifier (on my keyboard):
|
|
|
|
# Control, Shift, Mod1 (Alt), Mod2 (NumLock),
|
|
|
|
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
|
|
|
|
#
|
|
|
|
# Another way to specifie a key is to use 'xev' and set the
|
|
|
|
# keycode with c:nnn or the modifier with m:nnn where nnn is
|
|
|
|
# the keycode or the state returned by xev
|
|
|
|
#
|
|
|
|
# This file is created by xbindkey_config
|
|
|
|
# The structure is :
|
|
|
|
# # Remark
|
|
|
|
# "command"
|
|
|
|
# m:xxx + c:xxx
|
|
|
|
# Shift+...
|
|
|
|
|
|
|
|
#keystate_numlock = enable
|
|
|
|
#keystate_scrolllock = enable
|
|
|
|
#keystate_capslock = enable
|
|
|
|
|
2021-12-19 15:05:59 +00:00
|
|
|
# SETUP INSTRUCTIONS:
|
|
|
|
# Run `xbindkeys --key` and press a key to get the output
|
|
|
|
# Place the output under the correspondng action to trigger for that key press
|
|
|
|
# Useful for configuring media keys for laptops; They all differ
|
|
|
|
# These settings are for a Dell XPS 13 9310
|
2020-01-20 01:22:05 +00:00
|
|
|
|
|
|
|
#Volume Up
|
|
|
|
"pactl set-sink-volume @DEFAULT_SINK@ +10%"
|
2021-12-19 15:05:59 +00:00
|
|
|
m:0x0 + c:123
|
|
|
|
XF86AudioRaiseVolume
|
2020-01-20 01:22:05 +00:00
|
|
|
|
|
|
|
#Volume Down
|
|
|
|
"pactl set-sink-volume @DEFAULT_SINK@ -10%"
|
2021-12-19 15:05:59 +00:00
|
|
|
m:0x0 + c:122
|
|
|
|
XF86AudioLowerVolume
|
2020-01-20 01:22:05 +00:00
|
|
|
|
|
|
|
#Toggle Audio
|
|
|
|
"pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
2021-12-19 15:05:59 +00:00
|
|
|
m:0x0 + c:121
|
|
|
|
XF86AudioMute
|
2020-01-20 01:22:05 +00:00
|
|
|
|
|
|
|
#Brightness Up
|
2021-12-19 15:05:59 +00:00
|
|
|
"brightnessctl s +2.5%"
|
|
|
|
m:0x0 + c:233
|
|
|
|
XF86MonBrightnessUp
|
2020-01-20 01:22:05 +00:00
|
|
|
|
|
|
|
#Brightness Down
|
2021-12-19 15:05:59 +00:00
|
|
|
"brightnessctl s 2.5%-"
|
|
|
|
m:0x0 + c:232
|
|
|
|
XF86MonBrightnessDown
|
2020-01-20 01:22:05 +00:00
|
|
|
|
|
|
|
# End of xbindkeys configuration
|