about summary refs log tree commit diff
path: root/modules/user/sternenseemann/services/sway.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/sternenseemann/services/sway.nix')
-rw-r--r--modules/user/sternenseemann/services/sway.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/user/sternenseemann/services/sway.nix b/modules/user/sternenseemann/services/sway.nix
index 5313b585..85dd1657 100644
--- a/modules/user/sternenseemann/services/sway.nix
+++ b/modules/user/sternenseemann/services/sway.nix
@@ -12,6 +12,7 @@ let
       // (getBins pkgs.dbus [
         "dbus-update-activation-environment"
       ])
+      // (getBins pkgs.systemd [ "systemd-cat" ])
       // (getBins cfg.package [ "sway" ])
       // (getBins pkgs.i3status [ "i3status" ])
       // (getBins pkgs.brightnessctl [ "brightnessctl" ])
@@ -127,7 +128,7 @@ in {
     programs.fish.loginShellInit = lib.mkIf cfg.autolaunchFish ''
       if test -z "$DISPLAY"; and test -z "$WAYLAND_DISPLAY"; and test (tty) = "/dev/tty1"
         set -x SWAYSOCK "/run/user/"(id -u)"/sway.sock"
-        exec ${bins.sway}
+        exec ${bins.systemd-cat} ${bins.sway}
       end
     '';