mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:19:22 +08:00
remove some plasma settings
This commit is contained in:
@@ -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; }
|
||||
# ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user