{
"layer": "top",
"height": 38,
"position": "top",
"modules-left": [
"niri/workspaces",
"mpd",
"niri/window"
],
"modules-center": [
],
"modules-right": [
"idle_inhibitor",
"custom/mullvad",
"custom/tailscale",
"wireplumber",
"custom/builds",
"power-profiles-daemon",
"battery",
"network",
"bluetooth",
"clock",
"tray",
"custom/power"
],
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "CAF",
"deactivated": "ZZZ"
}
},
"clock": {
"tooltip-format": "{:%Y %B}\n{calendar}",
"format-alt": "{:%Y-%m-%d}"
},
"battery": {
"states": {
"warning": 30,
"critical": 10
},
"format": "{capacity} {icon}",
"format-full": "{capacity} {icon}",
"format-charging": "{capacity} πΉ",
"format-plugged": "{capacity} π",
"format-alt": "{time} {icon}",
"format-icons": ["π"]
},
"network": {
"format-wifi": "{icon}",
"format-ethernet": "{ipaddr}/{cidr} ο",
"tooltip-format": "{essid} ({signalStrength}%) \n{ifname} via {gwaddr} ο\n{ipaddr}/{cidr}",
"format-linked": "{ifname} (No IP) ο",
"format-disconnected": "Disconnected β ",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"format-icons": ["β€", ":", "βΈͺ", "β"],
"on-click-right": "kitty nmtui"
},
"bluetooth": {
"format": "ο",
"format-disabled": "βΏ",
"format-off": "βΏ",
"on-click": "blueman-manager"
},
"custom/builds": {
"format": "{text}",
"exec": "~/AppConfig/waybar/sourcehut.sh",
"return-type": "json",
"on-click": "~/AppConfig/waybar/sourcehut.sh --popup",
"interval": 10,
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
"default": "β ",
"performance": "β ",
"balanced": "β",
"power-saver": "β"
}
},
"wireplumber": {
// "scroll-step": 1, // %, can be a float
"format": "{volume} {icon} {format_source}",
"format-bluetooth": "{volume} {icon}ο {format_source}",
"format-bluetooth-muted": "ΓΓ {icon}ο {format_source}",
"format-muted": "ΓΓ βΎ {format_source}",
"format-source": "{volume} β½",
"format-source-muted": "ΓΓ β½",
"format-icons": {
"headphone": "ο₯",
"hands-free": "ο",
"headset": "ο",
"phone": "ο",
"portable": "ο",
"car": "οΉ",
"default": ["βΎ"]
},
"on-click": "pavucontrol"
},
"custom/power": {
"format" : " β ",
"tooltip": false,
"menu": "on-click",
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
"menu-actions": {
"shutdown": "shutdown",
"reboot": "reboot",
"suspend": "systemctl suspend",
"hibernate": "systemctl hibernate"
}
},
"mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {title}",
"format-disconnected": "DSC",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}STP",
"unknown-tag": "N/A",
"interval": 5,
"timeout": "5",
"consume-icons": {
"on": "ο "
},
"random-icons": {
"off": "",
"on": "β―΄"
},
"repeat-icons": {
"on": "π"
},
"single-icons": {
"on": "π"
},
"state-icons": {
"paused": "PAUSE",
"playing": ""
},
"tooltip-format": "{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) βΈ¨{songPosition}|{queueLength}βΈ© {volume}%",
"tooltip-format-disconnected": "MPD (disconnected)"
},
"niri/language": {
"format": "{short}"
},
"custom/tailscale" : {
"exec": "~/.config/waybar/scripts/tailscale.sh --status",
"on-click": "exec ~/.config/waybar/scripts/tailscale.sh --toggle",
"exec-on-event": true,
"format": " {icon} ",
"format-icons": {
"connected": "Ξ€",
"stopped": " π "
},
"tooltip": true,
"return-type": "json",
"interval": 3,
},
"custom/mullvad" : {
"exec": "~/.config/waybar/scripts/mullvad.sh --status",
"on-click": "~/.config/waybar/scripts/mullvad.sh --toggle",
"exec-on-event": true,
"format": " {icon} ",
"format-icons": {
"connected": "β§",
"disconnected": "β€"
},
"tooltip": true,
"return-type": "json",
"interval": 3,
},
"tray": {
"spacing": 5,
"icons": {
"bitwarden": "/home/rbdr/.local/share/icons/Iconoir/pentagon.png",
"signal desktop": "/home/rbdr/.local/share/icons/Iconoir/hexagon.png",
"mullvad vpn": "/home/rbdr/.local/share/icons/Iconoir/rhombus.png",
"Betterbird-systray-icon": "/home/rbdr/.local/share/icons/Iconoir/rhombus.png",
"opensnitch-ui": "/home/rbdr/.local/share/icons/Iconoir/four-rhombuses.png",
}
}
}