init: public
This commit is contained in:
73
modules/desktop/style/default.nix
Normal file
73
modules/desktop/style/default.nix
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.my.makeSwitch {
|
||||
inherit config;
|
||||
optionName = "style";
|
||||
optionPath = [
|
||||
"desktop"
|
||||
"style"
|
||||
];
|
||||
config' = {
|
||||
my.home = {
|
||||
stylix = {
|
||||
enable = true;
|
||||
autoEnable = false;
|
||||
base16Scheme = ./tokyonight-storm.yaml;
|
||||
polarity = "dark";
|
||||
cursor = {
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
size = 24;
|
||||
};
|
||||
iconTheme = {
|
||||
enable = true;
|
||||
package = pkgs.win11-icon-theme;
|
||||
dark = "Win11";
|
||||
light = "Win11";
|
||||
};
|
||||
targets = {
|
||||
nixos-icons.enable = false;
|
||||
gnome-text-editor.enable = false;
|
||||
};
|
||||
};
|
||||
|
||||
# GTK
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
package = pkgs.mono-gtk-theme;
|
||||
name = "MonoThemeDark";
|
||||
};
|
||||
gtk2 = {
|
||||
configLocation = "${config.my.home.xdg.configHome}/gtk-2.0/gtkrc";
|
||||
};
|
||||
gtk3 = {
|
||||
extraConfig = {
|
||||
gtk-decoration-layout = ":none";
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
};
|
||||
gtk4 = {
|
||||
extraConfig = {
|
||||
gtk-decoration-layout = ":none";
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#QT
|
||||
qt = {
|
||||
enable = true;
|
||||
style.package = with pkgs; [
|
||||
darkly-qt5
|
||||
darkly-qt6
|
||||
];
|
||||
platformTheme.name = "qtct";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
21
modules/desktop/style/tokyonight-storm.yaml
Normal file
21
modules/desktop/style/tokyonight-storm.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
system: "base16"
|
||||
name: "Tokyo Night Storm"
|
||||
author: "Michaël Ball"
|
||||
variant: "dark"
|
||||
palette:
|
||||
base00: "#24283B"
|
||||
base01: "#16161E"
|
||||
base02: "#343A52"
|
||||
base03: "#444B6A"
|
||||
base04: "#787C99"
|
||||
base05: "#A9B1D6"
|
||||
base06: "#CBCCD1"
|
||||
base07: "#D5D6DB"
|
||||
base08: "#C0CAF5"
|
||||
base09: "#A9B1D6"
|
||||
base0A: "#0DB9D7"
|
||||
base0B: "#9ECE6A"
|
||||
base0C: "#B4F9F8"
|
||||
base0D: "#2AC3DE"
|
||||
base0E: "#BB9AF7"
|
||||
base0F: "#F7768E"
|
||||
BIN
modules/desktop/style/wallpaper.png
Normal file
BIN
modules/desktop/style/wallpaper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
Reference in New Issue
Block a user