sway: Redirect output to journal
This commit is contained in:
parent
c0f7daa411
commit
b3cc7cf907
|
@ -245,7 +245,7 @@ lib.mkIf nixosConfig.sbruder.gui.enable {
|
|||
programs.zsh.initExtra = ''
|
||||
if [[ -z $WAYLAND_DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||
export XDG_SESSION_TYPE="wayland" # otherwise set to tty
|
||||
exec sway
|
||||
exec systemd-cat -t sway sway
|
||||
fi
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue