Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/omarchy-cmd-screenshot
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ case "$MODE" in
SELECTION=$(echo "$RECTS" | slurp 2>/dev/null)
kill $PID 2>/dev/null

# If the selction area is L * W < 20, we'll assume you were trying to select whichever
# If the selection area is L * W < 20, we'll assume you were trying to select whichever
# window or output it was inside of to prevent accidental 2px snapshots
if [[ "$SELECTION" =~ ^([0-9]+),([0-9]+)[[:space:]]([0-9]+)x([0-9]+)$ ]]; then
if (( ${BASH_REMATCH[3]} * ${BASH_REMATCH[4]} < 20 )); then
Expand Down
2 changes: 1 addition & 1 deletion bin/omarchy-install-docker-dbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
options=("MySQL" "PostgreSQL" "Redis" "MongoDB" "MariaDB" "MSSQL")

if [[ "$#" -eq 0 ]]; then
choices=$(printf "%s\n" "${options[@]}" | gum choose --header "Select database (return to install, esc to cancel)") || main_menu
choices=$(printf "%s\n" "${options[@]}" | gum choose --header "Select database (return to install, esc to cancel)") || exit 0
else
choices="$@"
fi
Expand Down
2 changes: 1 addition & 1 deletion bin/omarchy-theme-set
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if [[ -z $1 && $1 != "CNCLD" ]]; then
if [[ -z $1 || $1 == "CNCLD" ]]; then
echo "Usage: omarchy-theme-set <theme-name>"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion bin/omarchy-upload-log
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ installed)
;;

*)
echo "Usage: $0 [install|this-boot|last-boot|system-info]"
echo "Usage: $0 [install|this-boot|last-boot|installed]"
echo " install - Upload installation logs (default)"
echo " this-boot - Upload logs from current boot"
echo " last-boot - Upload logs from previous boot"
Expand Down