mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-26 06:02:23 +00:00
Move to latest yolk
This commit is contained in:
parent
abd1f5e531
commit
2da7ce2053
1 changed files with 31 additions and 27 deletions
58
yolk.rhai
58
yolk.rhai
|
@ -7,37 +7,41 @@ export const device = #{
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
private fn merge_into_home(enabled, templates) {
|
||||||
|
#{ enabled: enabled, targets: "~", strategy: "merge", templates: templates }
|
||||||
|
}
|
||||||
|
|
||||||
export let eggs = #{
|
export let eggs = #{
|
||||||
"alacritty": #{ enabled: true, targets: "~/.config/alacritty" },
|
"alacritty": #{ targets: "~/.config/alacritty" },
|
||||||
"eww": #{ enabled: true, targets: "~" },
|
"eww": merge_into_home(true, []),
|
||||||
"eww-bar": #{ enabled: true, targets: "~" },
|
"eww-bar": merge_into_home(true, []),
|
||||||
"foot": #{ enabled: true, targets: "~", templates: [".config/foot/foot.ini"] },
|
"foot": #{ strategy: "merge", targets: "~", templates: [".config/foot/foot.ini"] },
|
||||||
"git": #{ enabled: true, targets: "~", templates: [".gitconfig"] },
|
"git": merge_into_home(true, [".gitconfig"]),
|
||||||
"niri": #{ enabled: true, targets: "~/.config/niri", templates: ["**/*.kdl"] },
|
"niri": #{ targets: "~/.config/niri", templates: ["**/*.kdl"] },
|
||||||
"nvim": #{ enabled: true, targets: "~", main_file: ".config/nvim/fnl/main.fnl" },
|
"nvim": #{ strategy: "merge", targets: "~", main_file: ".config/nvim/fnl/main.fnl" },
|
||||||
"profile": #{ enabled: true, targets: "~" },
|
"profile": merge_into_home(true, []),
|
||||||
"starship": #{ enabled: true, targets: "~" },
|
"starship": merge_into_home(true, []),
|
||||||
"sway": #{ enabled: true, targets: "~" },
|
"sway": merge_into_home(true, []),
|
||||||
"zed": #{ enabled: true, targets: "~" },
|
"zed": merge_into_home(true, []),
|
||||||
"zsh": #{ enabled: true, targets: "~" },
|
"zsh": merge_into_home(true, []),
|
||||||
"rofi": #{ enabled: true, targets: "~" },
|
"rofi": merge_into_home(true, []),
|
||||||
"gtk": #{ enabled: true, targets: "~" },
|
"gtk": merge_into_home(true, []),
|
||||||
"scripts": #{ enabled: true, targets: "~/scripts" },
|
"scripts": #{ targets: "~/scripts", strategy: "merge" },
|
||||||
|
|
||||||
"hyprlock": #{ enabled: device.laptop, targets: "~" },
|
"hyprlock": merge_into_home(device.laptop, []),
|
||||||
"kanata": #{ enabled: device.laptop, targets: "~" },
|
"kanata": merge_into_home(device.laptop, []),
|
||||||
"waybar": #{ enabled: device.laptop, targets: "~" },
|
"waybar": merge_into_home(device.laptop, []),
|
||||||
|
|
||||||
"karabiner": #{ enabled: device.macbook, targets: "~" },
|
"karabiner": merge_into_home(device.macbook, []),
|
||||||
|
|
||||||
"powershell": #{ enabled: false, targets: "~" },
|
"powershell": merge_into_home(false, []),
|
||||||
"sioyek": #{ enabled: false, targets: "~" },
|
"sioyek": merge_into_home(false, []),
|
||||||
"zathura": #{ enabled: false, targets: "~" },
|
"zathura": merge_into_home(false, []),
|
||||||
"eww-laptop": #{ enabled: false, targets: "~" },
|
"eww-laptop": merge_into_home(false, []),
|
||||||
"hyprland": #{ enabled: false, targets: "~" },
|
"hyprland": merge_into_home(false, []),
|
||||||
"kakoune": #{ enabled: false, targets: "~" },
|
"kakoune": merge_into_home(false, []),
|
||||||
"tmux": #{ enabled: false, targets: "~" },
|
"tmux": merge_into_home(false, []),
|
||||||
|
|
||||||
// This is just random files that should be in the dotfiles, but shouldn't ever be deployed
|
// This is just random files that should be in the dotfiles, but shouldn't ever be deployed
|
||||||
"other-dotfiles-stuff": #{ enabled: false, targets: "~" },
|
"other-dotfiles-stuff": #{ enabled: false, targets: "~/this-shouldnt-exist" },
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue