155 lines
3.7 KiB
JSON
Executable File
155 lines
3.7 KiB
JSON
Executable File
{
|
|
"reload-style-on-change": true,
|
|
"layer": "top",
|
|
"position": "top",
|
|
"output": "HDMI-A-1",
|
|
"spacing": 0,
|
|
"height": 35,
|
|
"border-radius": 25,
|
|
|
|
"modules-left": ["niri/workspaces"],
|
|
"modules-center": [],
|
|
"modules-right": ["group/right"],
|
|
|
|
"group/right": {
|
|
"orientation": "inherit",
|
|
"modules": [
|
|
"clock"
|
|
]
|
|
},
|
|
|
|
"custom/active_window": {
|
|
"exec": "~/.config/waybar/window.sh",
|
|
"return-type": "json",
|
|
"markup": true
|
|
},
|
|
|
|
"niri/workspaces": {
|
|
"on-click": "activate",
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"default": "",
|
|
"active": "",
|
|
"urgent": "",
|
|
"empty": ""
|
|
},
|
|
"persistent-workspaces": {
|
|
"1": [],
|
|
"2": [],
|
|
"3": [],
|
|
"4": [],
|
|
"5": [],
|
|
"6": [],
|
|
"7": [],
|
|
"8": []
|
|
}
|
|
},
|
|
|
|
"custom/wbmenu": {
|
|
"format": "<span size='13500'></span>",
|
|
"on-click": "rofi -show drun -config ~/.config/rofi/gruvbox.rasi",
|
|
"on-click-right": "xdg-terminal-exec",
|
|
"tooltip-format": "Menu\n\nSuper + Return"
|
|
},
|
|
|
|
"cpu": {
|
|
"interval": 2,
|
|
"format": "{icon} ",
|
|
"format-icons": ["", "", "", "", "", "", "", ""]
|
|
},
|
|
|
|
"memory": {
|
|
"interval": 2,
|
|
"format": "{icon}",
|
|
"format-icons": ["", "", "", "", "", "", "", ""]
|
|
},
|
|
|
|
"clock": {
|
|
"format": " {:%I:%M %p • %a, %d/%m} ",
|
|
"format-alt": "{:%A, %d %B %Y}",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
|
},
|
|
|
|
"network": {
|
|
"format-icons": ["", "", "", "", ""],
|
|
"format": "{icon}",
|
|
"format-wifi": "{icon}",
|
|
"format-ethernet": "<span size='11500'></span>",
|
|
"format-disconnected": "<span size='11500'></span>",
|
|
"tooltip-format-wifi": "{essid} ({frequency} GHz)\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
|
"tooltip-format-ethernet": "⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
"interval": 3,
|
|
"spacing": 1
|
|
},
|
|
|
|
"battery": {
|
|
"format": "{capacity}% {icon}",
|
|
"format-discharging": "{icon}",
|
|
"format-charging": "{icon}",
|
|
"format-plugged": "",
|
|
"format-icons": {
|
|
"charging": ["", "", "", "", "", "", "", "", "", ""],
|
|
"default": ["", "", "", "", "", "", "", "", "", ""]
|
|
},
|
|
"format-full": "",
|
|
"tooltip-format-discharging": "{power:>1.0f}W↓ {capacity}%",
|
|
"tooltip-format-charging": "{power:>1.0f}W↑ {capacity}%",
|
|
"interval": 5,
|
|
"states": {
|
|
"warning": 20,
|
|
"critical": 10
|
|
}
|
|
},
|
|
|
|
"bluetooth": {
|
|
"format": "<span size='11500'></span>",
|
|
"format-disabled": "<span size='11500'></span>",
|
|
"format-connected": "<span size='11500'></span>",
|
|
"format-no-controller": "",
|
|
"tooltip-format": "Devices connected: {num_connections}"
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"format": "{icon}{volume}%",
|
|
"on-click-right": "pamixer -t",
|
|
"tooltip-format": "Playing at {volume}%",
|
|
"scroll-step": 5,
|
|
"format-muted": "",
|
|
"format-icons": {
|
|
"default": [" ", " ", " "]
|
|
}
|
|
},
|
|
|
|
"group/tray-expander": {
|
|
"orientation": "inherit",
|
|
"drawer": {
|
|
"transition-duration": 600,
|
|
"children-class": "tray-group-item"
|
|
},
|
|
"modules": ["custom/expand-icon", "tray"]
|
|
},
|
|
|
|
"custom/expand-icon": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
|
|
"tray": {
|
|
"icon-size": 16,
|
|
"spacing": 8
|
|
},
|
|
|
|
"custom/separator#blank": {
|
|
"format": " ",
|
|
"interval": "once",
|
|
"tooltip": false
|
|
},
|
|
|
|
"custom/separator#dot": {
|
|
"format": " ",
|
|
"interval": "once",
|
|
"tooltip": false
|
|
}
|
|
}
|