You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently path to the power icons is hardcoded to /usr/share/.... However, XDG_DATA_DIRS doesn't always include this directory on read-only OSs, like NixOS. There this data is stored inside $HOME/.nix-profile/share/
$XDG_DATA_DIRS should be respected, when we search for the power icons. The same thing applies to the desktop-entries.
The possible solution would be to add $HOME/.nix-profile/share to the xdgDataDirs. Or we can get env variable XDG_DATA_DIRS directly, without hardcoding it (it seems better).
Currently path to the power icons is hardcoded to
/usr/share/...
. However, XDG_DATA_DIRS doesn't always include this directory on read-only OSs, like NixOS. There this data is stored inside$HOME/.nix-profile/share/
nwg-drawer/main.go
Line 589 in 71ce3b5
$XDG_DATA_DIRS should be respected, when we search for the power icons. The same thing applies to the desktop-entries.
The possible solution would be to add
$HOME/.nix-profile/share
to thexdgDataDirs
. Or we can getenv
variableXDG_DATA_DIRS
directly, without hardcoding it (it seems better).nwg-drawer/tools.go
Line 243 in 71ce3b5
The text was updated successfully, but these errors were encountered: