Add push-to-talk with Control_R key

This commit is contained in:
Anthony Rose 2020-06-23 11:10:23 +01:00
parent 54b2b1c651
commit e8c012b9a4
2 changed files with 11 additions and 0 deletions

View 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

View file

@ -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"