summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-06-19 00:45:57 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-06-19 00:45:57 +0400
commit4b772b29644c0be670cededdea6732d6f2bc642a (patch)
tree585ca4db58e3d0ffdef3881714e4cc710bac2364 /scripts
parent0495f17898e621b5b7199b20d2ee28d2841a5a2a (diff)
scripts: useless trailing spaces cleaned
Diffstat (limited to 'scripts')
-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
;;