aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2024-01-16 19:08:16 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2024-01-16 19:08:16 +0100
commit7511ac790d137c7026ce29621cc8a48eb9dbf036 (patch)
tree53cf4c09ec2aa4b776772aef5ef436e217fc8b96 /install.sh
parentb547f50f3e6d98c6e90dd38630377ec8eaf3d9ee (diff)
handle keyboard layout setting correctly in install script
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/install.sh b/install.sh
index 09bb077..27489d0 100755
--- a/install.sh
+++ b/install.sh
@@ -17,11 +17,6 @@
set -e
-if [[ -z "$1" || -z "$2" ]]; then
- echo -e "\e[1m\e[1;31mUsage: <xkblayout> <xkbvariant>"
- exit 1
-fi
-
echo -e "\e[1m\e[1;31mMAKE SURE YOU ARE IN THE DIRECTORY THIS SCRIPT IS LOCATED IN!"
echo -e "\e[0m\e[1;31mIf you're sure you are in the correct dir, press Enter."
read
@@ -137,4 +132,5 @@ cargo install --git https://github.com/Kirottu/watershot.git
chsh -s /bin/zsh
echo -e "\e[1m\e[1;32mSuccess! You can now log in on tty1."
+echo -e "\e[1m\e[1;32mYou can set the keyboard layout in the ~/.kblayout file."
echo -en "\e[0m"