mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Desktop/Plasma] Fix icon theme (esp. when using Wayland)
This commit is contained in:
parent
38cad649bf
commit
1c1ecd078d
1 changed files with 17 additions and 5 deletions
|
|
@ -101,12 +101,24 @@ in {
|
||||||
|
|
||||||
aviallon.desktop.browser.firefox.overrides.enablePlasmaBrowserIntegration = true;
|
aviallon.desktop.browser.firefox.overrides.enablePlasmaBrowserIntegration = true;
|
||||||
|
|
||||||
environment.profileRelativeSessionVariables = {
|
|
||||||
QT_PLUGIN_PATH = mkForce []; # Remove as it causes many issues when pulling one package from nixos-unstable
|
|
||||||
};
|
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal.enable = mkDefault true;
|
||||||
enable = mkDefault true;
|
xdg.icons.enable = true;
|
||||||
|
|
||||||
|
systemd.user.services.setup-xdg-cursors = mkIf config.xdg.icons.enable {
|
||||||
|
script = ''
|
||||||
|
[ -d "$HOME/.icons/default" ] || mkdir -p "$HOME/.icons/default"
|
||||||
|
cat >"$HOME/.icons/default/index.theme" <<EOF
|
||||||
|
[icon theme]
|
||||||
|
Inherits=''${XCURSOR_THEME:-breeze_cursors}
|
||||||
|
EOF
|
||||||
|
'';
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
RemainAfterExit = true;
|
||||||
|
};
|
||||||
|
wantedBy = [ "graphical-session-pre.target" ];
|
||||||
|
partOf = [ "graphical-session-pre.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue