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 = {
colors = [
"f8f8f8"
"a60000"
"005e00"
"813e00"
"0031a9"
"721045"
"00538b"
"282828"
"ffffff"
"972500"
"315b00"
"70480f"
"2544bb"
"8f0075"
"30517f"
"000000"
"eff1f5"
"d20f39"
"40a02b"
"df8e1d"
"1e66f5"
"ea76cb"
"179299"
"6c6f85"
"acb0be"
"d20f39"
"40a02b"
"df8e1d"
"1e66f5"
"ea76cb"
"179299"
"4c4f69"
];
font = "Lat2-Terminus16";
keyMap = "us";

View file

@ -177,38 +177,9 @@
)
;; Theming
(use-package modus-themes
:config
(setq modus-themes-bold-constructs t) ;; Use bold accents
(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 catppuccin-theme
:custom (catppuccin-flavor 'latte)
:config (load-theme 'catppuccin :no-confirm)
)
(use-package no-littering

View file

@ -279,6 +279,37 @@ in
};
};
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-size: 11px;
@ -298,25 +329,25 @@ in
}
window#waybar {
background-color: #ffffff;
color: #000000;
background-color: @base;
color: @text;
}
#backlight {
background-color: #6aaeff;
background-color: @sky;
}
#battery {
background-color: #5ada88;
background-color: @green;
}
#battery.good {
background-color: #6aaeff;
background-color: @sky;
}
#battery.warning {
background-color: #f5df23;
background-color: @yellow;
}
#battery.critical {
background-color: #ff8892;
background-color: @pink;
}
#clock {
@ -324,33 +355,34 @@ in
}
#custom-mail-status.has-mail {
background-color: #6aaeff;
background-color: @sky;
}
#idle_inhibitor.activated {
background-color: #6aaeff;
background-color: @sky;
}
#pulseaudio {
background-color: #f5df23;
background-color: @yellow;
}
#tags button {
padding: 0;
box-shadow: inset 0 -3px transparent
background-color: #ffffff;
color: #000000;
background-color: @base;
color: @text;
}
#tags button.occupied {
background-color: #f2eff3;
background-color: @crust;
}
#tags button.focused {
background-color: #6aaeff;
background-color: @sky;
}
#tags button.urgent {
background-color: #ff8892;
background-color: @pink;
}
#tags button:hover {
box-shadow: inset 0 -3px #000000;
box-shadow: inset 0 -3px @text;
}
'';
systemd.enable = true;

View file

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

View file

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

View file

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