28 lines
1.3 KiB
Bash
28 lines
1.3 KiB
Bash
# Set links for Nautilus action icons
|
|
sudo ln -snf /usr/share/icons/Adwaita/symbolic/actions/go-previous-symbolic.svg /usr/share/icons/Yaru/scalable/actions/go-previous-symbolic.svg
|
|
sudo ln -snf /usr/share/icons/Adwaita/symbolic/actions/go-next-symbolic.svg /usr/share/icons/Yaru/scalable/actions/go-next-symbolic.svg
|
|
|
|
# Setup user theme folder
|
|
mkdir -p ~/.config/omarchy/themes
|
|
|
|
# Chromium policy directory for theme
|
|
sudo mkdir -p /etc/chromium/policies/managed
|
|
sudo chmod a+rw /etc/chromium/policies/managed
|
|
|
|
# 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
|
|
|
|
# Default Chromium to follow system appearance ("device") instead of dark
|
|
echo '{"browser":{"theme":{"color_scheme":0,"color_scheme2":0}}}' | sudo tee /usr/lib/chromium/initial_preferences >/dev/null
|