dot/.xbindkeysrc

65 lines
1.5 KiB
Plaintext

###########################
# 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
# 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
#Volume Up
"amixer set Master 5%+"
m:0x0 + c:123
XF86AudioRaiseVolume
#Volume Down
"amixer set Master 1%-"
m:0x0 + c:122
XF86AudioLowerVolume
#Toggle Audio
"pactl set-sink-mute @DEFAULT_SINK@ toggle"
m:0x0 + c:121
XF86AudioMute
#Brightness Up
"brightnessctl s +2.5%"
m:0x0 + c:233
XF86MonBrightnessUp
#Brightness Down
"brightnessctl s 2.5%-"
m:0x0 + c:232
XF86MonBrightnessDown
# End of xbindkeys configuration