mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-09-13 10:40:04 +00:00
Major rewrite (new install)
This commit is contained in:
parent
4e89803237
commit
e78b421565
158 changed files with 2542 additions and 5238 deletions
2
sync.py
2
sync.py
|
@ -364,7 +364,7 @@ def show_diffs(diffs: Iterable[FileDiff], ask_show_diff: bool, apply_fix_prompt:
|
|||
def exclude_fun(diff: FileDiff) -> bool:
|
||||
exclude_rules: list[Callable[[FileDiff], bool]] = [
|
||||
lambda d: d.status is DiffStatus.MATCH,
|
||||
lambda d: d.dot_file.name == ".keep" and d.sys_file.parent.is_dir(),
|
||||
lambda d: d.dot_file.name == ".gitkeep" and d.sys_file.parent.is_dir(),
|
||||
lambda d: Path("root/etc/opensnitchd/rules") in d.rel_dot_file.parents,
|
||||
lambda d: Path("root/usr/local/src/eww") in d.rel_dot_file.parents,
|
||||
lambda d: Path("root/usr/local/src/z.lua") in d.rel_dot_file.parents,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue