2024-05-30 16:54:58 -03:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
2023-10-26 22:03:27 -03:00
|
|
|
xdg.desktopEntries = {
|
|
|
|
kak = {
|
|
|
|
name = "Kakoune";
|
|
|
|
genericName = "Text Editor";
|
|
|
|
comment = "Edit text files";
|
|
|
|
exec = "kak %F";
|
|
|
|
terminal = true;
|
|
|
|
type = "Application";
|
|
|
|
icon = "kak.desktop";
|
2024-05-30 16:54:58 -03:00
|
|
|
categories = [
|
|
|
|
"Utility"
|
|
|
|
"TextEditor"
|
|
|
|
];
|
2023-10-26 22:03:27 -03:00
|
|
|
startupNotify = true;
|
|
|
|
mimeType = [
|
|
|
|
"text/english"
|
|
|
|
"text/plain"
|
|
|
|
"text/x-makefile"
|
|
|
|
"text/x-c++hdr"
|
|
|
|
"text/x-c++src"
|
|
|
|
"text/x-chdr"
|
|
|
|
"text/x-csrc"
|
|
|
|
"text/x-java"
|
|
|
|
"text/x-moc"
|
|
|
|
"text/x-pascal"
|
|
|
|
"text/x-tcl"
|
|
|
|
"text/x-tex"
|
|
|
|
"application/x-shellscript"
|
|
|
|
"text/x-c"
|
|
|
|
"text/x-c++"
|
|
|
|
];
|
|
|
|
settings = {
|
|
|
|
Keywords = "Text;editor;";
|
|
|
|
TryExec = "kak";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
down_meme = {
|
|
|
|
name = "DownMeme";
|
|
|
|
genericName = "Download memes";
|
|
|
|
exec = "down_meme";
|
|
|
|
terminal = true;
|
|
|
|
type = "Application";
|
|
|
|
icon = "download";
|
|
|
|
categories = [ "Network" ];
|
|
|
|
};
|
2024-03-27 12:40:22 -03:00
|
|
|
readQrCode = {
|
|
|
|
name = "Read QR Code";
|
|
|
|
genericName = "Read QR Code from clipboard image";
|
|
|
|
exec = "readQrCode";
|
|
|
|
terminal = true;
|
|
|
|
type = "Application";
|
|
|
|
icon = "download";
|
|
|
|
categories = [ "Network" ];
|
|
|
|
};
|
2023-10-26 22:03:27 -03:00
|
|
|
};
|
|
|
|
}
|