From 25bd9aec9e2ece324f99568783033f8e2eb939ff Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Wed, 20 May 2026 16:32:09 -0400 Subject: [PATCH] Normalize remaining ~/.local/share/omarchy refs in bin/ Missed in the previous pass: - bin/omarchy-launch-screensaver: alacritty/ghostty config paths - bin/omarchy-refresh-applications: source paths for icons and .desktop - bin/omarchy-refresh-config: docstring/comment references Still NOT touched (intentional): - bin/omarchy-reinstall-git: stages '~/.local/share/omarchy-{old,new}' for the script-mode upgrade dance; needs redesign for package mode. - bin/omarchy-dev-add-migration: uses 'cd ~/.local/share/omarchy' to read a git log; only meaningful in dev mode. - bin/omarchy-install-browser:69: writes a string into a chromium config file. - install/helpers/errors.sh:125: boot.sh relaunch (separate redesign). --- bin/omarchy-launch-screensaver | 4 ++-- bin/omarchy-refresh-config | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/omarchy-launch-screensaver b/bin/omarchy-launch-screensaver index 13480bbf..846d7801 100755 --- a/bin/omarchy-launch-screensaver +++ b/bin/omarchy-launch-screensaver @@ -32,10 +32,10 @@ for m in $(hyprctl monitors -j | jq -r '.[] | .name'); do case $terminal in *Alacritty*) - hypr_exec "alacritty --class=org.omarchy.screensaver --config-file ~/.local/share/omarchy/default/alacritty/screensaver.toml -e omarchy-screensaver" + hypr_exec "alacritty --class=org.omarchy.screensaver --config-file $OMARCHY_PATH/default/alacritty/screensaver.toml -e omarchy-screensaver" ;; *ghostty*) - hypr_exec "ghostty --class=org.omarchy.screensaver --config-file=~/.local/share/omarchy/default/ghostty/screensaver --font-size=18 -e omarchy-screensaver" + hypr_exec "ghostty --class=org.omarchy.screensaver --config-file=$OMARCHY_PATH/default/ghostty/screensaver --font-size=18 -e omarchy-screensaver" ;; *foot*) hypr_exec "foot --app-id=org.omarchy.screensaver --config=\"$OMARCHY_PATH/default/foot/screensaver.ini\" -e omarchy-screensaver" diff --git a/bin/omarchy-refresh-config b/bin/omarchy-refresh-config index 7f49f298..e4c99411 100755 --- a/bin/omarchy-refresh-config +++ b/bin/omarchy-refresh-config @@ -1,6 +1,6 @@ #!/bin/bash -# omarchy:summary=Copies the named config from ~/.local/share/omarchy/config/X/Y/Z -> ~/.config/X/Y/Z. +# omarchy:summary=Copies the named config from $OMARCHY_PATH/config/X/Y/Z -> ~/.config/X/Y/Z. # omarchy:args= config_file=$1 @@ -10,7 +10,7 @@ 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/hyprland.lua to ~/.config/hypr/hyprland.lua + To copy $OMARCHY_PATH/config/hypr/hyprland.lua to ~/.config/hypr/hyprland.lua $0 hypr/hyprland.lua USAGE