From 412dee6d0b7691f22e17411e7a6ae03d5356a873 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Thu, 15 Feb 2024 10:39:46 +0100 Subject: [PATCH] Basic theming. --- home-manager/home.nix | 1 + home-manager/modules/theming.nix | 30 ++++++++++++++++++++++++++++++ nixos/configuration.nix | 6 +++--- 3 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 home-manager/modules/theming.nix diff --git a/home-manager/home.nix b/home-manager/home.nix index 050b3e2..1258ef4 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -21,6 +21,7 @@ ./modules/shell.nix ./modules/nvim.nix ./modules/restic.nix + ./modules/theming.nix ]; diff --git a/home-manager/modules/theming.nix b/home-manager/modules/theming.nix new file mode 100644 index 0000000..64c526a --- /dev/null +++ b/home-manager/modules/theming.nix @@ -0,0 +1,30 @@ +{ pkgs, ... }: +{ + # Enable qt + qt.enable = true; + + # Use gtk platform theme + qt.platformTheme = "gtk"; + + # Use gtk2 style + qt.style.name = "gtk2"; + + # Enable gtk + gtk.enable = true; + + # Gtk cursor theme + gtk.cursorTheme.package = pkgs.catppuccin-cursors.frappeRosewater; + gtk.cursorTheme.name = "Catppuccin-Frappe-Rosewater-Cursors"; + + # Gtk look theme + gtk.theme.package = pkgs.catppuccin-gtk; + gtk.theme.name = "Catppuccin-Frappe-Standard-Blue-Dark"; + + # Gtk icon theme + gtk.iconTheme.package = (pkgs.catppuccin-papirus-folders.override { flavor = "frappe"; accent = "pink"; }); + gtk.iconTheme.name = "Papirus-Dark"; + + # Font name + gtk.font.name = "Noto Sans"; + gtk.font.size = 10; +} diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 851dc6c..037a715 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -140,10 +140,10 @@ ipafont ryzenadj (catppuccin-kde.override { winDecStyles = ["classic" "modern"] ;}) - catppuccin-gtk - catppuccin-cursors.frappeRosewater +# catppuccin-gtk +# catppuccin-cursors.frappeRosewater catppuccin-sddm-corners - (catppuccin-papirus-folders.override { flavor = "frappe"; accent = "pink"; }) +# (catppuccin-papirus-folders.override { flavor = "frappe"; accent = "pink"; }) ]; # Wireguard settings