diff --git a/.config/waybar/hypr-config b/.config/waybar/hypr-config index 8a683ed..656b833 100644 --- a/.config/waybar/hypr-config +++ b/.config/waybar/hypr-config @@ -4,13 +4,20 @@ "spacing": 0, "modules-left": ["hyprland/workspaces"], "modules-center": ["clock"], - "modules-right": ["wireplumber", "custom/gpu", "cpu", "disk", "disk#sda", "idle_inhibitor", "tray", "network"], + "modules-right": ["custom/recording", "custom/gpu", "cpu", "disk", "disk#sda", "idle_inhibitor", "tray", "network"], "hyprland/workspaces": { "format": "{name}", "all-outputs": false, "on-click": "activate", "sort-by-number": true }, + "custom/recording": { + "format": "●", + "exec": "pgrep wf-recorder", + "format-icons": ["", "O"], + "exec-if": "pgrep wf-recorder", + "interval": 1 + }, "network": { "interface": "moz0", "format": "🕵️", diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 204b0fb..6b7980b 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -49,6 +49,7 @@ window { #disk, #idle_inhibitor, #custom-gpu, +#custom-recording, #network, #wireplumber { @@ -56,6 +57,10 @@ window { color: @foreground; } +#custom-recording { + color: red; +} + #clock { background-color: alpha(@background, 0.8); padding: 0 20px 5px 20px;