Dir updates

This commit is contained in:
Ryan Hughes
2025-11-11 23:18:57 -05:00
parent 378497c8a2
commit 75c0e965a0
3 changed files with 9 additions and 9 deletions

View File

@@ -2,12 +2,12 @@
# Copy and sync icon files # Copy and sync icon files
mkdir -p ~/.local/share/icons/hicolor/48x48/apps/ 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 gtk-update-icon-cache ~/.local/share/icons/hicolor &>/dev/null
# Copy .desktop declarations # Copy .desktop declarations
mkdir -p ~/.local/share/applications mkdir -p ~/.local/share/applications
cp ~/.local/share/omarchy/applications/*.desktop ~/.local/share/applications/ cp /usr/share/omarchy/applications/*.desktop ~/.local/share/applications/
cp ~/.local/share/omarchy/applications/hidden/*.desktop ~/.local/share/applications/ cp /usr/share/omarchy/applications/hidden/*.desktop ~/.local/share/applications/
update-desktop-database ~/.local/share/applications update-desktop-database ~/.local/share/applications

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/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 config_file=$1
if [[ -z "$config_file" ]]; then if [[ -z "$config_file" ]]; then
@@ -8,16 +8,16 @@ if [[ -z "$config_file" ]]; then
Usage: $0 [config_file] Usage: $0 [config_file]
Must provide a file path from the .config directory to be refreshed. 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 To copy /etc/skel/.config/hypr/hyprlock.conf to ~/.config/hypr/hyprlock.conf
$0 hypr/hyprlock.conf $0 hypr/hyprlock.conf
USAGE USAGE
exit 1 exit 1
fi fi
# Backup the destination file (with timestamp) to avoid clobbering (Ex: hyprlock.conf.bak.1753817951) # Backup the destination file (with timestamp) to avoid clobbering (Ex: hyprlock.conf.bak.1753817951)
user_config_file="${HOME}/.config/$config_file" 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)" backup_config_file="$user_config_file.bak.$(date +%s)"
if [[ -f "$user_config_file" ]]; then if [[ -f "$user_config_file" ]]; then

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/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 sudo plymouth-set-default-theme omarchy
if command -v limine-mkinitcpio &>/dev/null; then if command -v limine-mkinitcpio &>/dev/null; then