fix have nemo be the only file explorer
This commit is contained in:
parent
00aa80ddc0
commit
044cc7da4a
2 changed files with 34 additions and 0 deletions
|
|
@ -144,6 +144,7 @@
|
|||
geary # Email
|
||||
gnome-tour
|
||||
gnome-font-viewer # Have font-manager
|
||||
nautilus # Using Nemo
|
||||
];
|
||||
|
||||
# Configure keymap in X11
|
||||
|
|
|
|||
33
home.nix
33
home.nix
|
|
@ -101,6 +101,7 @@
|
|||
logseq
|
||||
prismlauncher
|
||||
nemo-with-extensions
|
||||
file-roller
|
||||
font-manager
|
||||
antigravity-fhs
|
||||
claude-code
|
||||
|
|
@ -364,6 +365,28 @@
|
|||
comment = "Fast, featureful, GPU based terminal emulator";
|
||||
};
|
||||
|
||||
# Extract archives on double-click
|
||||
xdg.desktopEntries.extract-here = {
|
||||
name = "Extract Here";
|
||||
exec = "file-roller --extract-here %U";
|
||||
icon = "file-roller";
|
||||
type = "Application";
|
||||
categories = ["Utility"];
|
||||
mimeType = [
|
||||
"application/zip"
|
||||
"application/x-tar"
|
||||
"application/x-compressed-tar"
|
||||
"application/x-bzip-compressed-tar"
|
||||
"application/x-xz-compressed-tar"
|
||||
"application/x-zstd-compressed-tar"
|
||||
"application/gzip"
|
||||
"application/x-7z-compressed"
|
||||
"application/x-rar"
|
||||
"application/x-rar-compressed"
|
||||
];
|
||||
noDisplay = true;
|
||||
};
|
||||
|
||||
# Autostart applications using proper desktop files
|
||||
xdg.autostart = {
|
||||
enable = true;
|
||||
|
|
@ -383,6 +406,16 @@
|
|||
"x-scheme-handler/about" = "zen.desktop";
|
||||
"x-scheme-handler/unknown" = "zen.desktop";
|
||||
"inode/directory" = "nemo.desktop";
|
||||
"application/zip" = "extract-here.desktop";
|
||||
"application/x-tar" = "extract-here.desktop";
|
||||
"application/x-compressed-tar" = "extract-here.desktop";
|
||||
"application/x-bzip-compressed-tar" = "extract-here.desktop";
|
||||
"application/x-xz-compressed-tar" = "extract-here.desktop";
|
||||
"application/x-zstd-compressed-tar" = "extract-here.desktop";
|
||||
"application/gzip" = "extract-here.desktop";
|
||||
"application/x-7z-compressed" = "extract-here.desktop";
|
||||
"application/x-rar" = "extract-here.desktop";
|
||||
"application/x-rar-compressed" = "extract-here.desktop";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue