From 75c0e965a059a659f4bed2cdc79c3673ef4939e7 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Tue, 11 Nov 2025 23:18:57 -0500 Subject: [PATCH] Dir updates --- bin/omarchy-refresh-applications | 6 +++--- bin/omarchy-refresh-config | 10 +++++----- bin/omarchy-refresh-plymouth | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bin/omarchy-refresh-applications b/bin/omarchy-refresh-applications index c0f2bb00..4ea97e9e 100755 --- a/bin/omarchy-refresh-applications +++ b/bin/omarchy-refresh-applications @@ -2,12 +2,12 @@ # Copy and sync icon files mkdir -p ~/.local/share/icons/hicolor/48x48/apps/ -cp ~/.local/share/omarchy/applications/icons/*.png ~/.local/share/icons/hicolor/48x48/apps/ +cp /usr/share/omarchy/applications/icons/*.png ~/.local/share/icons/hicolor/48x48/apps/ gtk-update-icon-cache ~/.local/share/icons/hicolor &>/dev/null # Copy .desktop declarations mkdir -p ~/.local/share/applications -cp ~/.local/share/omarchy/applications/*.desktop ~/.local/share/applications/ -cp ~/.local/share/omarchy/applications/hidden/*.desktop ~/.local/share/applications/ +cp /usr/share/omarchy/applications/*.desktop ~/.local/share/applications/ +cp /usr/share/omarchy/applications/hidden/*.desktop ~/.local/share/applications/ update-desktop-database ~/.local/share/applications diff --git a/bin/omarchy-refresh-config b/bin/omarchy-refresh-config index 99036c8e..cdee3ed5 100755 --- a/bin/omarchy-refresh-config +++ b/bin/omarchy-refresh-config @@ -1,6 +1,6 @@ #!/bin/bash -# This script deploys ~/.local/share/omarchy/config/X/Y/Z -> ~/.config/X/Y/Z +# This script deploys /etc/skel/.config/X/Y/Z -> ~/.config/X/Y/Z config_file=$1 if [[ -z "$config_file" ]]; then @@ -8,16 +8,16 @@ if [[ -z "$config_file" ]]; then Usage: $0 [config_file] Must provide a file path from the .config directory to be refreshed. - To copy ~/.local/share/omarchy/config/hypr/hyprlock.conf to ~/.config/hypr/hyprlock.conf - - $0 hypr/hyprlock.conf + To copy /etc/skel/.config/hypr/hyprlock.conf to ~/.config/hypr/hyprlock.conf + + $0 hypr/hyprlock.conf USAGE exit 1 fi # Backup the destination file (with timestamp) to avoid clobbering (Ex: hyprlock.conf.bak.1753817951) user_config_file="${HOME}/.config/$config_file" -default_config_file="${HOME}/.local/share/omarchy/config/$config_file" +default_config_file="/etc/skel/.config/$config_file" backup_config_file="$user_config_file.bak.$(date +%s)" if [[ -f "$user_config_file" ]]; then diff --git a/bin/omarchy-refresh-plymouth b/bin/omarchy-refresh-plymouth index fce86bf3..76176648 100755 --- a/bin/omarchy-refresh-plymouth +++ b/bin/omarchy-refresh-plymouth @@ -1,6 +1,6 @@ #!/bin/bash -sudo cp ~/.local/share/omarchy/default/plymouth/* /usr/share/plymouth/themes/omarchy/ +sudo cp /usr/share/omarchy/default/plymouth/* /usr/share/plymouth/themes/omarchy/ sudo plymouth-set-default-theme omarchy if command -v limine-mkinitcpio &>/dev/null; then