wofi/waybar

This commit is contained in:
2026-08-02 18:01:34 -05:00
parent b2ccf39d30
commit f24f57503a
2 changed files with 10 additions and 36 deletions
+4 -7
View File
@@ -37,19 +37,16 @@
"interval": 1 "interval": 1
}, },
"wireplumber#sink": { "wireplumber#sink": {
"format": "{icon} {volume}%", "format": "󰕾 {volume}%",
"format-muted": "\ueee8", "format-muted": "󰖁 {volume}%",
"format-icons": [
"\uefcf"
],
"on-click": "~/.config/waybar/scripts/select-sink.sh", "on-click": "~/.config/waybar/scripts/select-sink.sh",
"on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", "on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"scroll-step": 5 "scroll-step": 5
}, },
"wireplumber#source": { "wireplumber#source": {
"node-type": "Audio/Source", "node-type": "Audio/Source",
"format": "\uf130 {volume}%", "format": "󰍬 {volume}%",
"format-muted": "\uf131", "format-muted": "󰍭 {volume}%",
"on-click": "~/.config/waybar/scripts/select-source.sh", "on-click": "~/.config/waybar/scripts/select-source.sh",
"on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle", "on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
"scroll-step": 5 "scroll-step": 5
+6 -29
View File
@@ -1,5 +1,5 @@
* { * {
font-family: "UbuntuMono Nerd Font", monospace; font-family: "UbuntuMono Nerd Font";
font-size: 14px; font-size: 14px;
} }
@@ -9,23 +9,17 @@ window {
border: 2px solid #8caaee; border: 2px solid #8caaee;
} }
#outer-box {
margin: 10px;
}
#input { #input {
margin-bottom: 10px; margin: 10px 10px 10px 10px;
padding: 8px 10px; padding: 8px 10px;
background: #414559; background: #414559;
color: #c6d0f5; color: #c6d0f5;
border: none; border: none;
border-radius: 8px; border-radius: 8px;
} }
#scroll { #scroll {
margin: 0; margin: 0 10px 10px 10px;
} }
#entry { #entry {
@@ -43,7 +37,8 @@ window {
color: #c6d0f5; color: #c6d0f5;
} }
#entry:selected #text { #entry:selected #text,
#entry:selected label {
color: #8caaee; color: #8caaee;
} }
@@ -51,29 +46,11 @@ window {
margin-right: 8px; margin-right: 8px;
} }
label {
color: #c6d0f5;
}
image { image {
margin-right: 8px; margin-right: 8px;
} }
#entry { label {
background: transparent;
border-radius: 6px;
}
#entry:selected {
background: #51576d;
}
#entry:selected label,
#entry:selected #text {
color: #8caaee;
}
#text {
color: #c6d0f5; color: #c6d0f5;
} }