fixed broken conditional
This commit is contained in:
@@ -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
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
hostname=$(/usr/bin/hostname)
|
||||
|
||||
if [[ $hostname -eq "bepis" ]]; then
|
||||
if [[ $hostname == "bepis" ]]; then
|
||||
$(~/.config/screenlayout/bepis.sh)
|
||||
fi
|
||||
Reference in New Issue
Block a user