2023-11-27 18:03:12 +00:00
|
|
|
# Setup locale
|
|
|
|
export LANG=en_US.UTF-8
|
|
|
|
export LC_COLLATE=C
|
|
|
|
|
|
|
|
# Neovim go brrrr
|
|
|
|
export EDITOR=nvim
|
|
|
|
|
|
|
|
# wayland fixes
|
|
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
|
|
export MOZ_USE_XINPUT2=1
|
|
|
|
|
2023-11-28 14:07:49 +00:00
|
|
|
# xdg
|
|
|
|
export XDG_CONFIG_HOME=$HOME/.config
|
|
|
|
export XDG_DATA_HOME=$HOME/.local/share
|
|
|
|
|
2023-11-27 18:03:12 +00:00
|
|
|
# ricing
|
|
|
|
export GTK_THEME=Lavanda-Sea-Dark
|
|
|
|
|
|
|
|
# Set terminal
|
|
|
|
export TERMINAL=alacritty
|
|
|
|
|
2024-01-24 22:22:43 +00:00
|
|
|
if [ -n "$TMUX" ]; then
|
|
|
|
return
|
|
|
|
fi
|
|
|
|
|
2024-01-22 23:34:10 +00:00
|
|
|
clear
|
2024-01-24 22:22:43 +00:00
|
|
|
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"
|
|
|
|
|
|
|
|
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
|