Pipe sway logs to the system journal instead of to zellij
This commit is contained in:
parent
5cdaa4a03a
commit
06d224eb50
2 changed files with 2 additions and 10 deletions
|
|
@ -1,7 +0,0 @@
|
|||
layout {
|
||||
pane {
|
||||
name "sway"
|
||||
command "sway"
|
||||
args "--unsupported-gpu"
|
||||
}
|
||||
}
|
||||
5
.profile
5
.profile
|
|
@ -42,7 +42,6 @@ export BORG_PASSCOMMAND="cat ${HOME}/.keys/borg-passphrase.txt"
|
|||
export PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring"
|
||||
export XDG_CURRENT_DESKTOP="sway"
|
||||
|
||||
# If running from tty1 start sway inside a zellij session
|
||||
# Autolaunch sway for tty1 logins
|
||||
[ "$(tty)" = "/dev/tty1" ] &&
|
||||
zellij delete-all-sessions --force --yes &&
|
||||
exec zellij --new-session-with-layout sway --session sway
|
||||
exec systemd-cat --identifier sway sway
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue