install: add split system and user targets

This commit is contained in:
Ryan Hughes
2026-06-04 18:35:01 -04:00
parent b29747a54b
commit 53e2611507
24 changed files with 172 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# Setup user theme folder
mkdir -p ~/.config/omarchy/themes
# Set initial theme. Offline ISO installs only need the user's theme files and
# symlinks seeded; there is no running desktop/session bus in the chroot, so
# skip shell IPC, dconf, app retint hooks, and background transition work.
if install_mode_is offline; then
OMARCHY_THEME_OFFLINE=1 OMARCHY_THEME_SKIP_BACKGROUND=1 omarchy-theme-set "Tokyo Night"
else
omarchy-theme-set "Tokyo Night"
fi
rm -rf ~/.config/chromium/SingletonLock # otherwise archiso will own the chromium singleton
# Set specific app links for current theme
mkdir -p ~/.config/btop/themes
ln -snf ~/.config/omarchy/current/theme/btop.theme ~/.config/btop/themes/current.theme