{
"layer": "top",
"position": "top",
"height": 20,
"spacing": 4,
"margin": "0 15 0 5",
"modules-left": [
//"wlr/workspaces",
"hyprland/window",
"sway/window"
],
"modules-center": ["mpd"],
"modules-right": [
"tray",
"idle_inhibitor", "keyboard-state",
"pulseaudio", "bluetooth", "network", "cpu", "memory", "temperature", "battery", "clock"
],
"wlr/workspaces": {
"format": "{icon}", // {name}
"format-icons": {
"1": "☱",
"2": "☲",
"3": "☳",
"4": "☴",
"5": "☵",
"6": "☶",
"7": "☷",
"8": "☰",
"9": "⚏",
"10": "⚌",
"default": "⚍",
"focused": "☯"
},
"on-click": "activate",
"sort-by-number": true,
},
"hyprland/window": {
"format": " {}",
},
"sway/window": {
"format": " {}",
},
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": "",
//"unlocked": ""
}
},
"mpd": {
"format": "『{artist} - {album} - {title} 』{stateIcon} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}",
"format-disconnected": "Disconnected",
"format-stopped": "『』",
"unknown-tag": "N/A",
"interval": 2,
"consume-icons": {
"on": " "
},
"random-icons": {
"on": " "
},
"repeat-icons": {
"on": " "
},
"single-icons": {
"on": "1 "
},
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)"
},
"user": {
"format": "{user} ↑ {work_d} {work_H}:{work_M}",
"interval": 60,
"height": 30,
"width": 30
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"icon-size": 21,
"spacing": 10
},
"cpu": {
"align": 0,
"interval": 2,
"min-length": 6,
"format": " {usage}%",
"on-click": "alacritty -e btop",
"tooltip": true
},
"memory": {
"align": 0,
"interval": 2,
"min-length": 6,
"format": " {}%"
},
"temperature": {
"thermal-zone": 2,
"align": 0,
"interval": 2,
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
"format-critical": "{icon} {temperatureC}°C",
"format": "{icon} {temperatureC}°C",
"format-icons": ["", "", ""]
},
"battery": {
"align": 0,
"format": "{icon}",
"tooltip": "{time} {power} {capacity}%",
"format-icons": ["", "", "", "", ""]
},
"network": {
"interval": 10,
"align": 0,
"min-width": 25,
"format-wifi": "{icon} {essid}",
"format-icons": ["", "", ""],
"format-ethernet": " {ipaddr}/{cidr}",
"format-linked": " {ifname} (No IP)",
"format-disconnected": "⚠ Disconnected",
"format-alt": "{bandwidthUpBytes} {bandwidthDownBytes}",
"tooltip-format": "{ifname} via {gwaddr}: {ipaddr}/{cidr}"
},
"bluetooth": {
"align": 0,
"format": " {status}",
"format-connected": " {device_alias}",
"format-connected-battery": " {device_alias} {device_battery_percentage}%",
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
"on-click": "blueman-manager"
},
"pulseaudio": {
"scroll-step": 1,
"format": "{icon} {volume}% {format_source}",
"format-bluetooth": "{icon} {volume}% {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"
},
"clock": {
"format": "{: %m/%d %H:%M}",
"tooltip-format": "{:%Y %B}\n{calendar}",
"format-alt": "{:%a, %d %b %Y}"
}
}