add two rice playbooks and files dir

This commit is contained in:
2026-05-09 22:59:50 +02:00
parent 6b5dee89de
commit f0f16dcc2c
5 changed files with 591 additions and 22 deletions
+36
View File
@@ -0,0 +1,36 @@
---
- name: Gruvbox Rice
hosts: localhost
connection: local
tasks:
- name: Set gruvbox pywal theme
ansible.builtin.shell: wal --theme base16-gruvbox-medium
args:
executable: /bin/zsh
- name: Set gruvbox wallpaper
ansible.builtin.shell: feh --bg-fill /home/vashqlf/Pictures/wallpapers/gruvbox_tilly2v3.jpg
args:
executable: /bin/zsh
- name: Copy gruvbox i3 config
ansible.builtin.copy:
src: /home/vashqlf/Code/Ansible/playbooks/rices/files/gruvbox-i3
dest: /home/vashqlf/.config/i3/config
owner: vashqlf
group: vashqlf
mode: '0644'
- name: Set gruvbox theme in nvim
ansible.builtin.lineinfile:
path: /home/vashqlf/.config/nvim/lua/chadrc.lua
regexp: 'theme'
line: ' theme = "gruvbox",'
- name: Reload NvChad config in running nvim instances
ansible.builtin.shell: |
for addr in $XDG_RUNTIME_DIR/nvim.*; do
nvim --server $addr --remote-send ':lua require("nvchad.utils").reload() <cr>'
done
ignore_errors: true