Files
dotfiles/installer/theme.sh
T
gitadmin d637a2c72a refactor: migrate to template-based theme system, clean up old per-theme configs
- Remove per-theme app configs (alacritty, foot, ghostty, hyprland,
  hyprlock, mako, rofi, swayosd, tmux, walker, waybar, etc.) now
  handled by default/themed/ templates
- Update omarchy scripts (bg-next, list, set) for new template flow
- Update configs: bootstrap, nvim, rofi, tmux, mako
- Tweak installers (02-install-base.sh, btop, desktop, goose, nvim,
  obsidian, theme, tmux)
- Remove obsolete hyprland-rofi-* and hyprland-walker-* scripts
- Update neovim.lua across remaining themes
2026-07-08 15:31:29 -04:00

25 lines
803 B
Bash
Executable File

#!/bin/sh -e
# Use dark mode for QT apps too (like kdenlive)
# Allow icons to match the theme
# Prefer dark mode everything
if [[ ! -x "$(command -v paru)" ]]; then
paru -Sy --needed --noconfirm kvantum-qt5 gnome-themes-extra yaru-icon-theme
fi
if [[ ! -x "$(command -v gsettings)" ]]; then
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue"
fi
${DOTFILES_DIR}/sync-script script/omarchy-theme-bg-next
${DOTFILES_DIR}/sync-script script/omarchy-theme-list
${DOTFILES_DIR}/sync-script script/omarchy-theme-set
# Set initial theme
THEME_DIR="${HOME}/.config/omarchy/current/theme"
mkdir -p ${THEME_DIR}
omarchy-theme-set "tokyo-night"