this post was submitted on 29 Jul 2026
28 points (100.0% liked)
Unixporn
19739 readers
40 users here now
Unixporn
Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make themers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be!
Rules
- Post On-Topic
- No Defaults
- Busy Screenshots
- Use High-Quality Images
- Include a Details Comment
- No NSFW
- No Racism or use of racist terms
founded 7 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is so nice, I'm currently switching from garuda/hyprland to cachyOS/niri and redoing my whole DE in the process
I've used barify with mako before to do something similar but I would love if you could share how you did this because it look much better
basically every time I change volume or brightness Niri will call Waybar to spawn with its own config and style (it has to be a separate config and style or it will be a nightmare manage) to show up and use flock to stop Waybar from spamming/running again if it already running with the same spawn command here is my Niri keybind (if you wanna make your own you only have to edit file path to your waybar osd config and waybar style css and change "1%" for how much you want volume to change each time) :
---this is my waybar config for osd (you can use any module you want):
{ "layer": "overlay", "position": "bottom", "margin-bottom": 100, "height": 33, "spacing" : 0, "exclusive": false, "passthrough": false, "width": 200,
"modules-left": [
],
"modules-center": [
],
"modules-right": [
],
"pulseaudio/slider": { "min": 0, "max": 100, "orientation": "horizontal" },
"wireplumber": { "format": "{icon} {volume}%", "format-muted": "", "format-icons": { "default": ["", "", " "] }, "on-click": "easyeffects", },
"mpris": { "format": "{player_icon} {dynamic}", "format-paused": "{status_icon} {dynamic}", "player-icons": { "default": "▶", "mpv": "🎵" }, "status-icons": { "paused": "", }, // "ignored-players": ["firefox"] "interval": 1, },
},
},
},
"custom/exit": { "format": "", "on-click": "sh /home/coldwater/.config/waybar/scripts/exit.sh", },
"custom/name": { "format": "Media Control", },
"mpris": { "format": "{player_icon} {artist} - {title}", "format-paused": "{player_icon} {artist} - {title}", "max-length": 40, },
}
What about spawning once and for all? It would hide on startup. Then keypress shows it and starts the timer to rehide it. Then you wouldn't have to worry about process management with flock. Each keypress just sets it to visible (which is fine if.it's already visible) and restarts the timer.
You could use your daemon manager (systemd most commonly) to manage the process.
Just a thought. In any event, looks quite cool and I'll give it a try 😃
sorry for giant text dump as I don't know how to explain it better than this, you can download my config instead if you wanted https://filebin.net/15u7piyurnl5klr5
Thx a lot, i've glanced over it but it look quite clear, I will thinker with it tonight while tweaking my system