Add mic mute shortcut stuff to sway and waybar
This commit is contained in:
parent
34f640c659
commit
7bea5a2cc1
2 changed files with 9 additions and 1 deletions
|
@ -44,6 +44,9 @@ 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
|
||||||
|
bindsym $mod+Shift+m exec "~/bin/mic_mute"
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"height": 22,
|
"height": 22,
|
||||||
"output": ["HEADLESS-1", "HDMI-A-2"],
|
"output": ["HEADLESS-1", "HDMI-A-2"],
|
||||||
"fixed-center": false,
|
"fixed-center": false,
|
||||||
"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad"],
|
"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/mic"],
|
||||||
"modules-center": [],
|
"modules-center": [],
|
||||||
"modules-right": ["custom/oven", "custom/timer", "custom/maildir", "custom/nagios", "custom/weather", "custom/aqi", "memory", "cpu", "clock", "tray"],
|
"modules-right": ["custom/oven", "custom/timer", "custom/maildir", "custom/nagios", "custom/weather", "custom/aqi", "memory", "cpu", "clock", "tray"],
|
||||||
"sway/scratchpad": {
|
"sway/scratchpad": {
|
||||||
|
@ -35,6 +35,11 @@
|
||||||
"critical": 90
|
"critical": 90
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"custom/mic": {
|
||||||
|
"exec": "$HOME/workspace/foxstatus/modules/mic.py",
|
||||||
|
"max-length": 7,
|
||||||
|
"interval": 15
|
||||||
|
},
|
||||||
"custom/aqi": {
|
"custom/aqi": {
|
||||||
"exec": "$HOME/workspace/foxstatus/modules/airnow.py",
|
"exec": "$HOME/workspace/foxstatus/modules/airnow.py",
|
||||||
"max-length": 20,
|
"max-length": 20,
|
||||||
|
|
Loading…
Add table
Reference in a new issue