WIP: Harmonizing the 2 roles i use into 1 big working
This commit is contained in:
@@ -1,64 +1,24 @@
|
||||
---
|
||||
# Global vars file for ansible-role-p10k
|
||||
|
||||
- name: Set home location for each users
|
||||
set_fact:
|
||||
user_home: "{{ '/root' if item == 'root' else '/home/' + item }}"
|
||||
with_items: "{{ zsh_users }}"
|
||||
register: paths
|
||||
|
||||
p10k_style:
|
||||
lean: 'lean'
|
||||
classic: 'classic'
|
||||
rainbow: 'rainbow'
|
||||
pure: 'rainbow'
|
||||
|
||||
p10k_path:
|
||||
zsh: 'powerlevel10k'
|
||||
ohmyzsh: '.oh-my-zsh/custom/themes/powerlevel10k'
|
||||
prezto: 'powerlevel10k'
|
||||
zim: 'powerlevel10k'
|
||||
antibody: 'powerlevel10k'
|
||||
antigen: 'powerlevel10k'
|
||||
zplug: 'powerlevel10k'
|
||||
zgen: 'powerlevel10k'
|
||||
zplugin: 'powerlevel10k'
|
||||
zinit: 'powerlevel10k'
|
||||
p10k_path: '.oh-my-zsh/custom/themes/powerlevel10k'
|
||||
|
||||
p10k_zshrc_config:
|
||||
zsh:
|
||||
regexp: '^source '
|
||||
line: 'source ~/powerlevel10k/powerlevel10k.zsh-theme'
|
||||
zsh_file: .zshrc
|
||||
ohmyzsh:
|
||||
regexp: '^ZSH_THEME='
|
||||
line: 'ZSH_THEME="powerlevel10k/powerlevel10k"'
|
||||
zsh_file: .zshrc
|
||||
prezto:
|
||||
regexp: '^zstyle :prezto:module:prompt theme'
|
||||
line: 'zstyle :prezto:module:prompt theme powerlevel10k'
|
||||
zsh_file: .zpreztorc
|
||||
zim:
|
||||
regexp: '^zmodule '
|
||||
line: 'zmodule romkatv/powerlevel10k'
|
||||
zsh_file: .zimrc
|
||||
antibody:
|
||||
regexp: '^antibody bundle '
|
||||
line: 'antibody bundle romkatv/powerlevel10k'
|
||||
zsh_file: .zshrc
|
||||
antigen:
|
||||
regexp: '^antigen theme '
|
||||
line: 'antigen theme romkatv/powerlevel10k'
|
||||
zsh_file: .zshrc
|
||||
zplug:
|
||||
regexp: '^zplug '
|
||||
line: 'zplug romkatv/powerlevel10k, as:theme, depth:1'
|
||||
zsh_file: .zshrc
|
||||
zgen:
|
||||
regexp: '^zgen load '
|
||||
line: 'zgen load romkatv/powerlevel10k powerlevel10k'
|
||||
zsh_file: .zshrc
|
||||
zplugin:
|
||||
regexp: '^zplugin ice depth=1; zplugin light'
|
||||
line: 'zplugin ice depth=1; zplugin light romkatv/powerlevel10k'
|
||||
zsh_file: .zshrc
|
||||
zinit:
|
||||
regexp: '^zinit ice depth=1; zinit light'
|
||||
line: 'zinit ice depth=1; zinit light romkatv/powerlevel10k'
|
||||
zsh_file: .zshrc
|
||||
regexp: '^ZSH_THEME='
|
||||
line: 'ZSH_THEME="powerlevel10k/powerlevel10k"'
|
||||
zsh_file: .zshrc
|
||||
|
||||
time_config:
|
||||
no:
|
||||
|
||||
Reference in New Issue
Block a user