rofi: Fix theme definition for newer version
I was right the first time?
This commit is contained in:
parent
105bd9461c
commit
84a2906be9
|
@ -6,7 +6,6 @@
|
|||
with_items:
|
||||
- ".config/Xresources"
|
||||
- ".config/rofi"
|
||||
- ".local/share/rofi/themes"
|
||||
- ".local/bin"
|
||||
- ".local/share/fonts"
|
||||
- ".config/qutebrowser"
|
||||
|
@ -109,23 +108,16 @@
|
|||
- color
|
||||
when: display_server == 'x11'
|
||||
|
||||
- name: Set base16 theme for rofi < 1.4
|
||||
- name: Set base16 theme for rofi
|
||||
copy:
|
||||
content: "{{ base16_schemes['schemes'][base16_scheme]['rofi']['themes']['base16-' + base16_scheme + '.config'] }}"
|
||||
dest: "{{ ansible_env.HOME }}/.config/rofi/theme.config"
|
||||
content: "{{ base16_schemes['schemes'][base16_scheme]['rofi']['themes']['base16-' + base16_scheme + '.' + item] }}"
|
||||
dest: "{{ ansible_env.HOME }}/.config/rofi/theme.{{ item }}"
|
||||
mode: "u=rw,g=r,o=r"
|
||||
tags:
|
||||
- color
|
||||
|
||||
- name: Set base16 theme for rofi >= 1.4
|
||||
copy:
|
||||
content: "{{ base16_schemes['schemes'][base16_scheme]['rofi']['themes']['base16-' + base16_scheme + '.rasi'] }}"
|
||||
dest: "{{ ansible_env.HOME }}/.local/share/rofi/themes/current.rasi"
|
||||
mode: "u=rw,g=r,o=r"
|
||||
tags:
|
||||
- color
|
||||
- g
|
||||
when: no
|
||||
loop:
|
||||
- config
|
||||
- rasi
|
||||
|
||||
- name: Configure Dunst
|
||||
template:
|
||||
|
|
1
config/rofi/.gitignore
vendored
1
config/rofi/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
theme.config
|
||||
theme.rasi
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
configuration {
|
||||
theme: "current";
|
||||
lazy-grab: false;
|
||||
matching: "regex";
|
||||
}
|
||||
|
||||
@theme "theme"
|
||||
|
|
Loading…
Reference in a new issue