omarchy
omarchy copied to clipboard
add visual feedback for super + mute + fix
- show visual feedback (device name, volume icon)
- prevents switching to the same sink, as it prevents a device from reacquiring the audio output when it reconnects
[ "$next_sink_name" != "$current_sink_name" ] && {
pactl set-default-sink "$next_sink_name"
}
75% done. but let me advocate for the icons:
- swayosd uses the same icon for mute=true and volume=0
- there is no icon for "not muted"
- 4 loc
- looks nice
- harms nothing
https://github.com/ErikReider/SwayOSD/blob/main/src/server/osd_window.rs#L116-L127