Revamp pulseaudio module

This commit is contained in:
Salt 2024-04-23 21:16:16 -05:00
parent df58feb9c9
commit 6ee3b04bcf
2 changed files with 8 additions and 13 deletions

View File

@ -71,22 +71,13 @@
"format": " {bandwidthUpBytes}  {bandwidthDownBytes}"
},
"pulseaudio": {
"scroll-step": 0,
"scroll-step": 5,
"format": "{icon} {volume}%",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": "MUTE {icon} {format_source}",
"format-muted": "M {format_source}",
"format-source": "{volume}%",
"format-source-muted": "M",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol-qt"
"on-scroll-up": "/usr/libexec/sway/volume-helper --limit 100 --increase 5",
"on-scroll-down": "/usr/libexec/sway/volume-helper --limit 100 --decrease 5",
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle && /usr/libexec/sway/volume-helper"
}
}

View File

@ -52,6 +52,10 @@ window#waybar {
padding: 0 1em;
color: #ebdbb2;
}
#pulseaudio.muted {
border-top: 4px solid #fb4934;
border-bottom: 4px solid #282828;
}
#tray {
padding: 0 1em;
}