This website requires JavaScript.
Explore
Help
Sign in
eeva
/
home-manager
Watch
1
Star
0
Fork
You've already forked home-manager
0
mirror of
https://github.com/nix-community/home-manager
synced
2024-11-01 00:39:45 +01:00
Code
Issues
Releases
Wiki
Activity
bd11e2c5e6
home-manager
/
tests
/
modules
/
programs
/
rofi
/
default.nix
5 lines
88 B
Nix
Raw
Normal View
History
Unescape
Escape
rofi: add test to verify assertion
2019-09-04 12:46:04 +02:00
{
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
rofi-valid-config
=
./valid-config.nix
;
rofi: add support to custom themes If this commit now it is possible to define a custom theme directly using Nix, like this: ```nix { programs.rofi.theme = { "*" = { background-color = "#000000"; border-color = "FFFFFF"; width = 512; }; listview = { cycle = true; }; }; } ``` And this will be converted to the proper rasi format to be used in rofi.
2021-01-23 18:13:38 +01:00
rofi-custom-theme
=
./custom-theme.nix
;
rofi: add test to verify assertion
2019-09-04 12:46:04 +02:00
}
Reference in a new issue
Copy permalink