From 3f87af5ef4cd59d9b9169d659944b9858c0591b1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 18 Jul 2026 10:08:30 -0700 Subject: [PATCH] Quote Omarchy paths in commands --- bin/omarchy-plymouth-preview | 2 +- bin/omarchy-plymouth-reset | 2 +- bin/omarchy-plymouth-set | 2 +- bin/omarchy-refresh-limine | 2 +- bin/omarchy-refresh-sddm | 2 +- bin/omarchy-toggle-hybrid-gpu | 4 ++-- bin/omarchy-voxtype-install | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/omarchy-plymouth-preview b/bin/omarchy-plymouth-preview index 2f4dd276..4c9bd86d 100755 --- a/bin/omarchy-plymouth-preview +++ b/bin/omarchy-plymouth-preview @@ -35,7 +35,7 @@ fi staging_dir=$(mktemp -d) trap 'rm -rf "$staging_dir"' EXIT -find $OMARCHY_PATH/default/plymouth -maxdepth 1 -type f -exec cp -t "$staging_dir/" {} + +find "$OMARCHY_PATH/default/plymouth" -maxdepth 1 -type f -exec cp -t "$staging_dir/" {} + cp "$logo_path" "$staging_dir/logo.png" for asset in bullet.png entry.png lock.png; do diff --git a/bin/omarchy-plymouth-reset b/bin/omarchy-plymouth-reset index 551df310..d97bb071 100755 --- a/bin/omarchy-plymouth-reset +++ b/bin/omarchy-plymouth-reset @@ -5,7 +5,7 @@ theme_dir="/usr/share/plymouth/themes/omarchy" -sudo find $OMARCHY_PATH/default/plymouth -maxdepth 1 -type f -exec cp -t "$theme_dir/" {} + +sudo find "$OMARCHY_PATH/default/plymouth" -maxdepth 1 -type f -exec cp -t "$theme_dir/" {} + sudo plymouth-set-default-theme omarchy if omarchy-cmd-present limine-mkinitcpio; then diff --git a/bin/omarchy-plymouth-set b/bin/omarchy-plymouth-set index cdf9d4f1..960ce660 100755 --- a/bin/omarchy-plymouth-set +++ b/bin/omarchy-plymouth-set @@ -42,7 +42,7 @@ theme_dir="/usr/share/plymouth/themes/omarchy" staging_dir=$(mktemp -d) trap 'rm -rf "$staging_dir"' EXIT -find $OMARCHY_PATH/default/plymouth -maxdepth 1 -type f -exec cp -t "$staging_dir/" {} + +find "$OMARCHY_PATH/default/plymouth" -maxdepth 1 -type f -exec cp -t "$staging_dir/" {} + cp "$logo_path" "$staging_dir/logo.png" sed -i \ diff --git a/bin/omarchy-refresh-limine b/bin/omarchy-refresh-limine index c8234278..40e30584 100755 --- a/bin/omarchy-refresh-limine +++ b/bin/omarchy-refresh-limine @@ -11,7 +11,7 @@ echo "Resetting limine config" sudo mv /boot/limine.conf /boot/limine.conf.bak -sudo cp $OMARCHY_PATH/default/limine/limine.conf /boot/limine.conf +sudo cp "$OMARCHY_PATH/default/limine/limine.conf" /boot/limine.conf sudo limine-update sudo limine-snapper-sync diff --git a/bin/omarchy-refresh-sddm b/bin/omarchy-refresh-sddm index 9f2c51ad..d03ddd33 100755 --- a/bin/omarchy-refresh-sddm +++ b/bin/omarchy-refresh-sddm @@ -4,4 +4,4 @@ # omarchy:requires-sudo=true sudo rm -rf /usr/share/sddm/themes/omarchy -sudo cp -r $OMARCHY_PATH/default/sddm/omarchy /usr/share/sddm/themes/omarchy +sudo cp -r "$OMARCHY_PATH/default/sddm/omarchy" /usr/share/sddm/themes/omarchy diff --git a/bin/omarchy-toggle-hybrid-gpu b/bin/omarchy-toggle-hybrid-gpu index 89b3ae8e..7a85d7e1 100755 --- a/bin/omarchy-toggle-hybrid-gpu +++ b/bin/omarchy-toggle-hybrid-gpu @@ -47,12 +47,12 @@ case "$gpu_mode" in # Force igpu mode after system sleep (or dgpu could get activated) sudo mkdir -p /usr/lib/systemd/system-sleep - sudo cp -p $OMARCHY_PATH/default/systemd/system-sleep/force-igpu /usr/lib/systemd/system-sleep/ + sudo cp -p "$OMARCHY_PATH/default/systemd/system-sleep/force-igpu" /usr/lib/systemd/system-sleep/ # Delay supergfxd startup to avoid race condition with display manager # that can cause system freeze when booting in Integrated mode sudo mkdir -p /etc/systemd/system/supergfxd.service.d - sudo cp -p $OMARCHY_PATH/default/systemd/system/supergfxd.service.d/delay-start.conf /etc/systemd/system/supergfxd.service.d/ + sudo cp -p "$OMARCHY_PATH/default/systemd/system/supergfxd.service.d/delay-start.conf" /etc/systemd/system/supergfxd.service.d/ omarchy-system-reboot fi diff --git a/bin/omarchy-voxtype-install b/bin/omarchy-voxtype-install index c3d7f5ae..62098e61 100755 --- a/bin/omarchy-voxtype-install +++ b/bin/omarchy-voxtype-install @@ -12,7 +12,7 @@ if gum confirm "Install Voxtype + AI model (~150MB) to enable dictation?"; then # Setup voxtype mkdir -p ~/.config/voxtype - cp $OMARCHY_PATH/default/voxtype/config.toml ~/.config/voxtype/ + cp "$OMARCHY_PATH/default/voxtype/config.toml" ~/.config/voxtype/ voxtype setup --download --no-post-install if omarchy-hw-vulkan; then