16 lines
611 B
Bash
16 lines
611 B
Bash
# Setup user theme folder and seed the default only when no theme exists yet.
|
|
mkdir -p ~/.config/omarchy/themes
|
|
|
|
if [[ ! -s $HOME/.local/state/omarchy/current/theme.name ]]; then
|
|
if [[ ${OMARCHY_SETUP_CONTEXT:-runtime} == "iso-chroot" ]]; then
|
|
OMARCHY_THEME_HEADLESS=1 omarchy-theme-set "Tokyo Night"
|
|
rm -f ~/.config/chromium/SingletonLock # otherwise archiso owns the Chromium singleton
|
|
else
|
|
omarchy-theme-set "Tokyo Night"
|
|
fi
|
|
fi
|
|
omarchy-theme-set-pi --activate
|
|
|
|
mkdir -p ~/.config/btop/themes
|
|
ln -snf "$HOME/.local/state/omarchy/current/theme/btop.theme" ~/.config/btop/themes/current.theme
|