diff options
| -rw-r--r-- | dot-config/waybar/modules.jsonc | 11 | ||||
| -rw-r--r-- | dot-config/waybar/style.css | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dot-config/waybar/modules.jsonc b/dot-config/waybar/modules.jsonc index 9b451780..59b4d5bb 100644 --- a/dot-config/waybar/modules.jsonc +++ b/dot-config/waybar/modules.jsonc @@ -237,6 +237,7 @@ // }, "group/small-utils": { "modules": [ + "custom/ac", "custom/gpu-screen-recorder", "custom/toggle-mic", "custom/toggle-cam", @@ -302,6 +303,16 @@ "on-click-right": "$HOME/scripts/rec.sh pause", "signal": 3 }, + "custom/ac": { + "format": "{}", + "interval": "once", + "exec": "$HOME/scripts/flipper-ac.py status", + "tooltip": false, + "on-click": "$HOME/scripts/flipper-ac.py toggle", + "on-click-middle": "$HOME/scripts/flipper-ac.py on", + "on-click-right": "$HOME/scripts/flipper-ac.py off", + "signal": 6 + }, "group/misc": { "orientation": "horizontal", "modules": [ diff --git a/dot-config/waybar/style.css b/dot-config/waybar/style.css index 3a6ec9d8..a00b9942 100644 --- a/dot-config/waybar/style.css +++ b/dot-config/waybar/style.css @@ -68,6 +68,7 @@ #clock, #custom-gpu-screen-recorder, +#custom-ac, #custom-toggle-mic, #custom-toggle-cam, #custom-warp-vpn, |
