zshrc: Start sway when running on tty1
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
2d68111eca
commit
21e578b20b
4
zshrc
4
zshrc
|
@ -6,6 +6,10 @@
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
export PATH="$HOME/.local/share/flatpak/exports/bin:$HOME/.local/bin:$PATH"
|
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
|
export ZSH=$HOME/.oh-my-zsh
|
||||||
|
|
||||||
ZSH_THEME=spaceship
|
ZSH_THEME=spaceship
|
||||||
|
|
Reference in a new issue