home-manager/tests/modules/programs/waybar/settings-complex-expected.json
Bruno Inec 3db6036775
waybar: allow using attrs for settings (#2547)
Co-authored-by: Bruno Inec <binec@scaleway.com>
2021-12-19 00:21:15 -05:00

63 lines
1 KiB
JSON

[
{
"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",
"battery#bat1",
"battery#bat2",
"clock"
],
"output": [
"DP-1"
],
"position": "top",
"sway/mode": {
"tooltip": false
},
"sway/window": {
"max-length": 120
},
"sway/workspaces": {
"all-outputs": true,
"disable-scroll": true
}
},
{
"modules-center": [
"clock"
],
"modules-left": [
"sway/mode"
],
"modules-right": [],
"output": [
"!DP-1"
],
"position": "bottom",
"sway/mode": {
"tooltip": true
}
}
]