From 9ed973291b3de5c0c52676756f07ad3ce78075de Mon Sep 17 00:00:00 2001 From: Minijackson Date: Sun, 18 Apr 2021 19:58:08 +0200 Subject: sway: fix systemd integration + optional titlebar --- usecases/desktop/graphical/sway.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'usecases/desktop/graphical') diff --git a/usecases/desktop/graphical/sway.nix b/usecases/desktop/graphical/sway.nix index 6c5b2ed..ab04de3 100644 --- a/usecases/desktop/graphical/sway.nix +++ b/usecases/desktop/graphical/sway.nix @@ -25,7 +25,7 @@ in # when not specifying variables. # # TODO: make PR - #systemdIntegration = true; + systemdIntegration = false; wrapperFeatures.gtk = true; config = { @@ -156,9 +156,9 @@ in startup = [ { command = "${pkgs.mako}/bin/mako"; always = true; } { - command = "systemctl --user import-environment ${ + command = "\"systemctl --user import-environment ${ builtins.toString (lib.unique config.xsession.importedVariables) - }; systemctl --user start sway-session.target"; + }; systemctl --user start sway-session.target\""; } ]; @@ -167,7 +167,6 @@ in window = { border = 2; hideEdgeBorders = "smart"; - titlebar = true; }; }; }; @@ -251,6 +250,8 @@ in }; }; + # TODO: polkit gnome + environment.systemPackages = with pkgs; [ qt5.qtwayland ]; # TODO: in 21.05 -- cgit v1.2.3