From 48c15ea72aa097229996495702cb2184e974bd80 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Fri, 20 Feb 2026 10:17:22 +0100 Subject: [PATCH] fix(waybar): Avoid always-on-top --- nixos/modules/desktop/waybar/default.nix | 4 ++++ stow/waybar/.config/waybar/config.jsonc | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/nixos/modules/desktop/waybar/default.nix b/nixos/modules/desktop/waybar/default.nix index d893470..3eab3df 100644 --- a/nixos/modules/desktop/waybar/default.nix +++ b/nixos/modules/desktop/waybar/default.nix @@ -13,6 +13,10 @@ in { j4-dmenu-desktop ]; + fonts.packages = with pkgs; [ + font-awesome_6 + ]; + programs.waybar.enable = true; services.atd.enable = true; # Command scheduler diff --git a/stow/waybar/.config/waybar/config.jsonc b/stow/waybar/.config/waybar/config.jsonc index a83d47c..addef9e 100644 --- a/stow/waybar/.config/waybar/config.jsonc +++ b/stow/waybar/.config/waybar/config.jsonc @@ -23,18 +23,17 @@ ], "include": [ "~/.config/waybar/modules.json" - ] + ], + "start_hidden": true }, /* Toggle this bar, contains all information */ { "name": "toggle", - "mode": "hide", - "ipc": true, "position": "top", "height": 26, /* Show this bar on top of the other one, seemingly replacing it. */ - "margin": "-26px 0 0 0", + /*"margin": "-26px 0 0 0",*/ "modules-left": [ "custom/meta", "sway/window", @@ -59,6 +58,7 @@ ], "include": [ "~/.config/waybar/modules.json" - ] + ], + "reload_style_on_change": true } ]