Kde/plasma: get rid of custom look and feel

This commit is contained in:
Toast 2024-01-17 13:23:33 +01:00
parent 42776e6396
commit 7f86264983
8 changed files with 1 additions and 74 deletions

View file

@ -1,29 +0,0 @@
[kdeglobals][KDE]
widgetStyle=Breeze
[kdeglobals][General]
ColorScheme=BreezeDarkTint
[kdeglobals][Icons]
Theme=breeze-dark
[plasmarc][Theme]
name=default
[Wallpaper]
Image=MilkyWay
[kcminputrc][Mouse]
cursorTheme=breeze_cursors
[kwinrc][WindowSwitcher]
LayoutName=org.kde.breeze.desktop
[kwinrc][DesktopSwitcher]
LayoutName=org.kde.breeze.desktop
[kwinrc][org.kde.kdecoration2]
library=org.kde.breeze
[KSplash]
Theme=org.kde.Breeze

View file

@ -1,6 +0,0 @@
loadTemplate("org.kde.plasma.desktop.defaultPanel")
var desktopsArray = desktopsForActivity(currentActivity());
for( var j = 0; j < desktopsArray.length; j++) {
desktopsArray[j].wallpaperPlugin = 'org.kde.image';
}

View file

@ -1,3 +0,0 @@
applet.currentConfigGroup = ["Appearance"]
applet.writeConfig("showSeconds", "true")
applet.reloadConfig()

View file

@ -1,3 +0,0 @@
applet.currentConfigGroup = ["General"]
applet.writeConfig("icon", "nix-snowflake-white")
applet.reloadConfig()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 KiB

View file

@ -1,19 +0,0 @@
{
"KPlugin": {
"Authors": [
{
"Name": "Toast"
}
],
"Category": "",
"Description": "Custom theme based on Breeze Dark",
"Id": "xyz.toast003.customtheme.desktop",
"License": "GPL",
"Name": "Toast's theme",
"ServiceTypes": [
"Plasma/LookAndFeel"
],
"Version": "1.0"
},
"X-Plasma-MainScript": "defaults"
}

View file

@ -3,7 +3,6 @@
let
# Set up the default kde options
kdeglobals = lib.generators.toINI {} {
KDE.LookAndFeelPackage = "org.kde.breezedarktint.desktop";
KDE.SingleClick = false;
General = {
accentColorFromWallpaper = true;
@ -37,18 +36,6 @@ let
runHook postInstall
'';
};
lookAndFeel = pkgs.stdenv.mkDerivation {
name = "toast-look-and-feel";
src = ./look-and-feel;
installPhase = ''
runHook preInstall
mkdir -p $out/share/plasma/look-and-feel/
cp -r xyz.toast003.customtheme.desktop $out/share/plasma/look-and-feel/
runHook postInstall
'';
};
# /etc/xdg is not read by plasma, so to change the default settings you need to put them in a package
plasmaDefaults = pkgs.stdenv.mkDerivation {
@ -82,7 +69,7 @@ in
Install the patched Breeze color schemes and look and feel packages,
as well as the plasma default configs
*/
environment.systemPackages = [ breezeTint lookAndFeel plasmaDefaults ];
environment.systemPackages = [ breezeTint plasmaDefaults ];
# Plasma configs should be on all users
home-manager.sharedModules = [