Compare commits

..

3 commits

8 changed files with 5 additions and 83 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

@ -2,14 +2,6 @@
let
# Set up the default kde options
kdeglobals = lib.generators.toINI {} {
KDE.LookAndFeelPackage = "org.kde.breezedarktint.desktop";
KDE.SingleClick = false;
General = {
accentColorFromWallpaper = true;
AccentColor = "172,53,164" ; };
};
balooExcludedDirs = lib.strings.intersperse "," [
"$HOME/.cache/"
"$HOME/.config/"
@ -37,18 +29,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 {
@ -59,7 +39,6 @@ let
set -x
mkdir -p $out/etc/xdg
echo "${kdeglobals}" > $out/etc/xdg/kdeglobals
echo '${baloofilerc}' > $out/etc/xdg/baloofilerc
runHook postInstall
@ -82,7 +61,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 = [
@ -109,7 +88,10 @@ in
};
programs.plasma = {
enable = true;
workspace.clickItemTo = "select";
workspace = {
clickItemTo = "select";
cursorTheme = "Breeze_Snow";
};
shortcuts = {
"kwin" = {
"Switch One Desktop to the Left" = [ "Meta+Ctrl+Left" ];