new linux workstation

This commit is contained in:
Jason Swank
2026-01-02 22:21:13 -05:00
parent 252f2fdff7
commit 89c3b86c47
5 changed files with 255 additions and 11 deletions

View File

@@ -1,4 +1,9 @@
if [[ ! $DISPLAY && $(tty) = "/dev/tty1" ]]; then
startx
exit
# This file is sourced by zsh when a login shell is started.
# Start a Wayland session with Sway if no graphical session is running
# and the user is on the first virtual terminal (tty1).
if [[ -z $DISPLAY && -z $WAYLAND_DISPLAY && $(tty) = "/dev/tty1" ]]; then
if [[ -x "$(command -v sway)" ]]; then
exec sway
fi
fi

View File

@@ -16,7 +16,7 @@ setopt auto_cd # there is no binary by that name in your $PATH, your shell will
# use vi-style keymap
bindkey -v
if [ "${TERM}" = "xterm" ]; then
if [[ "${TERM}" == xterm* ]]; then
TERM=xterm-256color
fi