waybar recording indicator
This commit is contained in:
@@ -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": "🕵️",
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user