feat: adds autostart for sway to zshrc

This commit is contained in:
Ahwx 2026-04-29 00:09:19 +02:00
parent a9b09855a8
commit 67edb7e33a

View file

@ -209,9 +209,15 @@
# alias imv="nsxiv"
# alias sxiv="nsxiv"
# fi
function preexec {
print -Pn "\e]0;$\{(q)1}\e\\"
# function preexec {
# print -Pn "\e]0;$\{(q)1}\e\\"
# }
startwm() {
dbus-run-session sway
}
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then startwm; fi
'';
zsh-abbr = {