pointfichiers/shell/bash/.bash_exec

20 lines
373 B
Bash
Raw Normal View History

2023-09-28 10:52:20 +02:00
#!/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 tmux by default
# [[ $TERM != "screen" ]] && [ -z "$TMUX" ] && exec tmux
if command -v jaaj &> /dev/null && command -v dotacat &> /dev/null; then
jaaj
fi