121 lines
2.9 KiB
Plaintext
121 lines
2.9 KiB
Plaintext
{
|
|
"reload_style_on_change": true,
|
|
"layer": "top", // Waybar at top layer
|
|
"position": "top", // Waybar at the bottom of your screen
|
|
"height": 20, // Waybar height
|
|
// "width": 1366, // Waybar width
|
|
// Choose the order of the modules
|
|
"modules-left": ["hyprland/workspaces", "tray", "hyprland/language"],
|
|
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "clock", "group/power"],
|
|
"modules-center": ["hyprland/window"],
|
|
|
|
"hyprland/language": {
|
|
"format": "{}",
|
|
"format-en": "En",
|
|
"format-ru": "Ru",
|
|
},
|
|
"hyprland/workspaces": {
|
|
"disable-scroll": true,
|
|
"all-outputs": false,
|
|
"active-only": false,
|
|
"format": "{name}"
|
|
},
|
|
"tray": {
|
|
// "icon-size": 21,
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
"interval": 5,
|
|
"format-alt": "{:%Y-%m-%d}",
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
|
"calendar": {
|
|
"mode" : "month",
|
|
"mode-mon-col" : 3,
|
|
"weeks-pos" : "right",
|
|
"on-scroll" : 1,
|
|
"format": {
|
|
"months": "<span color='#ffead3'><b>{}</b></span>",
|
|
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
|
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
|
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
|
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
|
}
|
|
}
|
|
},
|
|
"cpu": {
|
|
"format": "{usage}% "
|
|
},
|
|
"memory": {
|
|
"format": "{}% "
|
|
},
|
|
"battery": {
|
|
"interval": 5,
|
|
"states": {
|
|
"good": 90,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{capacity}% {icon}",
|
|
// "format-good": "", // An empty format will hide the module
|
|
// "format-full": "",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
"network": {
|
|
// "interface": "wlp2s0", // (Optional) To force the use of this interface
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
|
"format-disconnected": "Disconnected ⚠"
|
|
},
|
|
"pulseaudio": {
|
|
"scroll-step": 1,
|
|
"format": "{volume}% {icon}",
|
|
"format-bluetooth": "{volume}% {icon}",
|
|
"format-muted": "",
|
|
"format-icons": {
|
|
"headphones": "",
|
|
"handsfree": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", ""]
|
|
},
|
|
"on-click": "pavucontrol"
|
|
},
|
|
|
|
"group/power": {
|
|
"orientation": "inherit",
|
|
"drawer": {
|
|
"transition-duration": 500,
|
|
"children-class": "not-power",
|
|
"transition-left-to-right": false,
|
|
},
|
|
"modules": [
|
|
"custom/power", // First element is the "group leader" and won't ever be hidden
|
|
"custom/exit",
|
|
"custom/lock",
|
|
"custom/reboot",
|
|
]
|
|
},
|
|
"custom/exit": {
|
|
"format": " ",
|
|
"tooltip": false,
|
|
"on-click": "hyprctl dispatch exit"
|
|
},
|
|
"custom/lock": {
|
|
"format": " ",
|
|
"tooltip": false,
|
|
"on-click": "hyprlock"
|
|
},
|
|
"custom/reboot": {
|
|
"format": " ",
|
|
"tooltip": false,
|
|
"on-click": "reboot"
|
|
},
|
|
"custom/power": {
|
|
"format": " ",
|
|
"tooltip": false,
|
|
"on-click": "shutdown now"
|
|
}
|
|
}
|