-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neofetch returns the wrong icon theme #108903
Comments
Any warnings? Since it actually prints a value I would think that it is not missing |
No Sadly I still can't get it to work. D-Bus service is enabled What I've tried: { neofetch, dconf }:
neofetch.overrideAttrs (oldAttrs: {
buildInputs = [ dconf ];
}) { neofetch, makeWrapper, lib, dconf }:
neofetch.overrideAttrs (oldAttrs: {
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/neofetch \
--prefix XDG_DATA_DIRS : "$out/share" \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
--prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules"
'';
}) { neofetch, makeWrapper, lib, dconf }:
neofetch.overrideAttrs (oldAttrs: {
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/neofetch \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
--prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules"
'';
}) { neofetch, makeWrapper, lib, dconf }:
neofetch.overrideAttrs (oldAttrs: {
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/neofetch \
--prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules"
'';
}) { neofetch, makeWrapper, lib, dconf, gsettings-desktop-schemas }:
neofetch.overrideAttrs (oldAttrs: {
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/neofetch \
--prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}
'';
}) |
It looks like this is caused by Neofetch overriding the I've made a PR upstream to resolve the issue (see dylanaraps/neofetch#1873). |
Describe the bug
neofetch
returns the wrong icon theme.To Reproduce
Steps to reproduce the behavior:
pkgs.papirus-icon-theme
gsettings set org.gnome.desktop.interface icon-theme 'Papirus'
neofetch
neofetch
showsIcons: Adwaita [GTK2/3]
Expected behavior
Icon theme should show
Icons: Papirus [GTK2/3]
Additional context
When I call gsettings in a terminal I get:
When I append the source from Nixos with:
set -x get_icons
And I run it, I get on line 3067-3068:
I suspect some variable is missing so that the icon theme can be correctly detected.
I've also asked in the Nixos discord group, but I couldn't figure out how to fix it: https://discordapp.com/channels/568306982717751326/570351749848891393/797617960650014720
Notify maintainers
@alistairbill @konimex
Metadata
Maintainer information:
The text was updated successfully, but these errors were encountered: