summaryrefslogtreecommitdiff
path: root/.zprofile
diff options
context:
space:
mode:
Diffstat (limited to '.zprofile')
-rw-r--r--.zprofile54
1 files changed, 30 insertions, 24 deletions
diff --git a/.zprofile b/.zprofile
index 9045a22..492caa4 100644
--- a/.zprofile
+++ b/.zprofile
@@ -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