71 lines
1.4 KiB
Text
71 lines
1.4 KiB
Text
{
|
||
"name": "mainbar",
|
||
"output": [ "DP-1" ],
|
||
"layer": "top",
|
||
"position": "top",
|
||
"height": 36,
|
||
"spacing": 4,
|
||
|
||
"modules-left": [ "hyprland/window" ],
|
||
"modules-center": [],
|
||
"modules-right": [ "pulseaudio", "battery", "clock", "tray" ],
|
||
|
||
"hyprland/window": {
|
||
"format": "{}",
|
||
"icon": true,
|
||
"icon-size": 28,
|
||
|
||
"rewrite": {
|
||
"(.*) – Mozilla Firefox": "Firefox: $1",
|
||
"(.*) — Konsole": "Konsole: $1",
|
||
"Loading Fabric Loader": "Initializing Minecraft",
|
||
"Minecraft\\* (.*)": "Minecraft $1",
|
||
},
|
||
},
|
||
"tray": {
|
||
// "icon-size": 21,
|
||
"show-passive-items": true,
|
||
"spacing": 10,
|
||
},
|
||
"pulseaudio": {
|
||
"scroll-step": 1,
|
||
|
||
"format": "{volume}% {icon} {format_source}",
|
||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||
"format-bluetooth-muted": " {icon} {format_source}",
|
||
"format-muted": " {format_source}",
|
||
"format-source": "{volume}% ",
|
||
"format-source-muted": "",
|
||
|
||
"format-icons": {
|
||
"headphone": "",
|
||
"hands-free": "",
|
||
"headset": "",
|
||
"phone": "",
|
||
"portable": "",
|
||
"car": "",
|
||
"default": [ "", "", "" ]
|
||
},
|
||
|
||
"on-click": "pavucontrol",
|
||
},
|
||
"battery": {
|
||
"full-at": 95,
|
||
"bat-compatibility": true,
|
||
|
||
"format": "{capacity}%",
|
||
"format-time": "Duration: {H}:{M}",
|
||
|
||
"states": {
|
||
"warning": 15,
|
||
"critical": 10,
|
||
},
|
||
},
|
||
"clock": {
|
||
"interval": 1,
|
||
"format": "{:%H:%M:%S}",
|
||
|
||
"timezone": "Europe/Berlin",
|
||
},
|
||
}
|
||
|