xdg: Remove unused desktop icons

This also simplifies the process a bit.
This commit is contained in:
Donovan Glover 2024-07-25 16:11:34 -04:00
parent 307acd1777
commit 528809b307
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -2,34 +2,44 @@
let let
inherit (config.home) homeDirectory; inherit (config.home) homeDirectory;
no = { name = ""; noDisplay = true; };
in in
{ {
xdg = { xdg = {
desktopEntries = { desktopEntries = {
htop = { htop = no;
name = "htop"; fish = no;
noDisplay = true; nvim = no;
}; yazi = no;
gcdemu = no;
tectonic = no;
mullvad-vpn = no;
nixos-manual = no;
image-analyzer = no;
activate-linux = no;
fish = { thunar-settings = no;
name = "fish"; thunar-bulk-rename = no;
noDisplay = true; thunar-volman-settings = no;
};
nvim = { fcitx5-configtool = no;
name = "nvim";
noDisplay = true;
};
yazi = { base = no;
name = "yazi"; calc = no;
noDisplay = true; draw = no;
}; math = no;
writer = no;
impress = no;
startcenter = no;
tectonic = { "org.fcitx.Fcitx5" = no;
name = "tectonic"; "org.fcitx.fcitx5-migrator" = no;
noDisplay = true; "org.gnome.Extensions" = no;
}; "org.pwmt.zathura" = no;
"org.gnome.eog" = no;
"org.gnome.Settings" = no;
"org.sigxcpu.Livi" = no;
}; };
userDirs = { userDirs = {