feat(waybar): add section for audio device
This commit is contained in:
parent
485c8024f6
commit
32932b2d60
@ -9,6 +9,7 @@
|
||||
"memory",
|
||||
"battery",
|
||||
"disk",
|
||||
"custom/audio-device",
|
||||
"custom/pipewire"
|
||||
],
|
||||
"modules-center": [
|
||||
@ -75,6 +76,13 @@
|
||||
"max-length": 20,
|
||||
"min-length": 14
|
||||
},
|
||||
"custom/audio-device": {
|
||||
"tooltip": false,
|
||||
"min-length": 20,
|
||||
"interval": 1,
|
||||
"format": " {}",
|
||||
"exec": "wpctl status | grep -m 1 '*' | cut -d '.' -f2 | cut -d '[' -f1 | xargs"
|
||||
},
|
||||
"custom/pipewire": {
|
||||
"format": "{icon} {percentage}%",
|
||||
"return-type": "json",
|
||||
|
@ -69,6 +69,14 @@
|
||||
color: @fujiWhite;
|
||||
}
|
||||
|
||||
#custom-audio-device {
|
||||
background: @sumiInk0;
|
||||
border-top: 2px solid @oniViolet;
|
||||
border-left: 2px solid @oniViolet;
|
||||
color: @fujiWhite;
|
||||
}
|
||||
|
||||
|
||||
#custom-sway-mode {
|
||||
background: @sumiInk0;
|
||||
border-bottom: 2px solid @oniViolet;
|
||||
|
Loading…
x
Reference in New Issue
Block a user