config/wm/dot-config/waybar/config.jsonc

93 lines
No EOL
2.6 KiB
JSON

{
// make sure this renders above all non-fullscreen windows
"layer": "top",
// modules
"modules-left": [
"niri/workspaces",
"niri/window"
],
"modules-center": [
"clock"
],
"modules-right": [
"privacy",
"gamemode",
"tray",
"idle_inhibitor",
"battery",
"wireplumber",
"bluetooth",
"network"
],
// config
"niri/workspaces": {
"format": "{icon}{name}",
"format-icons": {
"web": " ",
"chat": " "
}
},
"niri/window": {
// "format": "{app_id} | {title}"
},
"clock": {
"format": "{:%a %R}",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode": "month",
"weeks-pos": "right",
"format": {
"months": "<span color='#9ece6a'><b>{}</b></span>",
"days": "<span color='#a9b1d6'><b>{}</b></span>",
"weeks": "<span color='#f7768e'><b>W{}</b></span>",
"weekdays": "<span color='#7aa2f7'><b>{}</b></span>",
"today": "<span color='#bb9af7'><b><u>{}</u></b></span>"
}
}
},
"privacy": {
"icon-size": 13,
"icon-spacing": 5
},
"gamemode": {
"icon-size": 13
},
"tray": {
"reverse-direction": true,
"show-passive-items": true,
"spacing": 5
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"wireplumber": {
"format": "{icon} {volume}%",
"format-icons": [
"",
"",
" "
],
"format-muted": "",
"on-click": "pavucontrol",
"on-click-right": "helvum"
},
"bluetooth": {
"format": "",
"format-connected": " {num_connections}",
"format-disabled": "",
"tooltip-format": "{controller_alias} <tt>{controller_address}</tt>",
"tooltip-format-connected": "{controller_alias} <tt>{controller_address}</tt>\n\n{num_connections} connected:\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias} <tt>{device_address}</tt>"
},
"network": {
"format-disconnected": "Disconnected",
"format-ethernet": "",
"format-wifi": " {essid}",
"tooltip-format-ethernet": "{ipaddr}/{cidr} via {ifname}",
"tooltip-format-wifi": "{ipaddr}/{cidr} via {ifname}\n{signalStrength}% signal"
}
}