{
"group/left" : {
"orientation": "horizontal",
"modules" : [
"hyprland/workspaces",
"mpris"
]
},
"group/left-hidden" : {
"orientation": "horizontal",
"modules" : [
"battery", "cpu", "load"
]
},
"group/left-hidden-top" : {
"orientation": "horizontal",
"modules" : [ "power-profiles-daemon", "group/left-hidden" ]
},
"group/right" : {
"orientation": "horizontal",
"modules" : [
"bluetooth", "group/group-volume", "group/group-backlight", "network", "tray"
]
},
"group/right-hidden" : {
"orientation": "horizontal",
"modules" : [
"memory", "temperature"
]
},
"group/right-hidden-top" : {
"orientation": "horizontal",
"modules" : [ "group/right-hidden", "custom/ctlcenter" ]
},
"hyprland/workspaces": {
"format": "{icon}",
"on-scroll-down": "hyprctl dispatch \"hl.dsp.focus({workspace = 'e+1'}\")",
"on-scroll-up": "hyprctl dispatch \"hl.dsp.focus({workspace = 'e-1'}\")",
"persistent-workspaces": { "*": 5 },
"format-icons": {
"active": "",
"persistent": "",
"empty": ""
}
},
"mango/workspaces": {
"format": "{icon}",
"format-icons": {
"active": "",
"default": "",
"empty": ""
},
"num-tags": 10,
"on-click": "activate",
"overview-label": ""
},
"niri/workspaces": {
"format": "{icon}",
"on-scroll-up": "niri msg action focus-workspace-up",
"on-scroll-down": "niri msg action focus-workspace-down",
"hide-empty": true,
"format-icons": {
"active": "",
"default": "",
"empty": ""
}
},
"hyprland/window" : {
"max-length": 45
},
"cpu": {
"interval": 30,
"format":" {usage}%",
"states": {
"warning": 80,
"critical": 90
}
},
"tray" : {
"icon-size": 13,
"spacing": 12
},
"load": {
"interval": 30,
"format": " {load1}%"
},
"memory": {
"interval": 10,
"format": " {used:0.1f}G/{total:0.1f}G",
"states": {
"warning": 80,
"critical": 90
}
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°",
"critical-threshold": 90,
"format-icons": ["","","","",""]
},
"backlight": {
"scroll-step" : 2,
"format": "{icon}",
"tooltip-format" : "{percent}%",
"format-icons": [ "", "", "", "" ]
},
"pulseaudio": {
"format": "{icon}",
"format-bluetooth": "{icon}",
"tooltip-format": "{volume}%",
"format-muted": "",
"scroll-step": 2,
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
"on-click-right": "mmsg dispatch spawn, pavucontrol -t 4",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": [
"",
"",
"",
""
]
}
},
"pulseaudio/slider": {
"min": 0,
"max": 100,
"on-click-right": "hyprctl eval \"hl.exec_cmd('pavucontrol -t 4')\""
},
"backlight/slider": {
"min": 5,
"max": 100
},
"network": {
"interval": 10,
"format-disabled": "",
"format-disconnected": "",
"format-wifi": "",
"format-ethernet": "",
"tooltip-format": "{essid}\n\nFrequency: {frequency}GHz\nStrength: {signalStrength}%\n\n{bandwidthUpBytes} {bandwidthDownBytes}",
"tooltip-format-ethernet": "{bandwidthUpBytes} {bandwidthDownBytes}",
"tooltip-format-disconnected": "No network connection!",
"tooltip-format-disabled": "No network connection!",
"on-click": "[[ $(nmcli radio wifi) == enabled ]] && nmcli radio wifi off || nmcli radio wifi on",
"menu": "on-click-right",
"menu-file": "~/.config/waybar/context/network.xml",
"menu-actions": {
"action-1": "~/.local/bin/toggle_rofi ~/.config/rofi/bin/wifi &",
"action-2": "mmsg dispatch spawn, alacritty -e nmtui",
"action-3": "mmsg dispatch spawn, nm-connection-editor"
}
},
"bluetooth": {
"format": "{}",
"format-on": "",
"format-off": "",
"format-disabled": "",
"format-connected": "{device_alias}",
"format-connected-battery": "{device_alias}",
"tooltip-format": "{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}",
"tooltip-format-enumerate-connected-battery": "{device_alias} {device_battery_percentage}%",
"on-click": "~/.local/bin/toggle_bluetooth &",
"on-click-right": "hyprctl eval \"hl.exec_cmd('blueman-manager')\""
},
"battery": {
"interval": 20,
"full-at": 100,
"tooltip": true,
"format-full": "",
"format": "{icon} {capacity}%",
"format-time": "{H}:{M:02}",
"format-charging": " {capacity}% ({time})",
"format-icons": ["", "", "", "", "", "", "", "", ""],
"states": {
"warning": 30,
"critical": 15
}
},
"clock": {
"timezone": "America/Toronto",
"tooltip-format": "{calendar}",
"format-alt": "{:%H:%M %d %B %Y}",
"on-click-right": "hyprctl eval \"hl.exec_cmd('alacritty --class=peaclock -e peaclock')\"",
"calendar": {
"mode": "year",
"weeks-pos": "right",
"mode-mon-col": 3,
"format": {
"months": "{}",
"weeks": "W{}",
"weekdays": "{}",
"days": "{}",
"today": "{}"
}
}
},
"mpris": {
"format": "{artist} - {title}",
"tooltip-format" : "{album}",
"format-paused": " {artist} - {title}",
"on-click": "playerctl play-pause",
"on-scroll-up": "playerctl previous",
"on-scroll-down": "playerctl next",
"max-length": 45
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}",
"format-icons": {
"performance": "",
"balanced": "",
"power-saver": ""
}
},
"custom/start": {
"format": "",
"on-click": "~/.local/bin/toggle_rofi ~/.config/rofi/bin/drun &"
},
"custom/ctlcenter" : {
"tooltip" : false,
"format" : "",
"on-click" : "swaync-client -t",
"menu": "on-click-right",
"menu-file": "~/.config/waybar/context/ctlcenter.xml",
"menu-actions": {
"action-1-1": "hyprctl eval \"hl.exec_cmd('alacritty -e htop')\"",
"action-1-2": "hyprctl eval \"hl.exec_cmd('alacritty -e nvtop')\"",
"action-1-3": "hyprctl eval \"hl.exec_cmd('alacritty -e pkexec powertop')\"",
"action-1-4": "hyprctl eval \"hl.exec_cmd('missioncenter' )\"",
"action-2-1": "hyprctl eval \"hl.exec_cmd('nwg-look')\"",
"action-2-2": "hyprctl eval \"hl.exec_cmd('qt6ct')\"",
"action-2-3": "hyprctl eval \"hl.exec_cmd('kvantummanager')\"",
"action-3-1": "~/.local/bin/refreshrate 60",
"action-3-2": "~/.local/bin/refreshrate 90",
"action-3-3": "~/.local/bin/refreshrate 144",
"action-4-1": "~/.local/bin/caffeine shutdown",
"action-4-2": "~/.local/bin/caffeine handle-lid-switch",
"action-5": "~/.local/bin/powersafe",
"action-6": "hyprctl reload"
}
},
"custom/arrow-left": {
"format": "",
"tooltip": false
},
"custom/arrow-right": {
"format": "",
"tooltip": false
},
"group/group-volume": {
"orientation": "horizontal",
"drawer": {
"transition-duration": 600,
"transition-left-to-right": true,
"reveal-delay": 450
},
"modules" : [
"pulseaudio", "pulseaudio/slider"
]
},
"group/group-backlight": {
"orientation": "horizontal",
"drawer": {
"transition-duration": 600,
"transition-left-to-right": true,
"reveal-delay": 450
},
"modules" : [
"backlight", "backlight/slider"
]
}
}