icons
This commit is contained in:
@@ -9,8 +9,6 @@ in
|
|||||||
programs.btop = {
|
programs.btop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
color_theme = mkDefault "global";
|
|
||||||
theme_background = true;
|
|
||||||
truecolor = true;
|
truecolor = true;
|
||||||
force_tty = false;
|
force_tty = false;
|
||||||
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty";
|
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty";
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.mjallen.programs.hyprland;
|
cfg = config.mjallen.programs.hyprland;
|
||||||
drawer = "nwg-drawer -fm nautilus -term kitty -mb 10 -mt 10 -ml 10 -mr 10 -pbuseicontheme -i ${config.gtk.iconTheme.name}";
|
drawer = "nwg-drawer -fm nautilus -term kitty -mb 10 -mt 10 -ml 10 -mr 10 -pbuseicontheme -i ${config.stylix.icons.dark}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|||||||
@@ -152,18 +152,6 @@ with lib;
|
|||||||
description = "Any extra configuration options";
|
description = "Any extra configuration options";
|
||||||
};
|
};
|
||||||
|
|
||||||
iconThemeName = mkOption {
|
|
||||||
type = types.str;
|
|
||||||
default = "Colloid-Dark";
|
|
||||||
description = "Icon theme name";
|
|
||||||
};
|
|
||||||
|
|
||||||
gtkThemeName = mkOption {
|
|
||||||
type = types.str;
|
|
||||||
default = "Colloid-Dark";
|
|
||||||
description = "GTK theme name";
|
|
||||||
};
|
|
||||||
|
|
||||||
defaultApps = mkOption {
|
defaultApps = mkOption {
|
||||||
type = types.submodule {
|
type = types.submodule {
|
||||||
options = {
|
options = {
|
||||||
|
|||||||
@@ -16,11 +16,6 @@ let
|
|||||||
iconThemeVariant = "default"; # "default" | ... | "all"
|
iconThemeVariant = "default"; # "default" | ... | "all"
|
||||||
iconScheme = "nord"; # "default" | "nord" | "dracula" | ...
|
iconScheme = "nord"; # "default" | "nord" | "dracula" | ...
|
||||||
|
|
||||||
# Cursor
|
|
||||||
cursorTheme = "macOS";
|
|
||||||
cursorThemePkg = pkgs.apple-cursor;
|
|
||||||
cursorSize = 24;
|
|
||||||
|
|
||||||
# GTK
|
# GTK
|
||||||
gtkTheme = "Colloid-dark-standard";
|
gtkTheme = "Colloid-dark-standard";
|
||||||
gtkThemePkg = pkgs.colloid-gtk-theme.override {
|
gtkThemePkg = pkgs.colloid-gtk-theme.override {
|
||||||
@@ -36,56 +31,45 @@ let
|
|||||||
schemeVariants = [ iconScheme ];
|
schemeVariants = [ iconScheme ];
|
||||||
colorVariants = [ iconThemeVariant ];
|
colorVariants = [ iconThemeVariant ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fonts
|
|
||||||
fontName = config.stylix.fonts.monospace.name;
|
|
||||||
fontPackage = config.stylix.fonts.monospace.package;
|
|
||||||
fontSize = 12;
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
dconf = {
|
# dconf = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
settings = {
|
# settings = {
|
||||||
"org/gnome/desktop/interface".color-scheme = mkForce "prefer-dark";
|
# "org/gnome/desktop/interface".color-scheme = mkForce "prefer-dark";
|
||||||
"org/gnome/desktop/interface".cursor-theme = cursorTheme;
|
# # "org/gnome/desktop/interface".cursor-theme = cursorTheme;
|
||||||
"org/gnome/desktop/interface".gtk-theme = gtkTheme;
|
# "org/gnome/desktop/interface".gtk-theme = gtkTheme;
|
||||||
"org/gnome/desktop/interface".icon-theme = iconTheme;
|
# "org/gnome/desktop/interface".icon-theme = iconTheme;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
gtk = {
|
# gtk = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
|
|
||||||
cursorTheme = {
|
# cursorTheme = {
|
||||||
name = cursorTheme;
|
# name = cursorTheme;
|
||||||
package = cursorThemePkg;
|
# package = cursorThemePkg;
|
||||||
};
|
# };
|
||||||
|
|
||||||
theme = {
|
# theme = {
|
||||||
name = gtkTheme;
|
# name = gtkTheme;
|
||||||
package = gtkThemePkg;
|
# package = gtkThemePkg;
|
||||||
};
|
# };
|
||||||
|
|
||||||
iconTheme = {
|
# iconTheme = {
|
||||||
name = iconTheme;
|
# name = iconTheme;
|
||||||
package = iconThemePkg;
|
# package = iconThemePkg;
|
||||||
};
|
# };
|
||||||
|
|
||||||
gtk3.extraConfig = {
|
# gtk3.extraConfig = {
|
||||||
gtk-application-prefer-dark-theme = true;
|
# gtk-application-prefer-dark-theme = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
gtk4.extraConfig = {
|
# gtk4.extraConfig = {
|
||||||
gtk-application-prefer-dark-theme = true;
|
# gtk-application-prefer-dark-theme = true;
|
||||||
};
|
# };
|
||||||
|
# };
|
||||||
font = {
|
|
||||||
name = mkDefault fontName;
|
|
||||||
package = mkDefault fontPackage;
|
|
||||||
size = mkDefault fontSize;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,12 +11,6 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
shellIntegration.enableZshIntegration = true;
|
shellIntegration.enableZshIntegration = true;
|
||||||
|
|
||||||
font = {
|
|
||||||
name = mkDefault cfg.font.name;
|
|
||||||
package = mkDefault cfg.font.package;
|
|
||||||
size = mkDefault cfg.font.size;
|
|
||||||
};
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
bold_font = "auto";
|
bold_font = "auto";
|
||||||
italic_font = "auto";
|
italic_font = "auto";
|
||||||
@@ -25,80 +19,6 @@ in
|
|||||||
cursor_shape = "block";
|
cursor_shape = "block";
|
||||||
url_style = "dotted";
|
url_style = "dotted";
|
||||||
confirm_os_window_close = "0";
|
confirm_os_window_close = "0";
|
||||||
background_opacity = mkForce "0.85";
|
|
||||||
|
|
||||||
# # The basic colors
|
|
||||||
# foreground = config.lib.stylix.colors.base06;
|
|
||||||
# background = config.lib.stylix.colors.base00;
|
|
||||||
# selection_foreground = config.lib.stylix.colors.base00;
|
|
||||||
# selection_background = config.lib.stylix.colors.base0E;
|
|
||||||
|
|
||||||
# # Cursor colors
|
|
||||||
# cursor = config.lib.stylix.colors.base0E;
|
|
||||||
# cursor_text_color = config.lib.stylix.colors.base00;
|
|
||||||
|
|
||||||
# # URL underline color when hovering with mouse
|
|
||||||
# url_color = config.lib.stylix.colors.base0E;
|
|
||||||
|
|
||||||
# # Kitty window border colors
|
|
||||||
# active_border_color = config.lib.stylix.colors.base0F;
|
|
||||||
# inactive_border_color = config.lib.stylix.colors.base01;
|
|
||||||
# bell_border_color = config.lib.stylix.colors.base0A;
|
|
||||||
|
|
||||||
# # OS Window titlebar colors
|
|
||||||
# wayland_titlebar_color = config.lib.stylix.colors.base00;
|
|
||||||
# macos_titlebar_color = config.lib.stylix.colors.base00;
|
|
||||||
|
|
||||||
# # Tab bar colors
|
|
||||||
# active_tab_foreground = config.lib.stylix.colors.base03;
|
|
||||||
# active_tab_background = config.lib.stylix.colors.base0E;
|
|
||||||
# inactive_tab_foreground = config.lib.stylix.colors.base06;
|
|
||||||
# inactive_tab_background = config.lib.stylix.colors.base01;
|
|
||||||
# tab_bar_background = config.lib.stylix.colors.base03;
|
|
||||||
|
|
||||||
# # Colors for marks (marked text in the terminal)
|
|
||||||
# mark1_foreground = config.lib.stylix.colors.base00;
|
|
||||||
# mark1_background = config.lib.stylix.colors.base0F;
|
|
||||||
# mark2_foreground = config.lib.stylix.colors.base00;
|
|
||||||
# mark2_background = config.lib.stylix.colors.base0E;
|
|
||||||
# mark3_foreground = config.lib.stylix.colors.base00;
|
|
||||||
# mark3_background = config.lib.stylix.colors.base0C;
|
|
||||||
|
|
||||||
# # The 16 terminal colors
|
|
||||||
|
|
||||||
# # black
|
|
||||||
# color0 = config.lib.stylix.colors.base00;
|
|
||||||
|
|
||||||
# # Autosuggestion
|
|
||||||
# color8 = config.lib.stylix.colors.base0F;
|
|
||||||
|
|
||||||
# # red
|
|
||||||
# color1 = config.lib.stylix.colors.base08;
|
|
||||||
# color9 = config.lib.stylix.colors.base08;
|
|
||||||
|
|
||||||
# # green
|
|
||||||
# color2 = config.lib.stylix.colors.base0B;
|
|
||||||
# color10 = config.lib.stylix.colors.base0B;
|
|
||||||
|
|
||||||
# # yellow
|
|
||||||
# color3 = config.lib.stylix.colors.base0A;
|
|
||||||
# color11 = config.lib.stylix.colors.base0A;
|
|
||||||
|
|
||||||
# # blue
|
|
||||||
# color4 = config.lib.stylix.colors.base0F;
|
|
||||||
# color12 = config.lib.stylix.colors.base0F;
|
|
||||||
|
|
||||||
# # magenta
|
|
||||||
# color5 = config.lib.stylix.colors.base0E;
|
|
||||||
# color13 = config.lib.stylix.colors.base0E;
|
|
||||||
|
|
||||||
# # cyan
|
|
||||||
# color6 = config.lib.stylix.colors.base0C;
|
|
||||||
# color14 = config.lib.stylix.colors.base0C;
|
|
||||||
|
|
||||||
# # white
|
|
||||||
# color7 = config.lib.stylix.colors.base05;
|
|
||||||
# color15 = config.lib.stylix.colors.base06;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,19 +6,5 @@ in
|
|||||||
{
|
{
|
||||||
options.mjallen.programs.kitty = {
|
options.mjallen.programs.kitty = {
|
||||||
enable = mkEnableOption "enable kitty terminal";
|
enable = mkEnableOption "enable kitty terminal";
|
||||||
|
|
||||||
font = {
|
|
||||||
name = mkOption {
|
|
||||||
type = types.str;
|
|
||||||
default = "DejaVu Sans";
|
|
||||||
};
|
|
||||||
|
|
||||||
package = mkOpt types.package pkgs.dejavu_fonts "Default font package";
|
|
||||||
|
|
||||||
size = mkOption {
|
|
||||||
type = with types; int;
|
|
||||||
default = 12;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,29 @@
|
|||||||
{ pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
# # Pull from global theme options
|
||||||
|
# themeSize = "standard"; # "standard" | "compact"
|
||||||
|
# themeAccent = "default"; # "default" | ... | "all"
|
||||||
|
# themeTweak = "normal"; # "normal" | "rimless" | "float" | "black"
|
||||||
|
# themeColor = "dark"; # "light" | "dark"
|
||||||
|
# iconThemeVariant = "default"; # "default" | ... | "all"
|
||||||
|
# iconScheme = "nord"; # "default" | "nord" | "dracula" | ...
|
||||||
|
|
||||||
|
# # GTK
|
||||||
|
# gtkTheme = "Colloid-dark-standard";
|
||||||
|
# gtkThemePkg = pkgs.colloid-gtk-theme.override {
|
||||||
|
# sizeVariants = [ themeSize ];
|
||||||
|
# colorVariants = [ themeColor ];
|
||||||
|
# themeVariants = [ themeAccent ];
|
||||||
|
# tweaks = [ themeTweak ];
|
||||||
|
# };
|
||||||
|
|
||||||
|
# # Icons
|
||||||
|
# iconTheme = "Colloid-nord-dark";
|
||||||
|
# iconThemePkg = pkgs.colloid-icon-theme.override {
|
||||||
|
# schemeVariants = [ iconScheme ];
|
||||||
|
# colorVariants = [ iconThemeVariant ];
|
||||||
|
# };
|
||||||
|
in
|
||||||
{
|
{
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -11,7 +36,7 @@
|
|||||||
package = pkgs.apple-cursor;
|
package = pkgs.apple-cursor;
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts ={
|
fonts = {
|
||||||
serif = {
|
serif = {
|
||||||
package = pkgs.dejavu_fonts;
|
package = pkgs.dejavu_fonts;
|
||||||
name = "DejaVu Serif";
|
name = "DejaVu Serif";
|
||||||
@@ -31,12 +56,30 @@
|
|||||||
package = pkgs.noto-fonts-color-emoji;
|
package = pkgs.noto-fonts-color-emoji;
|
||||||
name = "Noto Color Emoji";
|
name = "Noto Color Emoji";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sizes = {
|
||||||
|
applications = 12;
|
||||||
|
desktop = 14;
|
||||||
|
popups = config.stylix.fonts.sizes.desktop;
|
||||||
|
terminal = config.stylix.fonts.sizes.applications;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
icons = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.colloid-icon-theme;
|
||||||
|
dark = "Colloid-nord-dark";
|
||||||
|
light = "Colloid-nord-light";
|
||||||
|
};
|
||||||
|
|
||||||
|
opacity = {
|
||||||
|
terminal = 0.85;
|
||||||
};
|
};
|
||||||
|
|
||||||
targets = {
|
targets = {
|
||||||
hyprlock.enable = false;
|
hyprlock.enable = false;
|
||||||
gnome.enable = false;
|
gnome.enable = false;
|
||||||
gtk.enable = false;
|
# gtk.enable = false;
|
||||||
qt.enable = false;
|
qt.enable = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user