// Add "custom/nextcloud" to your "modules-right" array in ~/.config/waybar/config, // e.g.: // "modules-right": ["custom/player", "custom/nextcloud", "custom/bright", "custom/net", "custom/vol", "custom/bat", "custom/bt", "clock"], "custom/nextcloud": { "exec": "~/.local/bin/nextcloud-niri waybar", "return-type": "json", "markup": "pango", "tooltip": true, "interval": 30, "signal": 7, "on-click": "~/.local/bin/nextcloud-niri sync", "on-click-right": "~/.local/bin/nextcloud-niri toggle" }