Clean up zellij sessions between boots
This commit is contained in:
parent
dd1532c5c8
commit
b31b10192f
1 changed files with 1 additions and 0 deletions
1
.profile
1
.profile
|
|
@ -43,4 +43,5 @@ done < <(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-g
|
||||||
|
|
||||||
# Autolaunch sway for tty1 logins
|
# Autolaunch sway for tty1 logins
|
||||||
[ "$(tty)" = "/dev/tty1" ] &&
|
[ "$(tty)" = "/dev/tty1" ] &&
|
||||||
|
zellij delete-all-sessions --yes &&
|
||||||
exec systemd-cat --identifier sway sway
|
exec systemd-cat --identifier sway sway
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue