rofi: add theme option

The preferred method of theming rofi is now to use "rasi" theme files.
This commit therefore downplays the colors option and introduces the
theme option.
This commit is contained in:
Andrew Scott 2018-01-29 14:30:25 +00:00 committed by Robert Helgesson
parent afa865587e
commit f2265b10e4
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86
2 changed files with 54 additions and 2 deletions

View file

@ -560,6 +560,23 @@ in
feature is slowly forthcoming.
'';
}
{
time = "2018-02-09T21:14:42+00:00";
condition = with config.programs.rofi; enable && colors != null;
message = ''
The new and preferred way to configure the rofi theme is
using rasi themes through the 'programs.rofi.theme' option.
This option can take as value either the name of a
pre-installed theme or the path to a theme file.
A rasi theme can be generated from an Xresources config
using 'rofi -dump-theme'.
The option 'programs.rofi.colors' is still supported but may
become deprecated and removed in the future.
'';
}
];
};
}