remove some plasma settings

This commit is contained in:
2024-06-03 09:43:25 +08:00
parent 4939db84f0
commit 7c6709e70c
3 changed files with 101 additions and 101 deletions

View File

@@ -3,90 +3,90 @@ inputs:
imports = inputs.localLib.findModules ./.;
config = inputs.lib.mkIf (builtins.elem "desktop" inputs.config.nixos.packages._packageSets)
{
home-manager.users.chn.config.programs.plasma = inputs.lib.mkMerge
[
# home-manager.users.chn.config.programs.plasma = inputs.lib.mkMerge
# [
# TODO: autostart, panel, discard user changed settings
# kwin
{
kwin.titlebarButtons =
{
right = [ "help" "keep-below-windows" "keep-above-windows" "minimize" "maximize" "close" ];
left = [ "more-window-actions" ];
};
windows.allowWindowsToRememberPositions = false;
configFile =
{
plasmanotifyrc.Notifications.PopupPosition.value = "BottomRight";
kwinrc =
{
Tiling.padding.value = 4;
Wayland."InputMethod[$e]".value =
"/run/current-system/sw/share/applications/fcitx5-wayland-launcher.desktop";
Windows.RollOverDesktops.value = true;
Compositing = { AllowTearing.value = false; WindowsBlockCompositing.value = false; };
};
};
}
# {
# kwin.titlebarButtons =
# {
# right = [ "help" "keep-below-windows" "keep-above-windows" "minimize" "maximize" "close" ];
# left = [ "more-window-actions" ];
# };
# windows.allowWindowsToRememberPositions = false;
# configFile =
# {
# plasmanotifyrc.Notifications.PopupPosition.value = "BottomRight";
# kwinrc =
# {
# Tiling.padding.value = 4;
# Wayland."InputMethod[$e]".value =
# "/run/current-system/sw/share/applications/fcitx5-wayland-launcher.desktop";
# Windows.RollOverDesktops.value = true;
# Compositing = { AllowTearing.value = false; WindowsBlockCompositing.value = false; };
# };
# };
# }
# dolphin and file chooser
{
configFile =
{
dolphinrc =
{
General = { ShowFullPath.value = true; FilterBar.value = true; RememberOpenedTabs.value = false; };
PreviewSettings.Plugins.value = builtins.concatStringsSep ","
[
"blenderthumbnail"
"comicbookthumbnail"
"djvuthumbnail"
"ebookthumbnail"
"exrthumbnail"
"marble_thumbnail_geojson"
"marble_thumbnail_gpx"
"jpegthumbnail"
"marble_thumbnail_kmz"
"marble_thumbnail_kml"
"kraorathumbnail"
"windowsimagethumbnail"
"windowsexethumbnail"
"mltpreview"
"mobithumbnail"
"opendocumentthumbnail"
"marble_thumbnail_osm"
"palathumbcreator"
"gsthumbnail"
"rawthumbnail"
"svgthumbnail"
"imagethumbnail"
"fontthumbnail"
"directorythumbnail"
"textthumbnail"
"webarchivethumbnail"
"ffmpegthumbs"
"audiothumbnail"
];
};
kdeglobals."KFileDialog Settings" =
{
"Allow Expansion".value = true;
"Automatically select filename extension".value = true;
"Show Bookmarks".value = true;
"Show Full Path".value = true;
"Show Inline Previews".value = true;
"Show Preview".value = true;
"Show Speedbar".value = true;
"Show hidden files".value = true;
"Sort by".value = "Name";
"Sort directories first".value = true;
"Sort hidden files last".value = true;
"View Style".value = "DetailTree";
};
};
}
# {
# configFile =
# {
# dolphinrc =
# {
# General = { ShowFullPath.value = true; FilterBar.value = true; RememberOpenedTabs.value = false; };
# PreviewSettings.Plugins.value = builtins.concatStringsSep ","
# [
# "blenderthumbnail"
# "comicbookthumbnail"
# "djvuthumbnail"
# "ebookthumbnail"
# "exrthumbnail"
# "marble_thumbnail_geojson"
# "marble_thumbnail_gpx"
# "jpegthumbnail"
# "marble_thumbnail_kmz"
# "marble_thumbnail_kml"
# "kraorathumbnail"
# "windowsimagethumbnail"
# "windowsexethumbnail"
# "mltpreview"
# "mobithumbnail"
# "opendocumentthumbnail"
# "marble_thumbnail_osm"
# "palathumbcreator"
# "gsthumbnail"
# "rawthumbnail"
# "svgthumbnail"
# "imagethumbnail"
# "fontthumbnail"
# "directorythumbnail"
# "textthumbnail"
# "webarchivethumbnail"
# "ffmpegthumbs"
# "audiothumbnail"
# ];
# };
# kdeglobals."KFileDialog Settings" =
# {
# "Allow Expansion".value = true;
# "Automatically select filename extension".value = true;
# "Show Bookmarks".value = true;
# "Show Full Path".value = true;
# "Show Inline Previews".value = true;
# "Show Preview".value = true;
# "Show Speedbar".value = true;
# "Show hidden files".value = true;
# "Sort by".value = "Name";
# "Sort directories first".value = true;
# "Sort hidden files last".value = true;
# "View Style".value = "DetailTree";
# };
# };
# }
# krunner
{ configFile.krunnerrc = { General.FreeFloating.value = true; Plugins.baloosearchEnabled.value = false; }; }
# { configFile.krunnerrc = { General.FreeFloating.value = true; Plugins.baloosearchEnabled.value = false; }; }
# lock screen
{ configFile.kscreenlockerrc.Daemon.Autolock.value = false; }
];
# { configFile.kscreenlockerrc.Daemon.Autolock.value = false; }
# ];
};
}

