2020-07-29 22:29:51 +02:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"custom/my-module": {
|
|
|
|
"exec": "@dummy@/bin/dummy",
|
|
|
|
"format": "hello from {}"
|
|
|
|
},
|
|
|
|
"height": 30,
|
|
|
|
"idle_inhibitor": {
|
|
|
|
"format": "{icon}"
|
|
|
|
},
|
|
|
|
"layer": "top",
|
|
|
|
"modules-center": [
|
|
|
|
"sway/window"
|
|
|
|
],
|
|
|
|
"modules-left": [
|
|
|
|
"sway/workspaces",
|
|
|
|
"sway/mode",
|
|
|
|
"custom/my-module"
|
|
|
|
],
|
|
|
|
"modules-right": [
|
|
|
|
"idle_inhibitor",
|
|
|
|
"pulseaudio",
|
|
|
|
"network",
|
|
|
|
"cpu",
|
|
|
|
"memory",
|
|
|
|
"backlight",
|
|
|
|
"tray",
|
2020-12-29 02:43:40 +01:00
|
|
|
"battery#bat1",
|
|
|
|
"battery#bat2",
|
2020-07-29 22:29:51 +02:00
|
|
|
"clock"
|
|
|
|
],
|
|
|
|
"output": [
|
|
|
|
"DP-1"
|
|
|
|
],
|
|
|
|
"position": "top",
|
|
|
|
"sway/mode": {
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
"sway/window": {
|
|
|
|
"max-length": 120
|
|
|
|
},
|
|
|
|
"sway/workspaces": {
|
|
|
|
"all-outputs": true,
|
|
|
|
"disable-scroll": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|