diff --git a/bin/omarchy-menu-images b/bin/omarchy-menu-images index 970f9392..55ebc179 100755 --- a/bin/omarchy-menu-images +++ b/bin/omarchy-menu-images @@ -84,7 +84,7 @@ done_file=$(mktemp) rm -f "$done_file" trap 'rm -f "$selection_file" "$done_file"' EXIT socket_path="${XDG_RUNTIME_DIR:-/run/user/$UID}/omarchy-image-selector.sock" -selector_qml="$OMARCHY_PATH/default/quickshell/background-switcher.qml" +selector_qml="$OMARCHY_PATH/default/quickshell/select-by-image.qml" image_dirs_env="" for dir in "${image_dirs[@]}"; do @@ -216,7 +216,7 @@ fi rows_payload=${rows//$'\t'/$'\f'} rows_payload=${rows_payload//$'\n'/$'\v'} -colors_file=${colors_file:-$HOME/.config/omarchy/current/theme/background-switcher-colors.json} +colors_file=${colors_file:-$HOME/.config/omarchy/current/theme/quickshell.json} colors_payload="" if [[ -f $colors_file ]]; then diff --git a/default/quickshell/background-switcher.qml b/default/quickshell/select-by-image.qml similarity index 99% rename from default/quickshell/background-switcher.qml rename to default/quickshell/select-by-image.qml index 6968f446..4b970dee 100644 --- a/default/quickshell/background-switcher.qml +++ b/default/quickshell/select-by-image.qml @@ -12,7 +12,7 @@ ShellRoot { property string imageRows: "" property string selectionFile: Quickshell.env("OMARCHY_IMAGE_SELECTOR_SELECTION_FILE") || Quickshell.env("OMARCHY_BACKGROUND_SELECTION_FILE") property string selectedImage: Quickshell.env("OMARCHY_IMAGE_SELECTOR_SELECTED") - property string colorsFile: Quickshell.env("OMARCHY_IMAGE_SELECTOR_COLORS_FILE") || (Quickshell.env("HOME") + "/.config/omarchy/current/theme/background-switcher-colors.json") + property string colorsFile: Quickshell.env("OMARCHY_IMAGE_SELECTOR_COLORS_FILE") || (Quickshell.env("HOME") + "/.config/omarchy/current/theme/quickshell.json") property int selectedIndex: 0 property bool imagesLoaded: false property bool opened: false @@ -241,7 +241,7 @@ ShellRoot { showLabels = nextShowLabels === true || nextShowLabels === "true" filterable = nextFilterable === true || nextFilterable === "true" filterText = "" - colorsFile = nextColorsFile || (Quickshell.env("HOME") + "/.config/omarchy/current/theme/background-switcher-colors.json") + colorsFile = nextColorsFile || (Quickshell.env("HOME") + "/.config/omarchy/current/theme/quickshell.json") if (nextColorsRaw) loadColors(nextColorsRaw) imageModel.clear() diff --git a/default/themed/background-switcher-colors.json.tpl b/default/themed/quickshell.json.tpl similarity index 100% rename from default/themed/background-switcher-colors.json.tpl rename to default/themed/quickshell.json.tpl