54 lines
1.3 KiB
Text
54 lines
1.3 KiB
Text
|
[
|
||
|
{
|
||
|
"layer": "top",
|
||
|
"output": "eDP-1",
|
||
|
"position": "top",
|
||
|
"modules-left": ["wlr/taskbar"],
|
||
|
"modules-center": ["clock"],
|
||
|
"modules-right": ["battery","tray","custom/search","custom/poweroff"],
|
||
|
"fixed-center": true,
|
||
|
"spacing": 20,
|
||
|
"custom/poweroff":
|
||
|
{
|
||
|
"tooltip": false,
|
||
|
"format": "",
|
||
|
"on-click": "wlogout"
|
||
|
},
|
||
|
"custom/search":
|
||
|
{
|
||
|
"tooltip": false,
|
||
|
"format": "",
|
||
|
"on-click": "wofi --show drun"
|
||
|
},
|
||
|
"clock":
|
||
|
{
|
||
|
"interval": 60,
|
||
|
"format": "{:%a %H:%M %d-%m-%y}",
|
||
|
"tooltip": false
|
||
|
},
|
||
|
"battery":
|
||
|
{
|
||
|
"bat": "BAT0",
|
||
|
"interval": 60,
|
||
|
"format": "{icon} {capacity}%",
|
||
|
"format-icons": ["","","","",""]
|
||
|
},
|
||
|
"tray":
|
||
|
{
|
||
|
"icon-size": 16,
|
||
|
"spacing": 20
|
||
|
},
|
||
|
"wlr/taskbar":
|
||
|
{
|
||
|
"format": "{icon}",
|
||
|
"icon-size": 16,
|
||
|
"tooltip-format": "{title}",
|
||
|
"on-click": "activate",
|
||
|
"on-click-middle": "close",
|
||
|
"ignore-list": [
|
||
|
"wlogout"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|