Add push-to-talk with Control_R key
This commit is contained in:
parent
54b2b1c651
commit
e8c012b9a4
2 changed files with 11 additions and 0 deletions
7
roles/home-gui/files/xbindkeysrc
Normal file
7
roles/home-gui/files/xbindkeysrc
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Load with xbindkeys. Use "xbindkeys -n" to avoid forking.
|
||||||
|
|
||||||
|
"/usr/bin/amixer set Capture cap"
|
||||||
|
Control_R
|
||||||
|
|
||||||
|
"/usr/bin/amixer set Capture nocap"
|
||||||
|
Control+Mod2 + Control_R + Release
|
|
@ -35,3 +35,7 @@
|
||||||
template:
|
template:
|
||||||
src: todo.desktop
|
src: todo.desktop
|
||||||
dest: "{{ ansible_env.HOME }}/.local/share/applications/todo.desktop"
|
dest: "{{ ansible_env.HOME }}/.local/share/applications/todo.desktop"
|
||||||
|
- name: Copy .xbindkeysrc
|
||||||
|
copy:
|
||||||
|
src: "xbindkeysrc"
|
||||||
|
dest: "{{ ansible_env.HOME }}/.xbindkeysrc"
|
||||||
|
|
Loading…
Reference in a new issue