48 lines
836 B
Bash
48 lines
836 B
Bash
# 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
|
|
|
|
# xdg
|
|
export XDG_CONFIG_HOME=$HOME/.config
|
|
export XDG_DATA_HOME=$HOME/.local/share
|
|
|
|
# ricing
|
|
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
|
|
|
|
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
|