From 6127a9df0b89c220e4094dab86dfb9945af0a21f Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sun, 5 Nov 2023 19:53:04 -0800 Subject: [PATCH] KDE, QT, GTK, remove Brave --- kat/gui/packages.nix | 2 -- kat/kde/gtk.nix | 33 +++++++++++++++++++++++++++++++++ kat/kde/kde.nix | 15 +++++++++++++++ kat/kde/qt.nix | 10 ++++++++++ systems/koishi.nix | 1 + 5 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 kat/kde/gtk.nix create mode 100644 kat/kde/kde.nix create mode 100644 kat/kde/qt.nix diff --git a/kat/gui/packages.nix b/kat/gui/packages.nix index 643a18c5..c69d8c78 100644 --- a/kat/gui/packages.nix +++ b/kat/gui/packages.nix @@ -5,8 +5,6 @@ # Task managers btop htop - # Browser - brave # Mail thunderbird # Music diff --git a/kat/kde/gtk.nix b/kat/kde/gtk.nix new file mode 100644 index 00000000..bc6a4aa4 --- /dev/null +++ b/kat/kde/gtk.nix @@ -0,0 +1,33 @@ +{pkgs, ...}: { + gtk = { + enable = true; + iconTheme = { + name = "Papirus"; + package = pkgs.papirus-icon-theme; + }; + + theme = { + name = "Arc"; + package = pkgs.arc-theme; + }; + + cursorTheme = { + name = "Numix-Cursor"; + package = pkgs.numix-cursor-theme; + }; + + gtk3.extraConfig = { + Settings = '' + gtk-application-prefer-dark-theme=1 + ''; + }; + + gtk4.extraConfig = { + Settings = '' + gtk-application-prefer-dark-theme=1 + ''; + }; + }; + + home.sessionVariables.GTK_THEME = "Arc"; +} diff --git a/kat/kde/kde.nix b/kat/kde/kde.nix new file mode 100644 index 00000000..50caf1ab --- /dev/null +++ b/kat/kde/kde.nix @@ -0,0 +1,15 @@ +_: { + programs.plasma = { + configFile = { + "kded5rc"."PlasmaBrowserIntegration"."shownCount" = 1; + "kdeglobals"."WM"."activeBackground" = "231,232,235"; + "kdeglobals"."WM"."activeBlend" = "231,232,235"; + "kdeglobals"."WM"."activeForeground" = "92,97,108"; + "kdeglobals"."WM"."inactiveBackground" = "231,232,235"; + "kdeglobals"."WM"."inactiveBlend" = "231,232,235"; + "kdeglobals"."WM"."inactiveForeground" = "163,165,172"; + "kxkbrc"."Layout"."Options" = "terminate:ctrl_alt_bksp,ctrl:nocaps"; + "kxkbrc"."Layout"."ResetOldOptions" = true; + }; + }; +} diff --git a/kat/kde/qt.nix b/kat/kde/qt.nix new file mode 100644 index 00000000..83f9b01d --- /dev/null +++ b/kat/kde/qt.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: { + qt = { + enable = true; + platformTheme = "kde"; + style = { + name = "Arc"; + package = pkgs.arc-kde-theme; + }; + }; +} diff --git a/systems/koishi.nix b/systems/koishi.nix index c90c67b5..ca118e8d 100644 --- a/systems/koishi.nix +++ b/systems/koishi.nix @@ -17,6 +17,7 @@ _: let ++ (with tree; [ kat.gui kat.vscode + kat.kde ]); fileSystems = {