aboutsummaryrefslogtreecommitdiff
path: root/dot-config/yambar/config.yml
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2025-07-17 12:31:00 +0100
committerBlake Romero <blake@blkrom.com>2025-07-17 12:31:00 +0100
commit0305fff8aba742dfe0b6ae9fa75d03a8966b17d4 (patch)
treeae2fb92105aa671cbe9ec885da4cf18f61f10696 /dot-config/yambar/config.yml
parent4c954840680f72007054050493551b2c222a10f1 (diff)
Remove unnecessary anchor from yambar pipewire module
Diffstat (limited to 'dot-config/yambar/config.yml')
-rwxr-xr-xdot-config/yambar/config.yml18
1 files changed, 6 insertions, 12 deletions
diff --git a/dot-config/yambar/config.yml b/dot-config/yambar/config.yml
index 91d1bfa..40c0c17 100755
--- a/dot-config/yambar/config.yml
+++ b/dot-config/yambar/config.yml
@@ -91,12 +91,10 @@ battery: &battery
- string: {text: "{capacity}% 󰁹", foreground: *green}
pipewire: &pipewire
- anchors:
- pipewire-anchor: &pipewire-anchor
- margin: *margin
- foreground: *yellow
content:
map:
+ margin: *margin
+ foreground: *yellow
conditions:
type == "sink":
map:
@@ -104,15 +102,11 @@ pipewire: &pipewire
- ramp:
tag: cubic_volume
items:
- - string: {text: "{cubic_volume}% ", <<: *pipewire-anchor}
- - string: {text: "{cubic_volume}% ", <<: *pipewire-anchor}
- - string: {text: "{cubic_volume}% ", <<: *pipewire-anchor}
+ - string: {text: "{cubic_volume}% "}
+ - string: {text: "{cubic_volume}% "}
+ - string: {text: "{cubic_volume}% "}
conditions:
- muted:
- string:
- text: "mute "
- margin: *margin
- foreground: *red
+ muted: {string: {text: "mute ", foreground: *red}}
on-click:
left: *audiomixer
wheel-up: *volume-up