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:
|
with_items:
|
||||||
- ".config/Xresources"
|
- ".config/Xresources"
|
||||||
- ".config/rofi"
|
- ".config/rofi"
|
||||||
- ".local/share/rofi/themes"
|
|
||||||
- ".local/bin"
|
- ".local/bin"
|
||||||
- ".local/share/fonts"
|
- ".local/share/fonts"
|
||||||
- ".config/qutebrowser"
|
- ".config/qutebrowser"
|
||||||
|
@ -109,23 +108,16 @@
|
||||||
- color
|
- color
|
||||||
when: display_server == 'x11'
|
when: display_server == 'x11'
|
||||||
|
|
||||||
- name: Set base16 theme for rofi < 1.4
|
- name: Set base16 theme for rofi
|
||||||
copy:
|
copy:
|
||||||
content: "{{ base16_schemes['schemes'][base16_scheme]['rofi']['themes']['base16-' + base16_scheme + '.config'] }}"
|
content: "{{ base16_schemes['schemes'][base16_scheme]['rofi']['themes']['base16-' + base16_scheme + '.' + item] }}"
|
||||||
dest: "{{ ansible_env.HOME }}/.config/rofi/theme.config"
|
dest: "{{ ansible_env.HOME }}/.config/rofi/theme.{{ item }}"
|
||||||
mode: "u=rw,g=r,o=r"
|
mode: "u=rw,g=r,o=r"
|
||||||
tags:
|
tags:
|
||||||
- color
|
- color
|
||||||
|
loop:
|
||||||
- name: Set base16 theme for rofi >= 1.4
|
- config
|
||||||
copy:
|
- rasi
|
||||||
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
|
|
||||||
|
|
||||||
- name: Configure Dunst
|
- name: Configure Dunst
|
||||||
template:
|
template:
|
||||||
|
|
1
config/rofi/.gitignore
vendored
1
config/rofi/.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
theme.config
|
theme.config
|
||||||
|
theme.rasi
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
configuration {
|
configuration {
|
||||||
theme: "current";
|
|
||||||
lazy-grab: false;
|
lazy-grab: false;
|
||||||
matching: "regex";
|
matching: "regex";
|
||||||
}
|
}
|
||||||
|
@theme "theme"
|
||||||
|
|
Loading…
Reference in a new issue