Install user backgrounds in the correct path

This commit is contained in:
David Heinemeier Hansson
2026-01-03 17:53:21 -08:00
parent 2829279884
commit 7194176fe5
2 changed files with 8 additions and 1 deletions

View File

@@ -303,7 +303,7 @@ show_install_gaming_menu() {
show_install_style_menu() {
case $(menu "Install" "󰸌 Theme\n Background\n Font") in
*Theme*) present_terminal omarchy-theme-install ;;
*Background*) nautilus ~/.config/omarchy/current/theme/backgrounds ;;
*Background*) omarchy-theme-bg-install ;;
*Font*) show_install_font_menu ;;
*) show_install_menu ;;
esac

7
bin/omarchy-theme-bg-install Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
CURRENT_THEME_NAME="$(cat $HOME/.config/omarchy/current/theme.name)"
THEME_USER_BACKGROUNDS="$HOME/.config/omarchy/backgrounds/$CURRENT_THEME_NAME"
mkdir -p "$THEME_USER_BACKGROUNDS"
nautilus "$THEME_USER_BACKGROUNDS"