38 lines
773 B
Bash
38 lines
773 B
Bash
#!/usr/bin/bash
|
|
|
|
# Start DE if on tty1
|
|
if [ "$(tty)" = /dev/tty1 ]; then
|
|
exec Hyprland
|
|
fi
|
|
|
|
# Start DE if on tty1
|
|
if [ "$(tty)" = /dev/tty5 ]; then
|
|
exec gamescope -e -W 2560 -H 1440 -r 165 -- steam
|
|
fi
|
|
|
|
# Start in zellij by default
|
|
export ZELLIJ_AUTO_EXIT=true
|
|
export ZELLIJ_CONFIG_FILE=~/.config/zellij/config.kdl
|
|
# eval "$(zellij setup --generate-auto-start bash)"
|
|
|
|
# fnm
|
|
FNM_PATH="$HOME/.local/share/fnm"
|
|
if test -d "$FNM_PATH" ; then
|
|
export PATH="$FNM_PATH:$PATH"
|
|
eval "$(fnm env --use-on-cd)"
|
|
fi
|
|
|
|
# Prompt
|
|
if command -v starship > /dev/null; then
|
|
eval "$(starship init bash)"
|
|
fi
|
|
|
|
# Zoxide
|
|
if command -v zoxide > /dev/null; then
|
|
eval "$(zoxide init --cmd cd bash)"
|
|
fi
|
|
|
|
if command -v jaaj &> /dev/null && command -v dotacat &> /dev/null; then
|
|
jaaj
|
|
fi
|
|
|