Compare commits

...

2 Commits

Author SHA1 Message Date
Tom Alexander
94b379c717
Fix conditional to not use jinja templating. 2023-12-17 12:33:30 -05:00
Tom Alexander
661b8534a8
Add auto-revert mode. 2023-12-17 11:51:41 -05:00
2 changed files with 8 additions and 2 deletions

View File

@ -75,4 +75,10 @@
;; Delete trailing whitespace before save
(add-hook 'before-save-hook 'delete-trailing-whitespace)
;; If the underlying file changes, reload it automatically. This is useful for moving around in git without confusing language servers.
(setopt auto-revert-avoid-polling t)
(setopt auto-revert-interval 5)
(setopt auto-revert-check-vc-info t)
(global-auto-revert-mode)
(provide 'base)

View File

@ -39,7 +39,7 @@
mode: 0644
loop:
- /etc/pacman.d/conf.d/blank.conf
when: "{{ file_exists | community.general.json_query(sub_query) | first | default(False) }} == False"
when: "file_exists | community.general.json_query(sub_query) | first | default(False) == False"
vars:
sub_query: "results[?stat.path=='{{ item }}'].stat.exists"
@ -52,7 +52,7 @@
group: root
loop:
- freeze_firefox.conf
- name: Install packages
package:
name: