added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 236b8c2a6b
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,75 @@
{
osConfig,
lib,
config,
pkgs,
inputs',
...
}: let
inherit (osConfig.modules.style.colorScheme) slug colors;
inherit (lib) mkIf;
dev = osConfig.modules.device;
acceptedTypes = ["laptop" "desktop" "hybrid" "lite"];
in {
config = mkIf (builtins.elem dev.type acceptedTypes) {
home.packages = with pkgs; [
libsixel # for displaying images
];
programs.foot = {
enable = true;
package = inputs'.nyxpkgs.packages.foot-transparent;
server.enable = true;
settings = {
main = {
# window settings
app-id = "foot";
title = "foot";
locked-title = "no";
term = "xterm-256color";
pad = "16x16 center";
shell = "zsh";
# notifications
notify = "notify-send -a \${app-id} -i \${app-id} \${title} \${body}";
selection-target = "clipboard";
# font and font rendering
dpi-aware = false; # this looks more readable on a laptop, but it's unreasonably large
font = "Iosevka Nerd Font:size=14";
font-bold = "Iosevka Nerd Font:size=14";
vertical-letter-offset = "-0.90";
};
scrollback = {
lines = 10000;
multiplier = 3;
};
tweak = {
font-monospace-warn = "no"; # reduces startup time
sixel = "yes";
};
cursor = {
style = "beam";
beam-thickness = 2;
};
mouse = {
hide-when-typing = "yes";
};
url = {
launch = "xdg-open \${url}";
label-letters = "sadfjklewcmpgh";
osc8-underline = "url-mode";
protocols = "http, https, ftp, ftps, file";
uri-characters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+=\"'()[]";
};
colors = import ./presets/${slug}/colors.nix {inherit colors;} // {alpha = "0.85";};
};
};
};
}

View file

@ -0,0 +1,22 @@
{colors}: {
foreground = "${colors.base05}"; # Text
background = "${colors.base00}"; # Base
regular0 = "${colors.base03}"; # Surface 1
regular1 = "${colors.base08}"; # red
regular2 = "${colors.base0B}"; # green
regular3 = "${colors.base0A}"; # yellow
regular4 = "${colors.base0D}"; # blue
regular5 = "${colors.base0F}"; # pink
regular6 = "${colors.base0C}"; # teal
regular7 = "${colors.base06}"; # Subtext 0
# Subtext 1 ???
bright0 = "${colors.base04}"; # Surface 2
bright1 = "${colors.base08}"; # red
bright2 = "${colors.base0B}"; # green
bright3 = "${colors.base0A}"; # yellow
bright4 = "${colors.base0D}"; # blue
bright5 = "${colors.base0F}"; # pink
bright6 = "${colors.base0C}"; # teal
bright7 = "${colors.base07}"; # Subtext 0
}

View file

@ -0,0 +1,21 @@
{colors}: {
background = "${colors.base00}";
foreground = "${colors.base06}";
regular0 = "${colors.base01}";
regular1 = "${colors.base0C}";
regular2 = "${colors.base0D}";
regular3 = "${colors.base05}";
regular4 = "${colors.base0B}";
regular5 = "${colors.base0A}";
regular6 = "${colors.base08}";
regular7 = "${colors.base04}";
bright0 = "${colors.base02}";
bright1 = "${colors.base0C}";
bright2 = "${colors.base0D}";
bright3 = "${colors.base05}";
bright4 = "${colors.base0B}";
bright5 = "${colors.base0A}";
bright6 = "${colors.base08}";
bright7 = "${colors.base06}";
}