Add single-key support for screenshot and mute
- Add printscreen and scroll_lock as keys for screenshot and mic_mute - Add waynergy config support for rewriting the printscreen keycode to the code evdev xkb map expects
This commit is contained in:
parent
aea72b2250
commit
47a2a163d6
2 changed files with 5 additions and 2 deletions
|
@ -38,13 +38,15 @@ bar swaybar_command waybar
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec x-terminal-emulator
|
bindsym $mod+Return exec x-terminal-emulator
|
||||||
|
|
||||||
# screenshot on win+shift+s
|
# screenshot on win+shift+s and printscreen
|
||||||
|
bindsym Print exec "~/bin/screenshot"
|
||||||
bindsym $mod+Shift+s exec "~/bin/screenshot"
|
bindsym $mod+Shift+s exec "~/bin/screenshot"
|
||||||
|
|
||||||
# open the front door camera on win+shift+f
|
# open the front door camera on win+shift+f
|
||||||
bindsym $mod+Shift+f exec "~/bin/view_frontdoor"
|
bindsym $mod+Shift+f exec "~/bin/view_frontdoor"
|
||||||
|
|
||||||
# mic mute toggle
|
# mic mute toggle on win+shift+m and ScrollLock
|
||||||
|
bindsym Scroll_Lock exec "~/bin/mic_mute"
|
||||||
bindsym $mod+Shift+m exec "~/bin/mic_mute"
|
bindsym $mod+Shift+m exec "~/bin/mic_mute"
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
|
|
|
@ -33,6 +33,7 @@ offset_on_explicit = false
|
||||||
347 = 133 #WIN
|
347 = 133 #WIN
|
||||||
312 = 108 #RALT
|
312 = 108 #RALT
|
||||||
349 = 135 #MENU
|
349 = 135 #MENU
|
||||||
|
311 = 218 #PRINT
|
||||||
|
|
||||||
284 = 104 #KPEN
|
284 = 104 #KPEN
|
||||||
325 = 77 #NMLK
|
325 = 77 #NMLK
|
||||||
|
|
Loading…
Add table
Reference in a new issue