1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-12-03 16:58:16 +01:00
eoli3n-dotfiles/roles/xbindkeys/files/xbindkeysrc
2020-03-29 13:51:12 +02:00

75 lines
1.7 KiB
Bash

# For the benefit of emacs users: -*- shell-script -*-
###########################
# xbindkeys configuration #
###########################
#
# Version: 1.8.6
#
# If you edit this file, do not forget to uncomment any lines
# that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# To specify a key, you can use 'xbindkeys --key' or
# 'xbindkeys --multikey' and put one of the two lines in this file.
#
# The format of a command line is:
# "command to start"
# associated key
#
#
# 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:
# Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# The release modifier is not a standard X modifier, but you can
# use it if you want to catch release events instead of press events
# By defaults, xbindkeys does not pay attention with the modifiers
# NumLock, CapsLock and ScrollLock.
# Uncomment the lines above if you want to pay attention to them.
#keystate_numlock = enable
#keystate_capslock = enable
#keystate_scrolllock= enable
"amixer set Master toggle"
m:0x0 + c:121
XF86AudioMute
"amixer set Master 5%-"
m:0x0 + c:122
XF86AudioLowerVolume
"amixer set Master 5%+"
m:0x0 + c:123
XF86AudioRaiseVolume
"light -U 5"
m:0x0 + c:232
XF86MonBrightnessDown
"light -A 5"
m:0x0 + c:233
XF86MonBrightnessUp
"maim -s -d2"
m:0x10 + c:107
Mod2 + Print
"xdotool click --clearmodifiers 2"
m:0x10 + c:135
Mod2 + Menu
"amixer set Capture toggle"
m:0x10 + c:198
Mod2 + XF86AudioMicMute
##################################
# End of xbindkeys configuration #
##################################