This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
AsaJS/modules/features/home/dolphin.nix
2026-04-14 13:02:59 +07:00

29 lines
733 B
Nix

{libs, ...}: {
programs.dolphin = {
services-menu = {
copy-server-public-url = {
"Desktop Entry" = {
Type = "Service";
ServiceTypes = "KonqPopupMenu/Plugin";
MimeType = "all/allfiles";
Actions = "CopyPublicURL";
};
"Desktop Action CopyPublicURL" = {
Name = "Copy location as URL";
Icon = "org.kde.plasma.clipboard";
Exec = "${libs.root "/scripts/copy-public-url.sh"} \"%F\"";
};
};
};
configs = {
General = {
RememberOpenedTabs = false;
ModifiedStartupSettings = true;
FilterBar = true;
};
ContextMenu = {
ShowOpenTerminal = false;
};
};
};
}