Consistency

This commit is contained in:
David Heinemeier Hansson
2026-05-21 19:30:30 +02:00
parent 486c73e6df
commit fed2298235
14 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ if [[ ${1:-} == "-q" ]]; then
shift
fi
if [[ $# -eq 0 || $1 == "-h" || $1 == "--help" ]]; then
if (( $# == 0 )) || [[ $1 == "-h" || $1 == "--help" ]]; then
cat <<USAGE
Usage: omarchy-shell [-q] <target> <method> [args...]
@@ -45,7 +45,7 @@ fi
SHELL_QML="$OMARCHY_PATH/shell/shell.qml"
if [[ $1 == "shell" && ( $2 == "summon" || $2 == "toggle" ) && $# -eq 3 ]]; then
if [[ $1 == "shell" && ( $2 == "summon" || $2 == "toggle" ) ]] && (( $# == 3 )); then
set -- "$1" "$2" "$3" "{}"
fi