Nix-Config/users/tsv/waybar/config

124 lines
2.5 KiB
Plaintext

{
"layer": "top",
"position": "top",
"height": 42,
"margin-top": 0,
"margin-bottom": -5,
"modules-left": [
"custom/leftside",
"wlr/workspaces",
"battery",
"cpu",
"temperature",
"custom/rightside",
],
"modules-center": [
"custom/leftside",
"clock",
"custom/rightside",
],
"modules-right": [
"custom/leftside",
"pulseaudio",
"tray",
"custom/rightside",
],
"wlr/workspaces": {
"all-outputs": true,
"sort-by-number": true,
"on-click": "activate",
"format": "{icon}",
"format-icons": {
"urgent": "",
"active": "",
"default": "",
},
},
"hyprland/window": {
"max-length": 200,
"separate-outputs": true
},
"custom/rightside":{
"format":" ",
},
"custom/middle":{
"format":" ",
},
"tray": {
"icon-size": 15,
"spacing": 8,
},
"clock": {
"interval": 1,
"format": "{: %a %d %b | %I:%M %p}",
"tooltip": true,
"tooltip-format": "<big>{:%B %Y \t}</big>\n<tt>{calendar}</tt>",
},
"cpu": {
"interval": 15,
"format": " {usage}%",
"tooltip": false
},
"memory": {
"interval": 30,
"format": " {}%",
"tooltip": false
},
"temperature": {
"thermal-zone": 1,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 90,
// "format-critical": "{temperatureC}°C {icon}",
"format": " {temperatureC}°C",
// "format-icons": ["", "", ""]
},
"battery": {
"states": {
// "good": 95,
"warning": 15,
"critical": 5
},
"format": "{capacity}% {icon} ",
"format-charging": "{capacity}%  ",
"format-plugged": "{capacity}%  ",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"pulseaudio": {
"scroll-step": 5, // %, can be a float
"format": "{icon} {volume}%",
"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"
},
"custom/tray": {
"format": "hello"
}
}