2020-07-29 20:29:51 +00: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 01:43:40 +00:00
|
|
|
"battery#bat1",
|
|
|
|
"battery#bat2",
|
2020-07-29 20:29:51 +00: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 05:21:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"modules-center": [
|
|
|
|
"clock"
|
|
|
|
],
|
|
|
|
"modules-left": [
|
|
|
|
"sway/mode"
|
|
|
|
],
|
|
|
|
"modules-right": [],
|
|
|
|
"output": [
|
|
|
|
"!DP-1"
|
|
|
|
],
|
|
|
|
"position": "bottom",
|
|
|
|
"sway/mode": {
|
|
|
|
"tooltip": true
|
|
|
|
}
|
2020-07-29 20:29:51 +00:00
|
|
|
}
|
|
|
|
]
|