etc/waybar/config.jsonc
2024-07-13 23:39:19 +05:00

142 lines
2.5 KiB
Text

{
"layer": "bottom",
"position": "top",
"spacing" : 1,
"river/window" : {
"max-length": 50,
"min-length": 50,
"on-scroll-up" : "riverctl focus-view next",
"on-scroll-down" : "riverctl focus-view previous",
"on-click-middle" : "riverctl close",
"on-click" : "riverctl send-to-output -current-tags previous",
"on-click-right" : "riverctl send-to-output -current-tags next"
},
"river/mode" : {
"format": " {} ",
"on-scroll-down" : "riverctl send-layout-cmd rivertile 'main-ratio -0.05'",
"on-scroll-up" : "riverctl send-layout-cmd rivertile 'main-ratio +0.05'",
"on-click" : "riverctl send-layout-cmd rivertile 'main-count +1'",
"on-click-right" : "riverctl send-layout-cmd rivertile 'main-count -1'",
},
"privacy": {
"icon-spacing": 4,
"icon-size": 18,
"transition-duration": 250,
"modules": [
{
"type": "screenshare",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-out",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-in",
"tooltip": true,
"tooltip-icon-size": 24
}
]
},
"modules-left": [
"river/tags",
"river/mode",
"river/window",
],
"custom/bar" : {
"format": "|"
},
"modules-center": [
],
"modules-right": [
"backlight",
"clock",
"disk",
"cpu",
"memory",
"temperature",
"battery",
"pulseaudio",
"bluetooth",
"tray"
],
"backlight" : {
"format" : "💡{}%",
"scroll-step": 5
},
"clock" : {
"format" : "{:%EY-%m-%d %H:%M:%S}",
"interval" : 1,
"on-click": "$XCALENDAR"
},
"bluetooth" : {
"on-click" : "$XBLUETOOTH_MANAGER"
},
"pulseaudio": {
"format": "{icon} {volume:2}%",
"format-bluetooth": "{icon} {volume}%",
"format-muted": "MUTE",
"format-icons": {
"headphones": "",
"default": [
"",
""
]
},
"scroll-step": 5,
"on-click-right": "pamixer -t",
"on-click": "pavucontrol"
},
"memory": {
"interval": 5,
"format": "Mem {}%"
},
"cpu": {
"interval": 5,
"format": "CPU {usage:2}%",
"on-click": "$XRESOURCE_MONITOR"
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-icons": [
"",
"",
"",
"",
""
]
},
"disk": {
"interval": 5,
"format": "Disk {percentage_used:2}%",
"path": "/",
"on-click" : "$XFILE_MANAGER"
},
"network" : {
"format" : "{ifname}/{ipaddr} U:{bandwidthUpBytes} D:{bandwidthDownBytes}",
"interval": 1
},
"tray": {
"icon-size": 20
}
}