View File

@@ -14,26 +14,26 @@ inputs:
# # ~/.config/kdeglobals [Icons]
# iconTheme = "Fluent";
# };
configFile =
{
# kdeglobals.KDE.widgetStyle.value = "kvantum";
# "Kvantum/kvantum.kvconfig".General.theme.value = "Fluent-round";
kwinrc =
{
Effect-blur.BlurStrength.value = 10;
Effect-kwin4_effect_translucency.MoveResize.value = 75;
Effect-wobblywindows =
{ AdvancedMode.value = true; Drag.value = 85; Stiffness.value = 10; WobblynessLevel.value = 1; };
Plugins =
{
blurEnabled.value = true;
kwin4_effect_dimscreenEnabled.value = true;
kwin4_effect_translucencyEnabled.value = true;
padding.value = 4;
wobblywindowsEnabled.value = true;
};
};
};
# configFile =
# {
# # kdeglobals.KDE.widgetStyle.value = "kvantum";
# # "Kvantum/kvantum.kvconfig".General.theme.value = "Fluent-round";
# kwinrc =
# {
# Effect-blur.BlurStrength.value = 10;
# Effect-kwin4_effect_translucency.MoveResize.value = 75;
# Effect-wobblywindows =
# { AdvancedMode.value = true; Drag.value = 85; Stiffness.value = 10; WobblynessLevel.value = 1; };
# Plugins =
# {
# blurEnabled.value = true;
# kwin4_effect_dimscreenEnabled.value = true;
# kwin4_effect_translucencyEnabled.value = true;
# padding.value = 4;
# wobblywindowsEnabled.value = true;
# };
# };
# };
};
};
}

View File

@@ -23,6 +23,6 @@ inputs:
# };
kscreenlockerrc."Greeter/Wallpaper/org.kde.image/General" =
{ Image.value = wallpaper; PreviewImage.value = wallpaper; };
kdeglobals.General.accentColorFromWallpaper.value = true;
# kdeglobals.General.accentColorFromWallpaper.value = true;
};
}