fixed broken conditional

This commit is contained in:
2023-09-21 15:15:57 +02:00
parent d4937bccd1
commit a0c729dd22
2 changed files with 5 additions and 6 deletions

View File

@@ -1,11 +1,10 @@
#!/bin/bash
hostname=$(/usr/bin/hostname)
if [[ hostname -eq "bepis" ]]; then
echo "bepis"
$(~/.config/keyboard/qwerty.sh)
elif [[ hostname -eq "bepis-laptop" ]]; then
if [[ $hostname == "bepis-laptop" ]]; then
echo "bepis-laptop"
$(~/.config/keyboard/colemak.sh)
elif [[ $hostname == "bepis" ]]; then
echo "bepis"
$(~/.config/keyboard/qwerty.sh)
fi

View File

@@ -1,6 +1,6 @@
#!/bin/bash
hostname=$(/usr/bin/hostname)
if [[ $hostname -eq "bepis" ]]; then
if [[ $hostname == "bepis" ]]; then
$(~/.config/screenlayout/bepis.sh)
fi