Use catppuccino themes

This commit is contained in:
Charlotte Van Petegem 2023-06-30 10:38:01 +02:00
parent 004d15e2ad
commit 1706f47908
No known key found for this signature in database
GPG key ID: 019E764B7184435A
6 changed files with 98 additions and 115 deletions

View file

@ -61,22 +61,22 @@
console = { console = {
colors = [ colors = [
"f8f8f8" "eff1f5"
"a60000" "d20f39"
"005e00" "40a02b"
"813e00" "df8e1d"
"0031a9" "1e66f5"
"721045" "ea76cb"
"00538b" "179299"
"282828" "6c6f85"
"ffffff" "acb0be"
"972500" "d20f39"
"315b00" "40a02b"
"70480f" "df8e1d"
"2544bb" "1e66f5"
"8f0075" "ea76cb"
"30517f" "179299"
"000000" "4c4f69"
]; ];
font = "Lat2-Terminus16"; font = "Lat2-Terminus16";
keyMap = "us"; keyMap = "us";

View file

@ -177,38 +177,9 @@
) )
;; Theming ;; Theming
(use-package modus-themes (use-package catppuccin-theme
:config :custom (catppuccin-flavor 'latte)
(setq modus-themes-bold-constructs t) ;; Use bold accents :config (load-theme 'catppuccin :no-confirm)
(setq modus-themes-fringes nil) ;; No fringes
(setq modus-themes-common-palette-overrides
`(
;; Colourful active modeline
(bg-mode-line-active bg-blue-intense)
(fg-mode-line-active fg-main)
;; Borderless modeline
(border-mode-line-active unspecified)
(border-mode-line-inactive unspecified)
;; Alt syntax colours
(builtin magenta)
(comment yellow-cooler)
(constant magenta-cooler)
(docstring magenta-faint)
(docmarkup green-faint)
(fnname magenta-warmer)
(keyword cyan)
(preprocessor cyan-cooler)
(string red-cooler)
(type magenta-cooler)
(variable blue-warmer)
(rx-construct magenta-warmer)
(rx-backslash blue-cooler)
;; Colours are nice
,@modus-themes-preset-overrides-intense
)
)
(setq modus-themes-region '(bg-only)) ;; Don't lose syntax highlighting in the active region
(load-theme 'modus-operandi t)
) )
(use-package no-littering (use-package no-littering

View file

@ -279,6 +279,37 @@ in
}; };
}; };
style = '' style = ''
@define-color base #eff1f5;
@define-color mantle #e6e9ef;
@define-color crust #dce0e8;
@define-color text #4c4f69;
@define-color subtext0 #6c6f85;
@define-color subtext1 #5c5f77;
@define-color surface0 #ccd0da;
@define-color surface1 #bcc0cc;
@define-color surface2 #acb0be;
@define-color overlay0 #9ca0b0;
@define-color overlay1 #8c8fa1;
@define-color overlay2 #7c7f93;
@define-color blue #1e66f5;
@define-color lavender #7287fd;
@define-color sapphire #209fb5;
@define-color sky #04a5e5;
@define-color teal #179299;
@define-color green #40a02b;
@define-color yellow #df8e1d;
@define-color peach #fe640b;
@define-color maroon #e64553;
@define-color red #d20f39;
@define-color mauve #8839ef;
@define-color pink #ea76cb;
@define-color flamingo #dd7878;
@define-color rosewater #dc8a78;
* { * {
font-family: Hack, monospace; font-family: Hack, monospace;
font-size: 11px; font-size: 11px;
@ -298,25 +329,25 @@ in
} }
window#waybar { window#waybar {
background-color: #ffffff; background-color: @base;
color: #000000; color: @text;
} }
#backlight { #backlight {
background-color: #6aaeff; background-color: @sky;
} }
#battery { #battery {
background-color: #5ada88; background-color: @green;
} }
#battery.good { #battery.good {
background-color: #6aaeff; background-color: @sky;
} }
#battery.warning { #battery.warning {
background-color: #f5df23; background-color: @yellow;
} }
#battery.critical { #battery.critical {
background-color: #ff8892; background-color: @pink;
} }
#clock { #clock {
@ -324,33 +355,34 @@ in
} }
#custom-mail-status.has-mail { #custom-mail-status.has-mail {
background-color: #6aaeff; background-color: @sky;
} }
#idle_inhibitor.activated { #idle_inhibitor.activated {
background-color: #6aaeff; background-color: @sky;
} }
#pulseaudio { #pulseaudio {
background-color: #f5df23; background-color: @yellow;
} }
#tags button { #tags button {
padding: 0;
box-shadow: inset 0 -3px transparent box-shadow: inset 0 -3px transparent
background-color: #ffffff; background-color: @base;
color: #000000; color: @text;
} }
#tags button.occupied { #tags button.occupied {
background-color: #f2eff3; background-color: @crust;
} }
#tags button.focused { #tags button.focused {
background-color: #6aaeff; background-color: @sky;
} }
#tags button.urgent { #tags button.urgent {
background-color: #ff8892; background-color: @pink;
} }
#tags button:hover { #tags button:hover {
box-shadow: inset 0 -3px #000000; box-shadow: inset 0 -3px @text;
} }
''; '';
systemd.enable = true; systemd.enable = true;

View file

@ -72,8 +72,10 @@ in
extensions = with pkgs.nur.repos.rycee.firefox-addons; [ extensions = with pkgs.nur.repos.rycee.firefox-addons; [
belgium-eid belgium-eid
decentraleyes decentraleyes
firefox-color
ff2mpv ff2mpv
keepassxc-browser keepassxc-browser
stylus
ublock-origin ublock-origin
umatrix umatrix
zotero-connector zotero-connector

View file

@ -28,24 +28,24 @@
}; };
mouse.hide-when-typing = true; mouse.hide-when-typing = true;
colors = { colors = {
foreground = "000000"; foreground = "4c4f69";
background = "ffffff"; background = "eff1f5";
regular0 = "282828"; regular0 = "5c5f77";
regular1 = "a60000"; regular1 = "d20f39";
regular2 = "005e00"; regular2 = "40a02b";
regular3 = "813e00"; regular3 = "df8e1d";
regular4 = "0031a9"; regular4 = "1e66f5";
regular5 = "721045"; regular5 = "ea76cb";
regular6 = "00538b"; regular6 = "179299";
regular7 = "f8f8f8"; regular7 = "acb0be";
bright0 = "000000"; bright0 = "6c6f85";
bright1 = "972500"; bright1 = "d20f39";
bright2 = "315b00"; bright2 = "40a02b";
bright3 = "70480f"; bright3 = "df8e1d";
bright4 = "2544bb"; bright4 = "1e66f5";
bright5 = "8f0075"; bright5 = "ea76cb";
bright6 = "30517f"; bright6 = "179299";
bright7 = "ffffff"; bright7 = "bcc0cc";
}; };
}; };
}; };

View file

@ -7,6 +7,7 @@
}; };
config = lib.mkIf config.chvp.graphical.theme.enable { config = lib.mkIf config.chvp.graphical.theme.enable {
chvp.base.zfs.homeLinks = [{ path = ".config/qt5ct"; type = "cache"; }];
fonts = { fonts = {
fontDir.enable = true; fontDir.enable = true;
fontconfig = { fontconfig = {
@ -31,23 +32,16 @@
programs.dconf.enable = true; programs.dconf.enable = true;
home-manager.users.charlotte = { pkgs, ... }: { home-manager.users.charlotte = { pkgs, ... }: {
home.packages = [ pkgs.vanilla-dmz ]; home.packages = [ pkgs.catppuccin-cursors.latteLight ];
home.file = { home.file = {
".icons/default/index.theme".text = '' ".icons/default/index.theme".text = ''
[Icon Theme] [Icon Theme]
Name=Default Name=Default
Comment=Default Cursor Theme Comment=Default Cursor Theme
Inherits=Vanilla-DMZ Inherits=Catppuccin-Latte-Light-Cursors
''; '';
}; };
dconf.settings = { dconf.settings."org/gnome/desktop/wm/preferences".button-layout = "";
"org/gnome/desktop/interface" = {
gtk-theme = "Breeze";
icon-theme = "breeze";
cursor-theme = "Vanilla-DMZ";
};
"org/gnome/desktop/wm/preferences".button-layout = "";
};
gtk = { gtk = {
enable = true; enable = true;
font = { font = {
@ -56,46 +50,30 @@
size = 10; size = 10;
}; };
gtk2.extraConfig = '' gtk2.extraConfig = ''
gtk-cursor-theme-name = "Vanilla-DMZ" gtk-cursor-theme-name = "Catppuccin-Latte-Light-Cursors"
gtk-cursor-theme-size = 24 gtk-cursor-theme-size = 24
''; '';
gtk3 = { gtk3 = {
extraConfig = { extraConfig = {
gtk-cursor-theme-name = "Vanilla-DMZ"; gtk-cursor-theme-name = "Catppuccin-Latte-Light-Cursors";
gtk-cursor-theme-size = 24; gtk-cursor-theme-size = 24;
}; };
extraCss = ''
headerbar {
min-height: 0px;
padding: 0px;
margin: 0px;
}
headerbar entry,
headerbar spinbutton,
headerbar button,
headerbar separator {
min-height: 0px;
padding: 0px;
margin: 0px;
}
'';
}; };
iconTheme = { iconTheme = {
package = pkgs.libsForQt5.breeze-icons; package = pkgs.libsForQt5.breeze-icons;
name = "breeze"; name = "breeze";
}; };
theme = { theme = {
package = pkgs.libsForQt5.breeze-gtk; package = pkgs.catppuccin-gtk.override { size = "compact"; variant = "latte"; };
name = "Breeze"; name = "Catppuccin-Latte-Compact-Blue-light";
}; };
}; };
qt = { qt = {
enable = true; enable = true;
platformTheme = "gnome"; platformTheme = "qtct";
style = { style = {
name = "breeze"; name = "lightly";
package = pkgs.libsForQt5.breeze-qt5; package = pkgs.lightly-qt;
}; };
}; };
}; };