112 lines
2.4 KiB
JSON
112 lines
2.4 KiB
JSON
{
|
|
"position": "top",
|
|
"reload_style_on_change": true,
|
|
"modules-left": [
|
|
"custom/logo",
|
|
"cpu",
|
|
"memory",
|
|
"disk",
|
|
"network",
|
|
"pulseaudio"
|
|
],
|
|
"modules-center": [
|
|
"hyprland/workspaces"
|
|
],
|
|
"modules-right": [
|
|
"custom/alert",
|
|
"custom/maj",
|
|
"clock",
|
|
"tray"
|
|
],
|
|
"custom/logo": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"default": " "
|
|
}
|
|
},
|
|
"cpu": {
|
|
"format": " {usage}% ",
|
|
"tooltip": true
|
|
},
|
|
"memory": {
|
|
"format": " {percentage}% ",
|
|
"tooltip": true,
|
|
"tooltip-format": "asd: {used:0.2f} G / {total:0.2f} G"
|
|
},
|
|
"disk": {
|
|
"interval": 300,
|
|
"format": " {percentage_used}% ",
|
|
"path": "/"
|
|
},
|
|
"network": {
|
|
"format-wifi": "<span size='12000'> </span>{essid} ",
|
|
"format-ethernet": " {ipaddr} ",
|
|
"tooltip-format": " {bandwidthUpBytes} {bandwidthDownBytes}",
|
|
"format-linked": " {ifname} (No IP) ",
|
|
"format-disconnected": " Disconnected ",
|
|
"format-alt": " {signalStrength}% ",
|
|
"interval": 1
|
|
},
|
|
"pulseaudio": {
|
|
"format": "{icon}{volume}% ",
|
|
"format-muted": " 0% ",
|
|
"format-icons": {
|
|
"headphone": " ",
|
|
"hands-free": " ",
|
|
"headset": " ",
|
|
"phone": " ",
|
|
"portable": " ",
|
|
"car": " ",
|
|
"default": [
|
|
" ",
|
|
" ",
|
|
" "
|
|
]
|
|
},
|
|
"on-click-right": "pavucontrol -t 3",
|
|
"on-click": "pactl -- set-sink-mute 0 toggle",
|
|
"tooltip": false,
|
|
"tooltip-format": "{volume}%",
|
|
"scroll-step": 5.0,
|
|
},
|
|
"hyprland/workspaces": {
|
|
"disable-scroll": false,
|
|
"all-outputs": false,
|
|
"on-click": "activate",
|
|
"persistent-workspaces": {
|
|
"HDMI-A-1": [1, 2, 3, 4],
|
|
"HDMI-A-2": [5, 6, 7, 8],
|
|
},
|
|
"format": "{name}",
|
|
"format-icons": {
|
|
"default": ""
|
|
}
|
|
},
|
|
"custom/alert": {
|
|
"exec": "/etc/xdg/scripts/waybar-mailbox.sh",
|
|
"interval": 300,
|
|
"return-type": "json",
|
|
"format": "{icon}{text}",
|
|
"format-icons": {
|
|
"default": " "
|
|
}
|
|
},
|
|
"custom/maj": {
|
|
"exec": "/etc/xdg/scripts/waybar-update.sh",
|
|
"interval": 300,
|
|
"return-type": "json",
|
|
"format": "{icon}{text}",
|
|
"format-icons": {
|
|
"default": " "
|
|
}
|
|
},
|
|
"clock": {
|
|
"format": " {:%a %d %H:%M} ",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
|
},
|
|
"tray": {
|
|
"icon-size": 18,
|
|
"spacing": 6
|
|
}
|
|
}
|