1
0

waybar recording indicator

This commit is contained in:
2023-11-25 19:46:41 +01:00
parent 6c8b13ecc9
commit eac6fb1f27
2 changed files with 13 additions and 1 deletions
+8 -1
View File
@@ -4,13 +4,20 @@
"spacing": 0, "spacing": 0,
"modules-left": ["hyprland/workspaces"], "modules-left": ["hyprland/workspaces"],
"modules-center": ["clock"], "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": { "hyprland/workspaces": {
"format": "{name}", "format": "{name}",
"all-outputs": false, "all-outputs": false,
"on-click": "activate", "on-click": "activate",
"sort-by-number": true "sort-by-number": true
}, },
"custom/recording": {
"format": "●",
"exec": "pgrep wf-recorder",
"format-icons": ["", "O"],
"exec-if": "pgrep wf-recorder",
"interval": 1
},
"network": { "network": {
"interface": "moz0", "interface": "moz0",
"format": "🕵️", "format": "🕵️",
+5
View File
@@ -49,6 +49,7 @@ window {
#disk, #disk,
#idle_inhibitor, #idle_inhibitor,
#custom-gpu, #custom-gpu,
#custom-recording,
#network, #network,
#wireplumber #wireplumber
{ {
@@ -56,6 +57,10 @@ window {
color: @foreground; color: @foreground;
} }
#custom-recording {
color: red;
}
#clock { #clock {
background-color: alpha(@background, 0.8); background-color: alpha(@background, 0.8);
padding: 0 20px 5px 20px; padding: 0 20px 5px 20px;