Upgrade rofi config
This commit is contained in:
parent
7f0e24a29d
commit
76df5d4d80
|
@ -6,6 +6,7 @@
|
||||||
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"
|
||||||
|
@ -108,17 +109,24 @@
|
||||||
- color
|
- color
|
||||||
when: display_server == 'x11'
|
when: display_server == 'x11'
|
||||||
|
|
||||||
- name: Set base16 theme for rofi
|
- name: Set base16 theme for rofi < 1.4
|
||||||
copy:
|
copy:
|
||||||
content: "{{ base16_schemes['schemes'][base16_scheme]['rofi']['themes']['base16-' + base16_scheme + '.' + item] }}"
|
content: "{{ base16_schemes['schemes'][base16_scheme]['rofi']['themes']['base16-' + base16_scheme + '.config'] }}"
|
||||||
dest: "{{ ansible_env.HOME }}/.config/rofi/theme.{{ item }}"
|
dest: "{{ ansible_env.HOME }}/.config/rofi/theme.config"
|
||||||
mode: "u=rw,g=r,o=r"
|
mode: "u=rw,g=r,o=r"
|
||||||
with_items:
|
|
||||||
- rasi
|
|
||||||
- config
|
|
||||||
tags:
|
tags:
|
||||||
- color
|
- 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
|
||||||
|
|
||||||
- name: Configure Dunst
|
- name: Configure Dunst
|
||||||
template:
|
template:
|
||||||
src: "{{ ansible_env.HOME }}/.config/dunst/dunstrc.j2"
|
src: "{{ ansible_env.HOME }}/.config/dunst/dunstrc.j2"
|
||||||
|
|
2
config/rofi/.gitignore
vendored
2
config/rofi/.gitignore
vendored
|
@ -1,3 +1 @@
|
||||||
theme.config
|
theme.config
|
||||||
theme.rasi
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
#include "theme.config"
|
#include "theme.config"
|
||||||
rofi.theme: theme
|
rofi.theme: theme
|
||||||
rofi.cycle: true
|
|
||||||
rofi.case-sensitive: false
|
|
||||||
rofi.scroll-method: 0
|
|
||||||
rofi.show-match: true
|
|
||||||
rofi.lazy-grab: false
|
rofi.lazy-grab: false
|
||||||
rofi.matching: regex
|
rofi.matching: regex
|
||||||
|
|
6
config/rofi/config.rasi
Normal file
6
config/rofi/config.rasi
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
configuration {
|
||||||
|
theme: "current";
|
||||||
|
lazy-grab: false;
|
||||||
|
matching: "regex";
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue