diff --git a/roles/xbindkeys/files/.xbindkeysrc b/roles/xbindkeys/files/.xbindkeysrc deleted file mode 100644 index 3d8286c..0000000 --- a/roles/xbindkeys/files/.xbindkeysrc +++ /dev/null @@ -1,71 +0,0 @@ -# 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 - - -################################## -# End of xbindkeys configuration # -################################## diff --git a/roles/xbindkeys/files/xbindkeys.sh b/roles/xbindkeys/files/xbindkeys.sh deleted file mode 100644 index cf2f2b8..0000000 --- a/roles/xbindkeys/files/xbindkeys.sh +++ /dev/null @@ -1 +0,0 @@ -xbindkeys & diff --git a/roles/xbindkeys/files/xbindkeysrc b/roles/xbindkeys/files/xbindkeysrc deleted file mode 100644 index b2f716a..0000000 --- a/roles/xbindkeys/files/xbindkeysrc +++ /dev/null @@ -1,74 +0,0 @@ -# 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 # -################################## diff --git a/roles/xbindkeys/tasks/main.yml b/roles/xbindkeys/tasks/main.yml deleted file mode 100644 index 8173f62..0000000 --- a/roles/xbindkeys/tasks/main.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- name: Configure xbindkeys - copy: - src: xbindkeysrc - dest: ~/.xbindkeysrc - backup: yes - -- name: Init xbindkeys in .xprofile - copy: - src: xbindkeys.sh - dest: ~/.xprofile.d/