pointfichiers/shell/bash/.bash_exec
2024-08-18 18:57:43 +02:00

21 lines
450 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)"
if command -v jaaj &> /dev/null && command -v dotacat &> /dev/null; then
jaaj
fi