1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 02:39:48 +01:00
home-manager/modules
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
..
accounts Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
config i18n: set the appropriate LOCALE_ARCHIVE_x_xx variable (#1659) 2021-01-23 15:56:38 +01:00
lib mpv: fix issue #1725 and add tests (#1726) 2021-01-21 18:10:12 -05:00
lib-bash home-manager: respect NIX_STATE_DIR 2020-06-14 20:41:55 +02:00
misc dconf: make sure the configuration directory exists 2021-01-21 20:35:03 +01:00
programs rofi: migrate to rasi configuration format (#1736) 2021-01-23 16:30:34 +01:00
services nextcloud-client: add package option 2021-01-22 21:34:13 +01:00
targets i18n: set the appropriate LOCALE_ARCHIVE_x_xx variable (#1659) 2021-01-23 15:56:38 +01:00
default.nix flake: add extraSpecialArgs 2021-01-07 21:13:28 +01:00
files.nix files: make sure the target file name is escaped 2020-08-29 18:22:03 +02:00
home-environment.nix home-environment: add option home.sessionPath 2020-10-05 21:06:42 +02:00
manual.nix Switch to extended Nixpkg's lib 2020-01-21 20:47:04 +01:00
modules.nix i18n: set the appropriate LOCALE_ARCHIVE_x_xx variable (#1659) 2021-01-23 15:56:38 +01:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd.nix systemd: support sd-switch 2020-12-13 22:00:30 +01:00
xcursor.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
xresources.nix xresources: do not generate file for empty properties 2020-06-28 00:41:05 +02:00
xsession.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00