Add mic mute shortcut stuff to sway and waybar

This commit is contained in:
Trysdyn Black 2024-10-25 03:37:37 -07:00
parent 34f640c659
commit 7bea5a2cc1
2 changed files with 9 additions and 1 deletions

View file

@ -44,6 +44,9 @@ bindsym $mod+Shift+s exec "~/bin/screenshot"
# open the front door camera on win+shift+f
bindsym $mod+Shift+f exec "~/bin/view_frontdoor"
# mic mute toggle
bindsym $mod+Shift+m exec "~/bin/mic_mute"
# kill focused window
bindsym $mod+Shift+q kill

View file

@ -5,7 +5,7 @@
"height": 22,
"output": ["HEADLESS-1", "HDMI-A-2"],
"fixed-center": false,
"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad"],
"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/mic"],
"modules-center": [],
"modules-right": ["custom/oven", "custom/timer", "custom/maildir", "custom/nagios", "custom/weather", "custom/aqi", "memory", "cpu", "clock", "tray"],
"sway/scratchpad": {
@ -35,6 +35,11 @@
"critical": 90
}
},
"custom/mic": {
"exec": "$HOME/workspace/foxstatus/modules/mic.py",
"max-length": 7,
"interval": 15
},
"custom/aqi": {
"exec": "$HOME/workspace/foxstatus/modules/airnow.py",
"max-length": 20,