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
This commit is contained in:
2026-07-08 15:31:29 -04:00
parent fb52016257
commit d637a2c72a
162 changed files with 315 additions and 2879 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ fi
paru -Sy --needed iptables-nft
$DOTFILE_DIR/package-installer $DOTFILE_DIR/packages/sjb-base.packages
$DOTFILES_DIR/package-installer $DOTFILES_DIR/packages/sjb-base.packages
if [[ -x "$(command -v systemctl)" ]]; then
sudo systemctl enable --now bluetooth.service
+2 -2
View File
@@ -1,9 +1,9 @@
#!/bin/sh -e
${DOTFILES_DIR}/sync-config config/btop
THEMES_DIR="${HOME}/.local/share/themes"
THEME_DIR="${HOME}/.config/omarchy/current/theme"
# theme link
mkdir -p ~/.config/btop/themes
ln -snf ${THEMES_DIR}/current/theme/btop.theme ${HOME}/.config/btop/themes/current.theme
ln -snf ${THEME_DIR}/btop.theme ${HOME}/.config/btop/themes/current.theme
+3 -3
View File
@@ -4,7 +4,7 @@ if [[ -x "$(command -v systemctl)" ]]; then
systemctl --user enable --now syncthing
fi
THEMES_DIR="${HOME}/.local/share/themes"
THEME_DIR="${HOME}/.config/omarchy/current/theme"
${DOTFILES_DIR}/sync-config config/hypr
@@ -24,11 +24,11 @@ fi
${DOTFILES_DIR}/sync-config config/rofi
${DOTFILES_DIR}/sync-config config/mako
ln -snf ${THEMES_DIR}/current/theme/mako.ini ${HOME}/.config/mako/config
ln -snf ${THEME_DIR}/current/theme/mako.ini ${HOME}/.config/mako/config
${DOTFILES_DIR}/sync-config config/ghostty
ln -snf ${THEMES_DIR}/current/theme/ghostty ${HOME}/.config/ghostty/theme
ln -snf ${THEME_DIR}/current/theme/ghostty ${HOME}/.config/ghostty/theme
${DOTFILES_DIR}/sync-config config/chromium-flags.conf
Regular → Executable
View File
Regular → Executable
View File
+2 -2
View File
@@ -8,10 +8,10 @@ ${DOTFILES_DIR}/sync-config config/nvim
# Set specific app links for current theme
PLUGINS_DIR="${HOME}/.config/nvim/plugin"
THEMES_DIR="${HOME}/.local/share/themes"
THEME_DIR="${HOME}/.config/omarchy/current/theme"
mkdir -p ${PLUGINS_DIR}
ln -snf ${THEMES_DIR}/current/theme/neovim-vimpack.lua ${PLUGINS_DIR}/theme.lua
ln -snf ${THEME_DIR}/current/theme/neovim-vimpack.lua ${PLUGINS_DIR}/theme.lua
uv tool install vectorcode
Regular → Executable
View File
+2 -3
View File
@@ -18,8 +18,7 @@ ${DOTFILES_DIR}/sync-script script/omarchy-theme-list
${DOTFILES_DIR}/sync-script script/omarchy-theme-set
# Set initial theme
THEMES_DIR="$HOME/.local/share/themes"
mkdir -p ${THEMES_DIR}
ln -snf ${DOTFILES_DIR}/themes/ ${THEMES_DIR}/available
THEME_DIR="${HOME}/.config/omarchy/current/theme"
mkdir -p ${THEME_DIR}
omarchy-theme-set "tokyo-night"
+2 -2
View File
@@ -5,9 +5,9 @@ if [[ ! -x "$(command -v tmux)" ]]; then
fi
${DOTFILES_DIR}/sync-config config/tmux
THEMES_DIR="${HOME}/.local/share/themes"
THEME_DIR="${HOME}/.config/omarchy/current/theme"
ln -snf ${THEMES_DIR}/current/theme/tmux ${HOME}/.config/tmux/theme
ln -snf ${THEME_DIR}/current/theme/tmux ${HOME}/.config/tmux/theme
# setup tmux
if [[ ! -d ~/.config/tmux/plugins/tpm ]]; then