2023-09-28 10:52:20 +02:00
|
|
|
#!/usr/bin/bash
|
|
|
|
|
2024-06-01 03:35:15 +02:00
|
|
|
# Start DE if on tty1
|
|
|
|
if [ "$(tty)" = /dev/tty1 ]; then
|
|
|
|
exec Hyprland
|
|
|
|
fi
|
|
|
|
|
2024-06-27 23:11:56 +02:00
|
|
|
# Start DE if on tty1
|
|
|
|
if [ "$(tty)" = /dev/tty5 ]; then
|
|
|
|
exec gamescope -e -W 2560 -H 1440 -r 165 -- steam
|
|
|
|
fi
|
|
|
|
|
2024-08-18 18:57:43 +02:00
|
|
|
# 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)"
|
2024-06-01 03:13:28 +02:00
|
|
|
|
2024-08-18 19:00:34 +02:00
|
|
|
# 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
|
|
|
|
|
2024-02-16 15:08:48 +01:00
|
|
|
if command -v jaaj &> /dev/null && command -v dotacat &> /dev/null; then
|
2023-11-29 11:46:27 +01:00
|
|
|
jaaj
|
|
|
|
fi
|
2024-06-01 03:13:28 +02:00
|
|
|
|