Update .profile

This commit is contained in:
BitHeaven 2022-10-07 19:15:39 +05:00 committed by GitHub
parent c9216a9ae9
commit 858bf70aac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -1,4 +1,19 @@
if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ]; then if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ]; then
echo "Select:"
echo "0. DWM (default)"
echo "1. Onlyfox"
echo "2. Pohui, idem v tty"
read USER_CHOISE
USER_CHOISE=$(($USER_CHOISE + 0))
if [[ $USER_CHOISE -eq 1 ]]
then
startx firefox
elif [[ $USER_CHOISE -eq 2 ]]
then
echo "Nice choise)"
else
startx
fi
startx startx
fi fi