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
|
|
|
|
}
|
2021-12-19 06:21:15 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"modules-center": [
|
|
|
|
"clock"
|
|
|
|
],
|
|
|
|
"modules-left": [
|
|
|
|
"sway/mode"
|
|
|
|
],
|
|
|
|
"modules-right": [],
|
|
|
|
"output": [
|
|
|
|
"!DP-1"
|
|
|
|
],
|
|
|
|
"position": "bottom",
|
|
|
|
"sway/mode": {
|
|
|
|
"tooltip": true
|
|
|
|
}
|
2020-07-29 22:29:51 +02:00
|
|
|
}
|
|
|
|
]
|