Replace Dolphin with Nemo as the default file manager across various configurations. Enable GVFS for better file management support in GTK applications. Remove Dolphin configuration files and introduce Nemo configuration files to streamline the desktop experience.
This commit is contained in:
@@ -1,76 +0,0 @@
|
||||
{ ... }: {
|
||||
flake.homeManagerModules.wisdomFilebrowsersDolphin =
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
root = config.chiasson.home;
|
||||
cfg = root.filebrowsers.dolphin;
|
||||
in
|
||||
{
|
||||
options.chiasson.home.filebrowsers.dolphin.enable = lib.mkEnableOption "Dolphin + declarative dolphinrc.";
|
||||
|
||||
config = lib.mkIf (root.enable && cfg.enable) {
|
||||
home.packages = [ pkgs.kdePackages.dolphin ];
|
||||
|
||||
xdg.configFile."dolphinrc".text = ''
|
||||
[ContentDisplay]
|
||||
UsePermissionsFormat=CombinedFormat
|
||||
|
||||
[General]
|
||||
StartupPath=~
|
||||
DoubleClickViewAction=show_hidden_files
|
||||
ShowFullPath=true
|
||||
ShowFullPathInTitlebar=true
|
||||
ShowStatusBar=FullWidth
|
||||
UseTabForSwitchingSplitView=true
|
||||
Version=202
|
||||
ViewPropsTimestamp=2025,11,17,23,21,57.762
|
||||
|
||||
[KFileDialog Settings]
|
||||
Places Icons Auto-resize=false
|
||||
Places Icons Static Size=22
|
||||
|
||||
[MainWindow]
|
||||
MenuBar=Disabled
|
||||
ToolBarsMovable=Disabled
|
||||
|
||||
[PreviewSettings]
|
||||
Plugins=appimagethumbnail,audiothumbnail,blenderthumbnail,comicbookthumbnail,cursorthumbnail,djvuthumbnail,ebookthumbnail,exrthumbnail,directorythumbnail,fontthumbnail,imagethumbnail,jpegthumbnail,kraorathumbnail,windowsexethumbnail,windowsimagethumbnail,mobithumbnail,opendocumentthumbnail,gsthumbnail,rawthumbnail,svgthumbnail,ffmpegthumbs
|
||||
|
||||
[IconsMode]
|
||||
IconSize=48
|
||||
PreviewSize=48
|
||||
TextLines=2
|
||||
UseThumbnails=true
|
||||
|
||||
[DetailsMode]
|
||||
FontWeight=50
|
||||
HighlightEntireRow=true
|
||||
|
||||
[ViewProperties]
|
||||
Mode=1
|
||||
ColumnWidths=50,50,50,50,50,50,50,50,50,50
|
||||
SortColumn=0
|
||||
SortOrder=0
|
||||
SortFoldersFirst=true
|
||||
SortHiddenLast=false
|
||||
SortCaseSensitively=false
|
||||
ShowPreviews=true
|
||||
ShowInGroups=false
|
||||
ShowFoldersFirst=true
|
||||
ShowHiddenFilesLast=false
|
||||
NaturalSorting=true
|
||||
|
||||
[ContextMenu]
|
||||
ShowCopyToMenu=true
|
||||
ShowMoveToMenu=true
|
||||
|
||||
[Search]
|
||||
Location=Everywhere
|
||||
|
||||
[SettingsWindow]
|
||||
SidebarWidth=180
|
||||
SplitterState=AAAA/wAAAAD9AAAAAAAAAAAAAAABAAAAAQAAAAEAAAAAQAAAAEAAAAA=
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{ ... }: {
|
||||
flake.homeManagerModules.wisdomFilebrowsersNemo =
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
root = config.chiasson.home;
|
||||
cfg = root.filebrowsers.nemo;
|
||||
in
|
||||
{
|
||||
options.chiasson.home.filebrowsers.nemo.enable = lib.mkEnableOption ''
|
||||
Nemo file manager (GTK). Colors come from DMS matugen via GTK settings — no KDE/Qt bridge needed.
|
||||
'';
|
||||
|
||||
config = lib.mkIf (root.enable && cfg.enable) {
|
||||
home.packages = [pkgs.nemo];
|
||||
|
||||
xdg.mimeApps = {
|
||||
enable = lib.mkDefault true;
|
||||
defaultApplications = {
|
||||
"inode/directory" = lib.mkDefault "nemo.desktop";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user