{
"position": "top",
"layer": "top",
"spacing": 0,
"margin": 0,
"reload_style_on_change": true,
"modules-left": [
"custom/logo",
"hyprland/workspaces"
],
"modules-center": [
"hyprland/window",
"clock",
"custom/media"
],
"modules-right": [
"tray",
"pulseaudio",
"bluetooth",
"network",
"custom/notifications"
],
"hyprland/workspaces": {
"all-outputs": true,
"format": "{icon}",
"show-special": true,
"format-icons": {
"urgent": "",
"focused": "",
"active": "",
"default": ""
},
"persistent-workspaces": {
"1": [],
"2": []
},
"on-scroll-down": "hyprctl dispatch workspace e-1",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"escape": true
},
"bluetooth": {
"format": "",
"format-on": "",
"format-connected": "",
"tooltip-format": " {controller_alias}\n{controller_address}",
"tooltip-format-connected": " Controller(s):\n {controller_alias}\t{controller_address}\n\n Devices ( {num_connections} ) :\n {device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}\n",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t {device_battery_percentage}%\n",
"on-click": "blueberry" // Change to preferred bluetooth manager
},
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{icon} {name}",
"format-icons": {
"locked": " ",
"unlocked": " "
}
},
"hyprland/window": {
"format": "{class} - {title}",
"show-empty": false,
"icon": true,
"separate-outputs": true,
"rewrite": {
" - ": "",
"zen-alpha(.*)": "Zen Browser",
"firefox(.*)": "Firefox",
"kitty - (.*)": "Kitty $1",
"Kitty ~": "Kitty",
"spotify(.*)": "Spotify",
"spotube": "Spotube",
"discord - Discord (.*)": "Discord $1",
"vesktop -(.*)Discord (.*)": "Vesktop $2",
"org.gnome.(.*) - (.*)": "$1 - $2",
"steam - (.*)": "Steam - $1",
"steam - Steam": "Steam",
"net.nokyan.Resources - Resources": "Resources"
},
"escape": true
},
"custom/logo": {
"format": "", // Change to desired logo
"tooltip": false,
"escape": true,
"on-click": "anyrun" // Change to desired action
},
"custom/notifications": {
"tooltip": false,
"format": "{icon}",
"format-icons": {
"notification": "",
"none": "",
"dnd-notification": "",
"dnd-none": "",
"inhibited-notification": "",
"inhibited-none": "",
"dnd-inhibited-notification": "",
"dnd-inhibited-none": ""
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"icon-size": 16,
"spacing": 12
},
"clock": {
"format": "{:L%A %d, %H:%M}",
"format-alt": "{:%Y-%m-%d}",
"tooltip-format": "{calendar}"
},
"cpu": {
"format": " {usage}%",
"tooltip": true,
"escape": true
},
"memory": {
"format": " {}%"
},
"temperature": {
"critical-threshold": 80,
"format": "{icon} {temperatureC}°C",
"format-icons": ["", "", ""]
},
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-good": "{capacity}% {icon}",
"format-full": "",
"format-icons": ["", "", "", "", ""]
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
"default": "",
"performance": "",
"balanced": "",
"power-saver": ""
}
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{icon}",
"format-ethernet": "",
"tooltip-format": "{ifname}\t{ipaddr}\n {bandwidthUpBits}\n {bandwidthDownBits}",
"tooltip-format-disconnected": "Disconnected",
"tooltip-format-wifi": " {essid}\n {bandwidthUpBits}\n {bandwidthDownBits}",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "",
"format-alt": "{ipaddr}/{cidr}",
"format-icons": [ "", "", "", "", "" ]
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {volume}%",
"format-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"phone-muted": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"scroll-step": 1,
"on-scroll-up": "pamixer -i 5",
"on-scroll-down": "pamixer -d 5",
"on-click": "pavucontrol"
},
"custom/media": {
"format": "{icon} {0}",
"return-type": "json",
"max-length": 50,
"escape": true,
"format-icons": {
"mpv": "",
"firefox": "",
"discord": "",
"spotify": "",
"spotube": "",
"Clapper": "",
"default": ""
},
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null",
"on-scroll-down": "playerctl previous",
"on-scroll-up": "playerctl next",
"on-click": "playerctl play-pause"
}
}