Archived
1
0
Fork 0

zshrc: Start sway when running on tty1

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2022-12-26 21:12:33 +01:00
parent 2d68111eca
commit 21e578b20b
Signed by: c8h4
GPG key ID: 9C82009BEEDEA0FF

4
zshrc
View file

@ -6,6 +6,10 @@
[[ $- != *i* ]] && return
export PATH="$HOME/.local/share/flatpak/exports/bin:$HOME/.local/bin:$PATH"
# If running in a TTY, start sway
[[ $(tty) = /dev/tty1 ]] && exec $HOME/.config/sway/run.sh
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME=spaceship