mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
fixed fish synchronize, added background script
This commit is contained in:
parent
6f06932acb
commit
187f03b9be
@ -29,6 +29,7 @@
|
|||||||
# Configure root cli
|
# Configure root cli
|
||||||
- hosts: server:desktop:laptop
|
- hosts: server:desktop:laptop
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- { role: fish, tags: fish }
|
- { role: fish, tags: fish }
|
||||||
- { role: neovim, tags: neovim }
|
- { role: neovim, tags: neovim }
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Install pureprompt plugin
|
- name: Install pureprompt plugin
|
||||||
|
become_method: su
|
||||||
shell: |
|
shell: |
|
||||||
fish -c "omf install pure"
|
fish -c "omf install pure"
|
||||||
fish -lc "ln -s $OMF_PATH/themes/pure/conf.d/pure.fish ~/.config/fish/conf.d/pure.fish"
|
fish -lc "ln -s $OMF_PATH/themes/pure/conf.d/pure.fish ~/.config/fish/conf.d/pure.fish"
|
||||||
@ -32,6 +33,7 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Install git plugin
|
- name: Install git plugin
|
||||||
|
become_method: su
|
||||||
shell: fish -c "omf install https://github.com/jhillyerd/plugin-git"
|
shell: fish -c "omf install https://github.com/jhillyerd/plugin-git"
|
||||||
when: gitcheck is failed
|
when: gitcheck is failed
|
||||||
|
|
||||||
@ -40,11 +42,21 @@
|
|||||||
src: dircolors
|
src: dircolors
|
||||||
dest: ~/.config/
|
dest: ~/.config/
|
||||||
|
|
||||||
- name: Sync fish config files
|
- name: Sync fish config files (root)
|
||||||
|
synchronize:
|
||||||
|
src: files/fish
|
||||||
|
dest: /root/.config
|
||||||
|
recursive: yes
|
||||||
|
when: ansible_user_id == "root"
|
||||||
|
tags: rsync
|
||||||
|
|
||||||
|
- name: Sync fish config files (users)
|
||||||
synchronize:
|
synchronize:
|
||||||
src: files/fish
|
src: files/fish
|
||||||
dest: ~/.config
|
dest: ~/.config
|
||||||
recursive: yes
|
recursive: yes
|
||||||
|
when: ansible_user_id != "root"
|
||||||
|
tags: rsync
|
||||||
|
|
||||||
- name: Laptops fish configuration
|
- name: Laptops fish configuration
|
||||||
copy:
|
copy:
|
||||||
|
7
screenshots/background.sh
Executable file
7
screenshots/background.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
background="https://unsplash.com/photos/wQLAGv4_OYs/download?force=true&w=1920"
|
||||||
|
|
||||||
|
wget "$background" -O /tmp/background.jpg
|
||||||
|
|
||||||
|
swaymsg output "*" bg /tmp/background.jpg fill
|
Loading…
Reference in New Issue
Block a user