201 lines
4.8 KiB
Plaintext
201 lines
4.8 KiB
Plaintext
{
|
|
"layer": "bottom",
|
|
"position": "bottom",
|
|
"mod": "dock",
|
|
"exclusive": true,
|
|
"gtk-layer-shell": true,
|
|
"passthrough": false,
|
|
"height": 30,
|
|
"modules-left": [
|
|
"wlr/workspaces"
|
|
],
|
|
"modules-center": [
|
|
"mpris",
|
|
"privacy"
|
|
],
|
|
"modules-right": [
|
|
"custom/alhp",
|
|
"cpu",
|
|
"memory",
|
|
"disk",
|
|
"bluetooth",
|
|
"pulseaudio",
|
|
"network",
|
|
"battery",
|
|
"tray",
|
|
"clock"
|
|
],
|
|
"wlr/workspaces": {
|
|
"icon-size": 32,
|
|
"spacing": 16,
|
|
"on-scroll-up": "hyprctl dispatch workspace r+1",
|
|
"on-scroll-down": "hyprctl dispatch workspace r-1"
|
|
},
|
|
"cpu": {
|
|
"interval": 5,
|
|
"format": " {usage}%",
|
|
"max-length": 10
|
|
},
|
|
"disk": {
|
|
"interval": 30,
|
|
"format": " {percentage_used}%",
|
|
"path": "/",
|
|
"tooltip": true,
|
|
"unit": "GB",
|
|
"tooltip-format": "Available {free} of {total}"
|
|
},
|
|
"memory": {
|
|
"interval": 10,
|
|
"format": " {percentage}%",
|
|
"max-length": 10,
|
|
"tooltip": true,
|
|
"tooltip-format": "RAM - {used:0.1f}GiB used"
|
|
},
|
|
"tray": {
|
|
"icon-size": 18,
|
|
"spacing": 3
|
|
},
|
|
"clock": {
|
|
"format": "{:%R | %d.%m.%Y}",
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
|
"calendar": {
|
|
"mode": "year",
|
|
"mode-mon-col": 3,
|
|
"weeks-pos": "right",
|
|
"on-scroll": 1,
|
|
"on-click-right": "mode",
|
|
"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>"
|
|
}
|
|
},
|
|
"actions": {
|
|
"on-click-right": "mode",
|
|
"on-click-forward": "tz_up",
|
|
"on-click-backward": "tz_down",
|
|
"on-scroll-up": "shift_up",
|
|
"on-scroll-down": "shift_down"
|
|
}
|
|
},
|
|
"network": {
|
|
"format-wifi": "{essid} ({signalStrength}%) {icon}",
|
|
"format-ethernet": "{ifname}",
|
|
"format-disconnected": "",
|
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
|
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
|
|
"tooltip-format-ethernet": "{ifname} ",
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
"format-icons": [
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" "
|
|
]
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"good": 95,
|
|
"warning": 30,
|
|
"critical": 20
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-charging": " {capacity}%",
|
|
"format-plugged": " {capacity}%",
|
|
"format-alt": "{time} {icon}",
|
|
"format-icons": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"pulseaudio": {
|
|
"format": "{volume}% {icon} ",
|
|
"format-bluetooth": "{volume}% {icon} ",
|
|
"format-muted": " ",
|
|
"format-icons": {
|
|
"alsa_output.pci-0000_00_1f.3.analog-stereo": "",
|
|
"alsa_output.pci-0000_00_1f.3.analog-stereo-muted": "",
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "\uF025",
|
|
"phone": "",
|
|
"phone-muted": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": [
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"scroll-step": 5,
|
|
"on-click": "pwvucontrol",
|
|
"ignored-sinks": [
|
|
"Easy Effects Sink"
|
|
]
|
|
},
|
|
"privacy": {
|
|
"icon-spacing": 4,
|
|
"icon-size": 14,
|
|
"transition-duration": 250,
|
|
"modules": [
|
|
{
|
|
"type": "screenshare",
|
|
"tooltip": true,
|
|
"tooltip-icon-size": 12
|
|
},
|
|
{
|
|
"type": "audio-out",
|
|
"tooltip": true,
|
|
"tooltip-icon-size": 12
|
|
},
|
|
{
|
|
"type": "audio-in",
|
|
"tooltip": true,
|
|
"tooltip-icon-size": 12
|
|
}
|
|
]
|
|
},
|
|
"mpris": {
|
|
"format": "{player_icon} {dynamic}",
|
|
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
|
"dynamic-len": 50,
|
|
"ellipsis": "…",
|
|
"player-icons": {
|
|
"default": "▶",
|
|
"mpv": "🎵"
|
|
},
|
|
"status-icons": {
|
|
"paused": "⏸"
|
|
}
|
|
},
|
|
"bluetooth": {
|
|
"format": " {status}",
|
|
"on-click": "overskride",
|
|
"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}%"
|
|
},
|
|
"custom/alhp": {
|
|
"exec": "$HOME/.config/waybar/scripts/alhp.sh",
|
|
"format": "{} \uEB29 ",
|
|
"return-type": "json",
|
|
"interval": 60,
|
|
"tooltip": true
|
|
}
|
|
}
|