-
Notifications
You must be signed in to change notification settings - Fork 648
Closed
Labels
Description
Before opening a feature request
- I checked the next branch to see if the feature has already been implemented
- I searched existing reports to see if it is already requested.
What is the user problem or growth opportunity you want to see solved?
When installing themes as packages (using OS package manager), packages might not always end up in /usr (eg. in case of NixOS). As a result, Rofi won't find themes installed as packages.
By adding XDG_DATA_DIRS to the list of search paths (install dir, XDG_DATA_DIRS, XDG_DATA_HOME, XDG_CONFIG_HOME), Rofi could find themes in other (standard) locations.
How do you know that this problem exists today? Why is this important?
Tried to install themes using Nix and they are not discovered. Also checked the relevant code.
Who will benefit from it?
NixOS users will certainly will benefit, but anyone else who installs software in non-standard locations would also benefit.
Rofi version (rofi -v)
1.7.3
Configuration
N/A
Additional information
As far as I understood, it should be added above this line:
Line 1095 in eff3b86
char *theme_path = g_build_filename(THEME_DIR, filename, NULL); |