mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 07:19:27 -05:00
06775806d5
- Replace hardcoded Bash logic with declarative YAML configuration - Implement user preference wizard for shell/terminal/keybindings - Add conditional file copying based on user preferences - Support multiple sync modes: sync, soft, hard, hard-backup, soft-backup, skip, skip-if-exists - Implement MD5 hash comparison for idempotent backups - Add fontconfig fontset support via II_FONTSET_NAME - Complete coverage of all config directories and files from original script This is an experimental feature enabled via --exp-files flag.
117 lines
3.4 KiB
YAML
117 lines
3.4 KiB
YAML
version: "1.0"
|
|
user_preferences:
|
|
shell: "fish" # fish | zsh
|
|
terminal: "foot" # kitty | foot
|
|
keybindings: "default" # default | vim
|
|
patterns:
|
|
# Always install these files
|
|
- from: "dots/.config/quickshell"
|
|
to: "$XDG_CONFIG_HOME/quickshell"
|
|
mode: "sync"
|
|
# Conditionally install these files
|
|
- from: "dots/.config/fish"
|
|
to: "$XDG_CONFIG_HOME/fish"
|
|
mode: "sync"
|
|
condition:
|
|
type: "shell"
|
|
value: "fish"
|
|
- from: "dots/.config/zshrc.d"
|
|
to: "$XDG_CONFIG_HOME/zshrc.d"
|
|
mode: "sync"
|
|
condition:
|
|
type: "shell"
|
|
value: "zsh"
|
|
- from: "dots/.config/foot"
|
|
to: "$XDG_CONFIG_HOME/foot"
|
|
mode: "sync"
|
|
condition:
|
|
type: "terminal"
|
|
value: "foot"
|
|
- from: "dots/.config/kitty"
|
|
to: "$XDG_CONFIG_HOME/kitty"
|
|
mode: "sync"
|
|
condition:
|
|
type: "terminal"
|
|
value: "kitty"
|
|
# Hyprland
|
|
- from: "dots/.config/hypr"
|
|
to: "$XDG_CONFIG_HOME/hypr"
|
|
mode: "sync"
|
|
excludes: ["custom", "hyprlock.conf", "hypridle.conf", "hyprland.conf"]
|
|
# Hyprland special files
|
|
- from: "dots/.config/hypr/hyprland.conf"
|
|
to: "$XDG_CONFIG_HOME/hypr/hyprland.conf"
|
|
mode: "hard-backup"
|
|
- from: "dots/.config/hypr/hypridle.conf"
|
|
to: "$XDG_CONFIG_HOME/hypr/hypridle.conf"
|
|
mode: "soft-backup"
|
|
- from: "dots/.config/hypr/hyprlock.conf"
|
|
to: "$XDG_CONFIG_HOME/hypr/hyprlock.conf"
|
|
mode: "soft-backup"
|
|
- from: "dots/.config/hypr/custom"
|
|
to: "$XDG_CONFIG_HOME/hypr/custom"
|
|
mode: "skip-if-exists"
|
|
- from: "dots/.local/share/icons"
|
|
to: "$XDG_DATA_HOME/icons"
|
|
mode: "soft"
|
|
- from: "dots/.local/share/konsole"
|
|
to: "$XDG_DATA_HOME/konsole"
|
|
mode: "soft"
|
|
# Fontconfig (default - fontsets handled separately if II_FONTSET_NAME is set)
|
|
- from: "dots/.config/fontconfig"
|
|
to: "$XDG_CONFIG_HOME/fontconfig"
|
|
mode: "sync"
|
|
# MISC config directories (other .config directories)
|
|
- from: "dots/.config/fuzzel"
|
|
to: "$XDG_CONFIG_HOME/fuzzel"
|
|
mode: "sync"
|
|
- from: "dots/.config/kde-material-you-colors"
|
|
to: "$XDG_CONFIG_HOME/kde-material-you-colors"
|
|
mode: "sync"
|
|
- from: "dots/.config/Kvantum"
|
|
to: "$XDG_CONFIG_HOME/Kvantum"
|
|
mode: "sync"
|
|
- from: "dots/.config/matugen"
|
|
to: "$XDG_CONFIG_HOME/matugen"
|
|
mode: "sync"
|
|
- from: "dots/.config/mpv"
|
|
to: "$XDG_CONFIG_HOME/mpv"
|
|
mode: "sync"
|
|
- from: "dots/.config/qt5ct"
|
|
to: "$XDG_CONFIG_HOME/qt5ct"
|
|
mode: "sync"
|
|
- from: "dots/.config/qt6ct"
|
|
to: "$XDG_CONFIG_HOME/qt6ct"
|
|
mode: "sync"
|
|
- from: "dots/.config/wlogout"
|
|
to: "$XDG_CONFIG_HOME/wlogout"
|
|
mode: "sync"
|
|
- from: "dots/.config/xdg-desktop-portal"
|
|
to: "$XDG_CONFIG_HOME/xdg-desktop-portal"
|
|
mode: "sync"
|
|
# MISC config files (individual files in .config)
|
|
- from: "dots/.config/chrome-flags.conf"
|
|
to: "$XDG_CONFIG_HOME/chrome-flags.conf"
|
|
mode: "soft"
|
|
- from: "dots/.config/code-flags.conf"
|
|
to: "$XDG_CONFIG_HOME/code-flags.conf"
|
|
mode: "soft"
|
|
- from: "dots/.config/darklyrc"
|
|
to: "$XDG_CONFIG_HOME/darklyrc"
|
|
mode: "soft"
|
|
- from: "dots/.config/dolphinrc"
|
|
to: "$XDG_CONFIG_HOME/dolphinrc"
|
|
mode: "soft"
|
|
- from: "dots/.config/kdeglobals"
|
|
to: "$XDG_CONFIG_HOME/kdeglobals"
|
|
mode: "soft"
|
|
- from: "dots/.config/konsolerc"
|
|
to: "$XDG_CONFIG_HOME/konsolerc"
|
|
mode: "soft"
|
|
- from: "dots/.config/starship.toml"
|
|
to: "$XDG_CONFIG_HOME/starship.toml"
|
|
mode: "soft"
|
|
- from: "dots/.config/thorium-flags.conf"
|
|
to: "$XDG_CONFIG_HOME/thorium-flags.conf"
|
|
mode: "soft"
|