diff options
Diffstat (limited to '.zprofile')
-rw-r--r-- | .zprofile | 54 |
1 files changed, 30 insertions, 24 deletions
@@ -20,29 +20,35 @@ export GTK_THEME=Lavanda-Sea-Dark # Set terminal export TERMINAL=alacritty -clear -echo -echo -echo "Please select an environment..." -echo "Or press any key to enter terminal" -echo "[S]way [H]yprland" -echo -echo - -stty raw -echo -choice=$(dd bs=1 count=1 2> /dev/null) -stty -raw echo +if [ -n "$TMUX" ]; then + return +fi -case "$choice" in +clear +printf "\t\n\t\n\t\n\t\n" +echo "\tPlease select an environment..." +echo "\t[S]way [H]yprland [T]erminal [E]xit" +printf "\t\n\t\n\t" - "s") - echo "Launching sway..." - exec sway &> $HOME/.log/sway - ;; - "h") - echo "Launching Hyprland..." - exec Hyprland &> $HOME/.log/Hyprland - ;; -esac - -exec fbterm &> $HOME/.log/fbterm +while true; do + 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 + ;; + "t") + exec cage -s kitty -- -o font_size=14 + ;; + "e") + exit + ;; + esac +done |