Files
nixos-setup/configs/waybar/config.jsonc
T
2024-04-25 10:37:56 -04:00

122 lines
2.6 KiB
JSON

{
"layer": "bottom",
"position": "top",
"name": "waybar",
"width": "50px",
"modules-left": [
"hyprland/workspaces"
],
"modules-center": [
"group/hardware"
],
"modules-right": [
// "backlight",
// "pulseaudio",
"battery"
],
"hyprland/workspaces": {
"format": "{icon}",
"tooltip": false,
"all-outputs": true,
"format-icons": {
"active": "",
"default": ""
}
},
"clock": {
"format": "<span color='#b4befe'> </span>{:%H:%M}",
},
"backlight": {
"device": "intel_backlight",
"format": "<span color='#b4befe'>{icon}</span> {percent}%",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
""
]
},
"pulseaudio": {
"format": "<span color='#b4befe'>{icon}</span> {volume}%",
"format-muted": "",
"tooltip": false,
"format-icons": {
"headphone": "",
"default": [
"",
"",
"󰕾",
"󰕾",
"󰕾",
"",
"",
""
]
},
"scroll-step": 1,
"on-click": "pavucontrol"
},
"network": {
"format": "{ifname}",
"format-wifi": "<span color='#b4befe'> </span>{essid}",
"format-ethernet": "{ipaddr}/{cidr} ",
"format-disconnected": "<span color='#b4befe'>󰖪 </span>No Network",
"tooltip": false,
"on-click": "nm-connection-editor"
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}%|{power}w {icon}",
"format-icons": ["", "", "", "", ""],
"design-capacity": true
},
"custom/quit": {
"format": "󰗼",
"tooltip": false,
"on-click": "hyprctl dispatch exit"
},
"group/hardware": {
"orientation": "inherit",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": false
},
"modules": [
"clock",
"bluetooth",
"cpu",
"memory",
"network",
"temperature"
]
},
"cpu": {
"interval": 1,
"format": "{icon}cpu",
"format-icons": [
"<span color='#69ff94'>▁</span>", // green
"<span color='#2aa9ff'>▂</span>", // blue
"<span color='#f8f8f2'>▃</span>", // white
"<span color='#f8f8f2'>▄</span>", // white
"<span color='#ffffa5'>▅</span>", // yellow
"<span color='#ffffa5'>▆</span>", // yellow
"<span color='#ff9977'>▇</span>", // orange
"<span color='#dd532e'>█</span>" // red
]
},
"memory": {
"interval": 30,
"format": "{used:0.1f}G/{total:0.1f}G"
},
"temperature": {
"format": "{temperatureC}°C "
}
}