Minimum expected colorscheme
This commit is contained in:
parent
45d5a4c8e9
commit
447cf74d3b
12
flake.lock
12
flake.lock
|
@ -5,11 +5,11 @@
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701680307,
|
"lastModified": 1709126324,
|
||||||
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
|
"narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
|
"rev": "d465f4819400de7c8d874d50b982301f28a84605",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -20,11 +20,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1704722960,
|
"lastModified": 1709703039,
|
||||||
"narHash": "sha256-mKGJ3sPsT6//s+Knglai5YflJUF2DGj7Ai6Ynopz0kI=",
|
"narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "317484b1ead87b9c1b8ac5261a8d2dd748a0492d",
|
"rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ description = "A collection of tedious nix functions";
|
{ description = "A collection of tedious nix functions";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
flake-utils.url = github:numtide/flake-utils;
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
outputs = { nixpkgs, flake-utils, self }:
|
outputs = { nixpkgs, flake-utils, self }:
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
|
|
|
@ -19,4 +19,30 @@ let cfg = config.colorscheme;
|
||||||
'';
|
'';
|
||||||
in (builtins.fromTOML (builtins.readFile theme));
|
in (builtins.fromTOML (builtins.readFile theme));
|
||||||
|
|
||||||
in unwrapKittyTheme (getKittyTheme arg)
|
defaultTheme = {
|
||||||
|
selection_foreground = "";
|
||||||
|
selection_background = "";
|
||||||
|
foreground = "";
|
||||||
|
background = "";
|
||||||
|
color0 = "";
|
||||||
|
color1 = "";
|
||||||
|
color2 = "";
|
||||||
|
color3 = "";
|
||||||
|
color4 = "";
|
||||||
|
color5 = "";
|
||||||
|
color6 = "";
|
||||||
|
color7 = "";
|
||||||
|
color8 = "";
|
||||||
|
color9 = "";
|
||||||
|
color10 = "";
|
||||||
|
color11 = "";
|
||||||
|
color12 = "";
|
||||||
|
color13 = "";
|
||||||
|
color14 = "";
|
||||||
|
color15 = "";
|
||||||
|
cursor = "";
|
||||||
|
cursor_text_color = "";
|
||||||
|
url_color = "";
|
||||||
|
};
|
||||||
|
|
||||||
|
in defaultTheme // unwrapKittyTheme (getKittyTheme arg)
|
||||||
|
|
Loading…
Reference in a new issue