Compare commits

..

3 commits

Author SHA1 Message Date
Evie Litherland-Smith db43e17270 Change to light theme (Latte), change wallpaper to Outset Island 2024-06-04 14:55:20 +01:00
Evie Litherland-Smith cfea36f08b Make more theme parts dynamic
Pick Light vs Dark GTK theme based on variant name

Pick correct theme for bat

Team: stop following system theme
2024-06-04 14:24:13 +01:00
Evie Litherland-Smith e670a4e391 Update swaylock theme to be more complete 2024-06-04 14:19:40 +01:00
7 changed files with 26 additions and 26 deletions

View file

@ -29,14 +29,14 @@
tt-schemes, tt-schemes,
... ...
}: let }: let
catppuccinVariant = "Latte";
defaultExtraSpecialArgs = { defaultExtraSpecialArgs = {
system ? "x86_64-linux", system ? "x86_64-linux",
hostname ? "Atlas", hostname ? "Atlas",
... ...
}: rec { }: rec {
inherit hostname; inherit hostname catppuccinVariant;
accentColour = "base07"; # catppuccin lavender accentColour = "base07"; # catppuccin lavender
catppuccinVariant = "Mocha";
iosevkaCustom = { iosevkaCustom = {
packages = iosevka-custom.outputs.packages.${system}; packages = iosevka-custom.outputs.packages.${system};
names = iosevka-custom.outputs.names; names = iosevka-custom.outputs.names;
@ -66,9 +66,9 @@
}: [ }: [
base16.homeManagerModule base16.homeManagerModule
./home/${hostname}.nix ./home/${hostname}.nix
({...}: { ({lib, ...}: {
home = {inherit username;}; home = {inherit username;};
scheme = "${tt-schemes}/base16/catppuccin-mocha.yaml"; scheme = "${tt-schemes}/base16/catppuccin-${lib.strings.toLower catppuccinVariant}.yaml";
}) })
]; ];
in { in {

View file

@ -2,6 +2,7 @@
config, config,
lib, lib,
pkgs, pkgs,
catppuccinVariant ? "Mocha",
... ...
}: { }: {
imports = [ imports = [
@ -36,7 +37,11 @@
}; };
gtk = with lib.strings; let gtk = with lib.strings; let
accent = "Lavender"; accent = "Lavender";
variant = "Mocha"; variant = catppuccinVariant;
type =
if variant == "Latte"
then "Light"
else "Dark";
in { in {
enable = true; enable = true;
iconTheme = { iconTheme = {
@ -47,8 +52,8 @@
name = "Papirus-Dark"; name = "Papirus-Dark";
}; };
cursorTheme = { cursorTheme = {
package = pkgs.catppuccin-cursors."${toLower variant}Dark"; package = pkgs.catppuccin-cursors."${toLower variant}${type}";
name = "Catppuccin-${variant}-Dark-Cursors"; name = "Catppuccin-${variant}-${type}-Cursors";
size = 32; size = 32;
}; };
theme = let theme = let
@ -59,7 +64,7 @@
size = toLower size; size = toLower size;
variant = toLower variant; variant = toLower variant;
}; };
name = "Catppuccin-${variant}-${size}-${accent}-Dark"; name = "Catppuccin-${variant}-${size}-${accent}-${type}";
}; };
}; };
xdg = { xdg = {

View file

@ -22,7 +22,7 @@
awayOnSystemIdle = true; awayOnSystemIdle = true;
closeAppOnCross = true; closeAppOnCross = true;
electronCLIFlags = lib.mkIf config.wayland.windowManager.sway.enable [["ozone-platform" "wayland"]]; electronCLIFlags = lib.mkIf config.wayland.windowManager.sway.enable [["ozone-platform" "wayland"]];
followSystemTheme = true; followSystemTheme = false;
notificationMethod = "electron"; notificationMethod = "electron";
optInTeamsV2 = true; optInTeamsV2 = true;
spellCheckerLanguages = ["en_GB"]; spellCheckerLanguages = ["en_GB"];

View file

@ -15,7 +15,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
swaybg swaybg
(writeShellScriptBin "set-background" '' (writeShellScriptBin "set-background" ''
${swaybg}/bin/swaybg -m fill -i ${./wallpapers/default.jpg} ${swaybg}/bin/swaybg -m fill -i ${./wallpapers/landscapes/tropic_island_day.jpg}
'') '')
(writeShellScriptBin "protonmail-setup-bridge" '' (writeShellScriptBin "protonmail-setup-bridge" ''
pkill -9 -f protonmail-bridge pkill -9 -f protonmail-bridge

View file

@ -22,30 +22,20 @@
effect-vignette = "0.5:0.5"; effect-vignette = "0.5:0.5";
grace = 2; grace = 2;
fade-in = 0.2; fade-in = 0.2;
# color = base00;
bs-hl-color = base06; bs-hl-color = base06;
caps-lock-bs-hl-color = base06; caps-lock-bs-hl-color = base06;
caps-lock-key-hl-color = green; caps-lock-key-hl-color = green;
# inside-color = 00000000; inside-color = "${base00}cc";
# inside-clear-color = 00000000;
# inside-caps-lock-color = 00000000;
# inside-ver-color = 00000000;
# inside-wrong-color = 00000000;
key-hl-color = green; key-hl-color = green;
# layout-bg-color = 00000000; layout-bg-color = "${base00}cc";
# layout-border-color = 00000000; layout-border-color = config.scheme.${accentColour};
layout-text-color = base05; layout-text-color = base05;
# line-color = 00000000;
# line-clear-color = 00000000;
# line-caps-lock-color = 00000000;
# line-ver-color = 00000000;
# line-wrong-color = 00000000;
ring-color = config.scheme.${accentColour}; ring-color = config.scheme.${accentColour};
ring-clear-color = base06; ring-clear-color = base06;
ring-caps-lock-color = base09; ring-caps-lock-color = base09;
ring-ver-color = blue; ring-ver-color = blue;
ring-wrong-color = red; ring-wrong-color = red;
# separator-color = 00000000; separator-color = base01;
text-color = base05; text-color = base05;
text-clear-color = base06; text-clear-color = base06;
text-caps-lock-color = base09; text-caps-lock-color = base09;

View file

@ -54,6 +54,10 @@
installation_mode = "force_installed"; installation_mode = "force_installed";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/simplelogin/latest.xpi"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/simplelogin/latest.xpi";
}; };
"{bc6fdbef-4c18-4967-9899-7803fdcaf3b4}" = {
installation_mode = "force_installed";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/catppuccin-latte-lavender-git/latest.xpi";
};
"{8446b178-c865-4f5c-8ccc-1d7887811ae3}" = { "{8446b178-c865-4f5c-8ccc-1d7887811ae3}" = {
installation_mode = "force_installed"; installation_mode = "force_installed";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/catppuccin-mocha-lavender-git/latest.xpi"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/catppuccin-mocha-lavender-git/latest.xpi";
@ -109,7 +113,7 @@
"browser.warnOnQuitShortcut" = false; "browser.warnOnQuitShortcut" = false;
"distribution.searchplugins.defaultLocale" = "en-GB"; "distribution.searchplugins.defaultLocale" = "en-GB";
"doh-rollout.home-region" = "GB"; "doh-rollout.home-region" = "GB";
"extensions.activeThemeID" = "{c6698fd1-fe9b-4eae-95d5-fe1703820469}"; "extensions.activeThemeID" = "{bc6fdbef-4c18-4967-9899-7803fdcaf3b4}";
"extensions.formautofill.creditCards.enabled" = false; "extensions.formautofill.creditCards.enabled" = false;
"general.useragent.locale" = "en-GB"; "general.useragent.locale" = "en-GB";
"intl.accept_languages" = "en-gb,en"; "intl.accept_languages" = "en-gb,en";

View file

@ -1,6 +1,7 @@
{ {
lib, lib,
pkgs, pkgs,
catppuccinVariant ? "Mocha",
... ...
}: { }: {
imports = [ imports = [
@ -26,7 +27,7 @@
bat = { bat = {
enable = true; enable = true;
config = { config = {
theme = "catppuccinMocha"; theme = "catppuccin${catppuccinVariant}";
style = "plain,numbers,changes"; style = "plain,numbers,changes";
}; };
}; };