3 Commits

5 changed files with 4 additions and 22 deletions

View File

@ -1,7 +0,0 @@
#!/bin/bash
if [[ ! -f ~/.local/state/omarchy/first-run.marker ]]; then
chromium --new-window --app=file://$HOME/.local/share/omarchy/first-run/index.html
mkdir -p ~/.local/state/omarchy
touch ~/.local/state/omarchy/first-run.marker
fi

View File

@ -10,7 +10,7 @@ fi
REPO_URL="$1"
THEMES_DIR="$HOME/.config/omarchy/themes"
THEME_NAME=$(basename "$REPO_URL" .git)
THEME_NAME=$(basename "$REPO_URL" .git | sed -E 's/^omarchy-//; s/-theme$//')
THEME_PATH="$THEMES_DIR/$THEME_NAME"
THEME_BACKGROUND_PATH="$THEME_PATH/backgrounds"
BACKGROUNDS_PATH="$HOME/.config/omarchy/backgrounds"
@ -27,12 +27,10 @@ if ! git clone "$REPO_URL" "$THEME_PATH"; then
exit 1
fi
# Copy backgrounds if present
# Link backgrounds if present
if [ -d $THEME_BACKGROUND_PATH ]; then
mkdir -p $BACKGROUNDS_THEME_PATH
cp $THEME_BACKGROUND_PATH/* $BACKGROUNDS_THEME_PATH/
ln -snf $THEME_BACKGROUND_PATH $BACKGROUNDS_THEME_PATH
fi
# Apply the new theme with omarchy-theme-set
omarchy-theme-set $THEME_NAME

View File

@ -2,4 +2,3 @@ exec-once = hypridle & mako & waybar & fcitx5
exec-once = swaybg -i ~/.config/omarchy/current/background -m fill
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = wl-clip-persist --clipboard regular --all-mime-type-regex '^(?!x-kde-passwordManagerHint).+'
exec-once = ~/.local/share/omarchy/bin/omarchy-first-run

View File

@ -1,8 +0,0 @@
<html>
<head>
<title>Hello</title>
</head>
<body>
<h1>Hello!</h1>
</body>
</html>

View File

@ -12,4 +12,4 @@ if [ -z "$OMARCHY_BARE" ]; then
fi
# Copy over Omarchy applications
source ~/.local/share/omarchy/bin/omarchy-sync-applications || true
source ~/.local/share/omarchy/bin/omarchy-refresh-applications || true