Quote Omarchy paths in commands

This commit is contained in:
David Heinemeier Hansson
2026-07-18 10:08:43 -07:00
parent 8862fb22bd
commit 3f87af5ef4
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ fi
staging_dir=$(mktemp -d) staging_dir=$(mktemp -d)
trap 'rm -rf "$staging_dir"' EXIT 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" cp "$logo_path" "$staging_dir/logo.png"
for asset in bullet.png entry.png lock.png; do for asset in bullet.png entry.png lock.png; do
+1 -1
View File
@@ -5,7 +5,7 @@
theme_dir="/usr/share/plymouth/themes/omarchy" 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 sudo plymouth-set-default-theme omarchy
if omarchy-cmd-present limine-mkinitcpio; then if omarchy-cmd-present limine-mkinitcpio; then
+1 -1
View File
@@ -42,7 +42,7 @@ theme_dir="/usr/share/plymouth/themes/omarchy"
staging_dir=$(mktemp -d) staging_dir=$(mktemp -d)
trap 'rm -rf "$staging_dir"' EXIT 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" cp "$logo_path" "$staging_dir/logo.png"
sed -i \ sed -i \
+1 -1
View File
@@ -11,7 +11,7 @@ echo "Resetting limine config"
sudo mv /boot/limine.conf /boot/limine.conf.bak 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-update
sudo limine-snapper-sync sudo limine-snapper-sync
+1 -1
View File
@@ -4,4 +4,4 @@
# omarchy:requires-sudo=true # omarchy:requires-sudo=true
sudo rm -rf /usr/share/sddm/themes/omarchy 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
+2 -2
View File
@@ -47,12 +47,12 @@ case "$gpu_mode" in
# Force igpu mode after system sleep (or dgpu could get activated) # Force igpu mode after system sleep (or dgpu could get activated)
sudo mkdir -p /usr/lib/systemd/system-sleep 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 # Delay supergfxd startup to avoid race condition with display manager
# that can cause system freeze when booting in Integrated mode # that can cause system freeze when booting in Integrated mode
sudo mkdir -p /etc/systemd/system/supergfxd.service.d 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 omarchy-system-reboot
fi fi
+1 -1
View File
@@ -12,7 +12,7 @@ if gum confirm "Install Voxtype + AI model (~150MB) to enable dictation?"; then
# Setup voxtype # Setup voxtype
mkdir -p ~/.config/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 voxtype setup --download --no-post-install
if omarchy-hw-vulkan; then if omarchy-hw-vulkan; then