commit | d3b7068c7398918038e7ff65f1df1c8cd93a9343 | [log] [tgz] |
---|---|---|
author | Skyler Turner <skyler@clicksminuteper.net> | Sun Mar 06 23:19:45 2022 +0000 |
committer | Skyler Turner <skyler@clicksminuteper.net> | Sun Mar 06 23:19:45 2022 +0000 |
tree | 2d7f683329bc417487cf02cfea41692a9f8a62d7 | |
parent | 07eb3d14509922294f17df7e3ed686c03124c1ec [diff] [blame] |
Update sway to start by default
diff --git a/src/apps/personal/sway.nix b/src/apps/personal/sway.nix index 24e0ad2..564ebf7 100644 --- a/src/apps/personal/sway.nix +++ b/src/apps/personal/sway.nix
@@ -24,4 +24,10 @@ wants = [ "graphical-session-pre.target" ]; after = [ "graphical-session-pre.target" ]; }; + + programs.zsh.profileExtra = '' + if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then + exec systemd-cat -t sway sway + fi + ''; } \ No newline at end of file