fix(waybar): Avoid always-on-top

This commit is contained in:
Tibo De Peuter 2026-02-20 10:17:22 +01:00
parent 81218d1952
commit 48c15ea72a
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
2 changed files with 9 additions and 5 deletions

View file

@ -13,6 +13,10 @@ in {
j4-dmenu-desktop j4-dmenu-desktop
]; ];
fonts.packages = with pkgs; [
font-awesome_6
];
programs.waybar.enable = true; programs.waybar.enable = true;
services.atd.enable = true; # Command scheduler services.atd.enable = true; # Command scheduler

View file

@ -23,18 +23,17 @@
], ],
"include": [ "include": [
"~/.config/waybar/modules.json" "~/.config/waybar/modules.json"
] ],
"start_hidden": true
}, },
/* Toggle this bar, contains all information */ /* Toggle this bar, contains all information */
{ {
"name": "toggle", "name": "toggle",
"mode": "hide",
"ipc": true,
"position": "top", "position": "top",
"height": 26, "height": 26,
/* Show this bar on top of the other one, seemingly replacing it. */ /* Show this bar on top of the other one, seemingly replacing it. */
"margin": "-26px 0 0 0", /*"margin": "-26px 0 0 0",*/
"modules-left": [ "modules-left": [
"custom/meta", "custom/meta",
"sway/window", "sway/window",
@ -59,6 +58,7 @@
], ],
"include": [ "include": [
"~/.config/waybar/modules.json" "~/.config/waybar/modules.json"
] ],
"reload_style_on_change": true
} }
] ]