Upgrade rofi config

prenix
Geoffrey Frogeye 2021-12-15 21:59:45 +01:00
parent 7f0e24a29d
commit 76df5d4d80
Signed by: geoffrey
GPG Key ID: C72403E7F82E6AD8
4 changed files with 20 additions and 12 deletions

View File

@ -6,6 +6,7 @@
with_items:
- ".config/Xresources"
- ".config/rofi"
- ".local/share/rofi/themes"
- ".local/bin"
- ".local/share/fonts"
- ".config/qutebrowser"
@ -108,17 +109,24 @@
- color
when: display_server == 'x11'
- name: Set base16 theme for rofi
- name: Set base16 theme for rofi < 1.4
copy:
content: "{{ base16_schemes['schemes'][base16_scheme]['rofi']['themes']['base16-' + base16_scheme + '.' + item] }}"
dest: "{{ ansible_env.HOME }}/.config/rofi/theme.{{ item }}"
content: "{{ base16_schemes['schemes'][base16_scheme]['rofi']['themes']['base16-' + base16_scheme + '.config'] }}"
dest: "{{ ansible_env.HOME }}/.config/rofi/theme.config"
mode: "u=rw,g=r,o=r"
with_items:
- rasi
- config
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
- name: Configure Dunst
template:
src: "{{ ansible_env.HOME }}/.config/dunst/dunstrc.j2"

View File

@ -1,3 +1 @@
theme.config
theme.rasi

View File

@ -1,8 +1,4 @@
#include "theme.config"
rofi.theme: theme
rofi.cycle: true
rofi.case-sensitive: false
rofi.scroll-method: 0
rofi.show-match: true
rofi.lazy-grab: false
rofi.matching: regex

6
config/rofi/config.rasi Normal file
View File

@ -0,0 +1,6 @@
configuration {
theme: "current";
lazy-grab: false;
matching: "regex";
}