1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-16 16:19:44 +01:00
home-manager/tests/modules/programs
Thiago Kenji Okada 6f7074d21d
rofi: migrate to rasi configuration format (#1736)
* rofi: migrate to rasi configuration format

The Xresources configuration format is deprecated in Rofi. For example,
using Rofi from unstable (1.6.1 as of now) you get the following
warnings when starting the application:

```
(process:9272): Rofi-WARNING **: 01:38:48.596: The old Xresources based configuration format is deprecated.

(process:9272): Rofi-WARNING **: 01:38:48.596: Please upgrade: rofi -upgrade-config.
``````

So this commit migrates it for its new configuration format, called rasi
instead.

This new implementation uses attrsets manipulation instead of using
strings, making the code clearer and also fixing some bugs found during
the way. To make sure everything is right, I also created some tests.

If someone wants to validate if the generated config is correct, just
run in terminal:

```
$ rofi -dump-config
```

And rofi will dump the current configuration file, including all
unsetted options.

* docs: document programs.rofi.extraConfig changes

* rofi: add thiagokokada as maintainer

* rofi: add toRasi function
2021-01-23 16:30:34 +01:00
..
abook tests: remove package dependencies on rofi and abook 2020-03-06 00:27:21 +01:00
alacritty treewide: replace attrs by formats or types.anything 2020-11-29 21:54:55 -05:00
alot alot: add structured settings 2020-05-01 22:26:26 +02:00
aria2 aria2: add module 2020-05-03 13:21:52 +02:00
autojump autojump: add module 2020-10-08 23:50:43 +02:00
autorandr autorandr: add crtc option 2020-06-09 23:15:44 +02:00
bash tests: improve test purity 2020-04-24 21:46:34 +02:00
browserpass Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
dircolors dircolors: add module 2020-05-12 22:15:32 +02:00
direnv direnv: add support for nix-direnv 2020-06-06 22:17:43 +02:00
feh feh: allow binding actions to multiple buttons/keys 2020-09-30 00:55:09 +02:00
firefox Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
fish fish: source each file in plugin conf.d separately 2020-04-29 21:46:10 +02:00
getmail tests: improve test purity 2020-04-24 21:46:34 +02:00
gh gh: fix attribute paths 2021-01-20 18:59:58 +01:00
git git: fix attribute paths 2021-01-20 18:58:35 +01:00
gpg Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
i3status i3status: add module 2020-05-03 13:12:13 +02:00
i3status-rust i3status-rust: add module 2020-11-05 23:59:47 +01:00
kakoune kakoune: disable the kakoune-use-plugins test 2021-01-20 19:49:15 +01:00
lf lf: add module 2020-04-23 22:41:22 +02:00
lieer tests: add support for asserting warnings 2020-12-30 17:25:48 +01:00
man man: support building manual page index cache 2020-09-13 20:52:08 +02:00
mbsync mbsync: per account multiple channels (#1360) 2020-09-21 18:16:06 +01:00
mpv mpv: fix issue #1725 and add tests (#1726) 2021-01-21 18:10:12 -05:00
ncmpcpp ncmpcpp: add module 2020-09-01 22:05:57 +02:00
ncmpcpp-linux ncmpcpp: add module 2020-09-01 22:05:57 +02:00
ne ne: use dummy package in tests 2020-06-24 23:02:49 +02:00
neomutt neomutt: fix smtp_pass option 2021-01-12 13:32:03 +01:00
neovim programs.neovim: write config in $XDG_CONFIG_HOME/init.vim (#1652) 2020-12-29 20:26:02 +01:00
newsboat newsboat: show queries before urls 2020-02-26 21:38:07 +01:00
nushell nushell: add module (#1333) 2020-07-24 17:15:55 +02:00
powerline-go powerline-go: add zsh integration 2020-11-15 00:12:02 +01:00
qutebrowser qutebrowser: unwrap list from keybinding removal 2020-07-27 16:48:38 +02:00
readline readline: fix example 2020-02-02 01:20:05 +01:00
rofi rofi: migrate to rasi configuration format (#1736) 2021-01-23 16:30:34 +01:00
rofi-pass rofi-pass: add rofi-pass plugin for password-store 2020-12-18 23:22:57 +01:00
ssh ssh: add support for ServerAliveCountMax 2020-06-03 23:16:43 +02:00
starship starship: remove deprecated character.symbol setting 2021-01-03 10:21:55 +01:00
texlive texlive: remove upstream dependency in tests 2020-06-06 16:43:17 +02:00
tmux tmux: add a prefix option overruling shortcut if defined 2020-12-21 00:10:59 +01:00
vscode treewide: replace attrs by formats or types.anything 2020-11-29 21:54:55 -05:00
waybar waybar: fix css identifier check (#1687) 2020-12-30 18:17:39 -05:00
zplug zplug: Reduce noise (#1441) 2020-09-06 11:16:34 +02:00
zsh zsh-prezto: remove package dependency in test 2020-11-14 10:37:35 +01:00