Home Gen513 @ 2025-05-03-18:55 by jonas@comfy-station
This commit is contained in:
parent
1f9a9bc381
commit
9fdbe27389
@ -19,14 +19,14 @@ in {
|
||||
};
|
||||
|
||||
# Use kvantum-theme
|
||||
home.sessionVariables = {
|
||||
QT_STYLE_OVERRIDE = "kvantum";
|
||||
};
|
||||
# home.sessionVariables = {
|
||||
# QT_STYLE_OVERRIDE = "kvantum";
|
||||
# };
|
||||
|
||||
# provide kvantum and nord theme
|
||||
home.packages = [
|
||||
# pkgs.utterly-nord-plasma
|
||||
pkgs.libsForQt5.qtstyleplugin-kvantum
|
||||
pkgs.layan-kde
|
||||
pkgs.kdePackages.qtstyleplugin-kvantum
|
||||
];
|
||||
|
||||
programs.konsole = {
|
||||
@ -46,7 +46,7 @@ in {
|
||||
|
||||
# use kvantum theme
|
||||
qt.enable = true;
|
||||
qt.style.name = "kvantum";
|
||||
qt.style.name = "layan";
|
||||
|
||||
# add nord like gtk theme
|
||||
gtk = {
|
||||
@ -74,7 +74,7 @@ in {
|
||||
#
|
||||
workspace = {
|
||||
clickItemTo = "select";
|
||||
# lookAndFeel = "Utterly-Nord";
|
||||
lookAndFeel = "com.github.vinceliuice.Layan";
|
||||
theme = "breeze";
|
||||
# colorScheme = "UtterlyNord";
|
||||
cursor = {
|
||||
|
||||
55
modules/home/plasma/layan-kde.nix
Normal file
55
modules/home/plasma/layan-kde.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user