From df4fbc2205d2c33f0e1a9562adaedb53a3683fcc Mon Sep 17 00:00:00 2001 From: Frantisek Bohacek <rutherther@proton.me> Date: Sun, 2 Jun 2024 20:19:01 +0200 Subject: [PATCH] feat: make sure to redirect dwl stdout --- home/modules/profiles/desktop/dwl/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/home/modules/profiles/desktop/dwl/default.nix b/home/modules/profiles/desktop/dwl/default.nix index f600774..25d462f 100644 --- a/home/modules/profiles/desktop/dwl/default.nix +++ b/home/modules/profiles/desktop/dwl/default.nix @@ -39,11 +39,12 @@ in { }; home.file.".sessions/start-dwl".source = pkgs.writeShellScript "start-dwl" '' - export XDG_CURRENT_DESKTOP=wlroots XDG_BACKEND=wayland QT_QPA_PLATFORM=wayland MOZ_ENABLE_WAYLAND=1 _JAVA_AWT_WM_NONREPARENTING=1 - dwl -s "${pkgs.writeShellScript "dwl-internal" '' - dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP DISPLAY - systemctl start --user wlr-session.target - ''}" & + export XDG_CURRENT_DESKTOP=wlroots XDG_BACKEND=wayland QT_QPA_PLATFORM=wayland MOZ_ENABLE_WAYLAND=1 _JAVA_AWT_WM_NONREPARENTING=1 + dwl -s "${pkgs.writeShellScript "dwl-internal" '' + exec <&- + dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP DISPLAY + systemctl start --user wlr-session.target + ''}" & pid=$! # Put something here wait $pid -- 2.48.1