etc/waybar/config.jsonc

143 lines
2.5 KiB
Text
Raw Permalink Normal View History

2024-07-11 10:28:52 +03:00
{
2024-07-12 01:00:02 +03:00
"layer": "bottom",
2024-07-11 10:28:52 +03:00
"position": "top",
2024-07-12 01:00:02 +03:00
"spacing" : 1,
2024-07-12 00:38:44 +03:00
"river/window" : {
2024-07-12 01:00:02 +03:00
"max-length": 50,
"min-length": 50,
2024-07-12 00:38:44 +03:00
"on-scroll-up" : "riverctl focus-view next",
"on-scroll-down" : "riverctl focus-view previous",
"on-click-middle" : "riverctl close",
2024-07-13 21:01:51 +03:00
"on-click" : "riverctl send-to-output -current-tags previous",
"on-click-right" : "riverctl send-to-output -current-tags next"
},
"river/mode" : {
"format": " {} ",
2024-07-13 21:39:19 +03:00
"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'",
2024-07-28 01:04:29 +03:00
"on-click-right" : "riverctl send-layout-cmd rivertile 'main-count -1'"
2024-07-12 00:38:44 +03:00
},
"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
}
]
},
2024-07-11 10:28:52 +03:00
"modules-left": [
"river/tags",
"river/mode",
2024-07-28 01:04:29 +03:00
"river/window"
2024-07-11 10:28:52 +03:00
],
2024-07-12 00:38:44 +03:00
"custom/bar" : {
"format": "|"
},
2024-07-11 10:28:52 +03:00
"modules-center": [
],
2024-07-12 00:38:44 +03:00
2024-07-11 10:28:52 +03:00
"modules-right": [
2024-07-12 00:38:44 +03:00
"backlight",
"clock",
2024-07-11 10:28:52 +03:00
"disk",
2024-07-12 00:38:44 +03:00
"cpu",
"memory",
"temperature",
2024-07-11 10:28:52 +03:00
"battery",
2024-07-12 00:38:44 +03:00
"pulseaudio",
"bluetooth",
2024-07-11 10:28:52 +03:00
"tray"
],
2024-07-12 00:38:44 +03:00
"backlight" : {
"format" : "💡{}%",
"scroll-step": 5
2024-07-11 10:28:52 +03:00
},
2024-07-12 00:38:44 +03:00
"clock" : {
"format" : "{:%EY-%m-%d %H:%M:%S}",
2024-07-12 01:16:25 +03:00
"interval" : 1,
"on-click": "$XCALENDAR"
2024-07-11 10:28:52 +03:00
},
2024-07-12 00:38:44 +03:00
"bluetooth" : {
"on-click" : "$XBLUETOOTH_MANAGER"
2024-07-11 10:28:52 +03:00
},
"pulseaudio": {
"format": "{icon} {volume:2}%",
"format-bluetooth": "{icon} {volume}%",
"format-muted": "MUTE",
"format-icons": {
"headphones": "",
"default": [
"",
""
]
},
"scroll-step": 5,
2024-07-12 01:16:25 +03:00
"on-click-right": "pamixer -t",
"on-click": "pavucontrol"
2024-07-11 10:28:52 +03:00
},
"memory": {
"interval": 5,
"format": "Mem {}%"
},
"cpu": {
"interval": 5,
2024-07-12 01:16:25 +03:00
"format": "CPU {usage:2}%",
"on-click": "$XRESOURCE_MONITOR"
2024-07-11 10:28:52 +03:00
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-icons": [
"",
"",
"",
"",
""
]
},
"disk": {
"interval": 5,
"format": "Disk {percentage_used:2}%",
2024-07-12 00:38:44 +03:00
"path": "/",
"on-click" : "$XFILE_MANAGER"
},
"network" : {
"format" : "{ifname}/{ipaddr} U:{bandwidthUpBytes} D:{bandwidthDownBytes}",
"interval": 1
2024-07-11 10:28:52 +03:00
},
2024-07-12 00:38:44 +03:00
2024-07-11 10:28:52 +03:00
"tray": {
"icon-size": 20
}
}