From e36ab4dcfcf873c0ea8759fcee4028fdd98a96c0 Mon Sep 17 00:00:00 2001 From: traxys Date: Wed, 16 Apr 2025 12:22:26 +0200 Subject: [PATCH] =?UTF-8?q?wm:=E2=80=AFRemove=20discord's=20bar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wm/sway.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/wm/sway.nix b/wm/sway.nix index d402bc2..1c1aefd 100644 --- a/wm/sway.nix +++ b/wm/sway.nix @@ -293,9 +293,14 @@ in wayland.windowManager.sway = { enable = true; - extraConfig = mkIf (cfg.wallpaper != null) '' - output "*" bg ${cfg.wallpaper} fill - ''; + extraConfig = mkMerge [ + (mkIf (cfg.wallpaper != null) '' + output "*" bg ${cfg.wallpaper} fill + '') + '' + for_window [app_id="discord"] border none + '' + ]; config = { inherit startup; inherit (cfg) modifier;