summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/br4
-rwxr-xr-xscripts/sdev8
2 files changed, 6 insertions, 6 deletions
diff --git a/scripts/br b/scripts/br
index 6802b75..8e55937 100755
--- a/scripts/br
+++ b/scripts/br
@@ -33,8 +33,8 @@ if [ "${#}" -eq 0 ]; then
[ -z "${link}" ] || "${browser}" "${link}"
-elif [ "${#}" -eq 1 ]; then
- [ "${1}" = "-h" ] && help
+elif [ "${#}" -eq 1 ]; then
+ [ "${1}" = "-h" ] && help
"${browser}" "${1}"
else
diff --git a/scripts/sdev b/scripts/sdev
index 22c1af5..39f22c5 100755
--- a/scripts/sdev
+++ b/scripts/sdev
@@ -50,13 +50,13 @@ check_program "xinput"
while getopts "e:d:t:lh" option; do
case "${option}" in
- e)
+ e)
get_id "${OPTARG}"
xenable "${id}"
;;
- d)
+ d)
get_id "${OPTARG}"
- xdisable "${id}"
+ xdisable "${id}"
;;
t)
get_id "${OPTARG}"
@@ -67,7 +67,7 @@ while getopts "e:d:t:lh" option; do
l)
if ! xinput list 2>/dev/null; then
err "Listing Failed"
- else
+ else
exit 0
fi
;;