diff --git a/.config/sway/config b/.config/sway/config index ad3b401..985ded9 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -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 diff --git a/.config/waybar/config b/.config/waybar/config index f6c9d86..2439ce0 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -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,