diff options
Diffstat (limited to '')
-rw-r--r-- | .zprofile | 30 |
1 files changed, 25 insertions, 5 deletions
@@ -20,9 +20,29 @@ export GTK_THEME=Lavanda-Sea-Dark # Set terminal export TERMINAL=alacritty -# start sway only once and on the primary tty -if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then - exec sway &> .log/sway -fi +clear +echo +echo +echo "Please select an environment..." +echo "Or press any key to enter terminal" +echo "[S]way [H]yprland" +echo +echo -exec fbterm +stty raw -echo +choice=$(dd bs=1 count=1 2> /dev/null) +stty -raw echo + +case "$choice" in + + "s") + echo "Launching sway..." + exec sway &> $HOME/.log/sway + ;; + "h") + echo "Launching Hyprland..." + exec Hyprland &> $HOME/.log/Hyprland + ;; +esac + +exec fbterm &> $HOME/.log/fbterm |