Home Gen513 @ 2025-05-03-18:55 by jonas@comfy-station

This commit is contained in:
Jonas Röger 2025-05-03 23:42:23 +02:00
parent 1f9a9bc381
commit 9fdbe27389
2 changed files with 62 additions and 7 deletions

View File

@ -19,14 +19,14 @@ in {
}; };
# Use kvantum-theme # Use kvantum-theme
home.sessionVariables = { # home.sessionVariables = {
QT_STYLE_OVERRIDE = "kvantum"; # QT_STYLE_OVERRIDE = "kvantum";
}; # };
# provide kvantum and nord theme # provide kvantum and nord theme
home.packages = [ home.packages = [
# pkgs.utterly-nord-plasma pkgs.layan-kde
pkgs.libsForQt5.qtstyleplugin-kvantum pkgs.kdePackages.qtstyleplugin-kvantum
]; ];
programs.konsole = { programs.konsole = {
@ -46,7 +46,7 @@ in {
# use kvantum theme # use kvantum theme
qt.enable = true; qt.enable = true;
qt.style.name = "kvantum"; qt.style.name = "layan";
# add nord like gtk theme # add nord like gtk theme
gtk = { gtk = {
@ -74,7 +74,7 @@ in {
# #
workspace = { workspace = {
clickItemTo = "select"; clickItemTo = "select";
# lookAndFeel = "Utterly-Nord"; lookAndFeel = "com.github.vinceliuice.Layan";
theme = "breeze"; theme = "breeze";
# colorScheme = "UtterlyNord"; # colorScheme = "UtterlyNord";
cursor = { cursor = {

View File

@ -0,0 +1,55 @@
{
stdenv,
lib,
fetchFromGitHub,
kdeclarative,
plasma-framework,
plasma-workspace,
gitUpdater,
}:
stdenv.mkDerivation rec {
pname = "layan-kde";
version = "2025-02-13";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = "ace0b1d93e5f08c650630c146b2d637e1e2e6cd1";
hash = "sha256-T69bGjfZeOsJLmOZKps9N2wMv5VKYeo1ipGEsLAS+Sg=";
};
# Propagate sddm theme dependencies to user env otherwise sddm does
# not find them. Putting them in buildInputs is not enough.
propagatedUserEnvPkgs = [
kdeclarative.bin
plasma-framework
plasma-workspace
];
postPatch = ''
patchShebangs install.sh
substituteInPlace install.sh \
--replace '$HOME/.local' $out \
--replace '$HOME/.config' $out/share
'';
installPhase = ''
runHook preInstall
name= ./install.sh --dest $out/share/themes
mkdir -p $out/share/sddm/themes
runHook postInstall
'';
passthru.updateScript = gitUpdater {};
meta = with lib; {
description = "Flat Design theme for KDE Plasma desktop";
homepage = "https://github.com/vinceliuice/Layan-kde";
license = licenses.gpl3Only;
platforms = platforms.all;
};
}