mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 20:19:45 +01:00
3db6036775
Co-authored-by: Bruno Inec <binec@scaleway.com>
63 lines
1 KiB
JSON
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
|
|
}
|
|
}
|
|
]
|