nix-colors
This commit is contained in:
51
flake.lock
generated
51
flake.lock
generated
@ -21,6 +21,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"base16-schemes": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1696158499,
|
||||||
|
"narHash": "sha256-5yIHgDTPjoX/3oDEfLSQ0eJZdFL1SaCfb9d6M0RmOTM=",
|
||||||
|
"owner": "tinted-theming",
|
||||||
|
"repo": "base16-schemes",
|
||||||
|
"rev": "a9112eaae86d9dd8ee6bb9445b664fba2f94037a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "tinted-theming",
|
||||||
|
"repo": "base16-schemes",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"darwin": {
|
"darwin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@ -201,6 +217,25 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-colors": {
|
||||||
|
"inputs": {
|
||||||
|
"base16-schemes": "base16-schemes",
|
||||||
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1707825078,
|
||||||
|
"narHash": "sha256-hTfge2J2W+42SZ7VHXkf4kjU+qzFqPeC9k66jAUBMHk=",
|
||||||
|
"owner": "misterio77",
|
||||||
|
"repo": "nix-colors",
|
||||||
|
"rev": "b01f024090d2c4fc3152cd0cf12027a7b8453ba1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "misterio77",
|
||||||
|
"repo": "nix-colors",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixlib": {
|
"nixlib": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736643958,
|
"lastModified": 1736643958,
|
||||||
@ -283,6 +318,21 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-lib": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1697935651,
|
||||||
|
"narHash": "sha256-qOfWjQ2JQSQL15KLh6D7xQhx0qgZlYZTYlcEiRuAMMw=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixpkgs.lib",
|
||||||
|
"rev": "e1e11fdbb01113d85c7f41cada9d2847660e3902",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixpkgs.lib",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs-locked": {
|
"nixpkgs-locked": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739661218,
|
"lastModified": 1739661218,
|
||||||
@ -402,6 +452,7 @@
|
|||||||
"dotfiles": "dotfiles",
|
"dotfiles": "dotfiles",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"hyprpanel": "hyprpanel",
|
"hyprpanel": "hyprpanel",
|
||||||
|
"nix-colors": "nix-colors",
|
||||||
"nixos-generators": "nixos-generators",
|
"nixos-generators": "nixos-generators",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"nixpkgs-45570c2": "nixpkgs-45570c2",
|
"nixpkgs-45570c2": "nixpkgs-45570c2",
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
||||||
rose-pine-hyprcursor.url = "github:ndom91/rose-pine-hyprcursor";
|
rose-pine-hyprcursor.url = "github:ndom91/rose-pine-hyprcursor";
|
||||||
|
nix-colors.url = "github:misterio77/nix-colors";
|
||||||
|
|
||||||
dotfiles = {
|
dotfiles = {
|
||||||
url = "git+https://code.m3tam3re.com/m3tam3re/dotfiles.git";
|
url = "git+https://code.m3tam3re.com/m3tam3re/dotfiles.git";
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
outputs,
|
outputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
@ -7,6 +8,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
(import
|
(import
|
||||||
../../modules/home-manager/zellij-ps.nix)
|
../../modules/home-manager/zellij-ps.nix)
|
||||||
|
inputs.nix-colors.homeManagerModules.default
|
||||||
]; #imports = builtins.attrValues outputs.homeManagerModules;
|
]; #imports = builtins.attrValues outputs.homeManagerModules;
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
# You can add overlays here
|
# You can add overlays here
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
{pkgs, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./coding.nix
|
./coding.nix
|
||||||
./crypto.nix
|
./crypto.nix
|
||||||
@ -59,7 +63,57 @@
|
|||||||
};
|
};
|
||||||
font = {name = "Fira Code";};
|
font = {name = "Fira Code";};
|
||||||
themeFile = "Dracula";
|
themeFile = "Dracula";
|
||||||
settings = {copy_on_select = "yes";};
|
settings = {
|
||||||
|
copy_on_select = "yes";
|
||||||
|
|
||||||
|
# Base colors
|
||||||
|
foreground = "#${config.colorScheme.palette.base05}";
|
||||||
|
background = "#${config.colorScheme.palette.base00}";
|
||||||
|
selection_foreground = "#${config.colorScheme.palette.base07}";
|
||||||
|
selection_background = "#${config.colorScheme.palette.base02}";
|
||||||
|
|
||||||
|
# URL color
|
||||||
|
url_color = "#${config.colorScheme.palette.base08}";
|
||||||
|
|
||||||
|
# Cursor
|
||||||
|
cursor = "#${config.colorScheme.palette.base05}";
|
||||||
|
cursor_text_color = "#${config.colorScheme.palette.base00}";
|
||||||
|
|
||||||
|
# Colors 0-15
|
||||||
|
color0 = "#${config.colorScheme.palette.base01}";
|
||||||
|
color8 = "#${config.colorScheme.palette.base03}";
|
||||||
|
|
||||||
|
color1 = "#${config.colorScheme.palette.base08}";
|
||||||
|
color9 = "#${config.colorScheme.palette.base08}";
|
||||||
|
|
||||||
|
color2 = "#${config.colorScheme.palette.base0B}";
|
||||||
|
color10 = "#${config.colorScheme.palette.base0B}";
|
||||||
|
|
||||||
|
color3 = "#${config.colorScheme.palette.base0A}";
|
||||||
|
color11 = "#${config.colorScheme.palette.base0A}";
|
||||||
|
|
||||||
|
color4 = "#${config.colorScheme.palette.base0D}";
|
||||||
|
color12 = "#${config.colorScheme.palette.base0D}";
|
||||||
|
|
||||||
|
color5 = "#${config.colorScheme.palette.base0E}";
|
||||||
|
color13 = "#${config.colorScheme.palette.base0E}";
|
||||||
|
|
||||||
|
color6 = "#${config.colorScheme.palette.base0C}";
|
||||||
|
color14 = "#${config.colorScheme.palette.base0C}";
|
||||||
|
|
||||||
|
color7 = "#${config.colorScheme.palette.base05}";
|
||||||
|
color15 = "#${config.colorScheme.palette.base07}";
|
||||||
|
|
||||||
|
# Tab colors
|
||||||
|
active_tab_foreground = "#${config.colorScheme.palette.base00}";
|
||||||
|
active_tab_background = "#${config.colorScheme.palette.base05}";
|
||||||
|
inactive_tab_foreground = "#${config.colorScheme.palette.base05}";
|
||||||
|
inactive_tab_background = "#${config.colorScheme.palette.base01}";
|
||||||
|
|
||||||
|
# Mark colors
|
||||||
|
mark1_foreground = "#${config.colorScheme.palette.base00}";
|
||||||
|
mark1_background = "#${config.colorScheme.palette.base08}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
|
@ -46,8 +46,9 @@ in {
|
|||||||
gaps_in = 5;
|
gaps_in = 5;
|
||||||
gaps_out = 5;
|
gaps_out = 5;
|
||||||
border_size = 1;
|
border_size = 1;
|
||||||
|
# Keeping the existing active border as requested
|
||||||
"col.active_border" = "rgba(9742b5ee) rgba(9742b5ee) 45deg";
|
"col.active_border" = "rgba(9742b5ee) rgba(9742b5ee) 45deg";
|
||||||
"col.inactive_border" = "rgba(595959aa)";
|
"col.inactive_border" = "rgba(${config.colorScheme.palette.base03}aa)";
|
||||||
layout = "dwindle";
|
layout = "dwindle";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -56,7 +57,7 @@ in {
|
|||||||
enabled = true;
|
enabled = true;
|
||||||
range = 60;
|
range = 60;
|
||||||
render_power = 3;
|
render_power = 3;
|
||||||
color = "rgba(1E202966)";
|
color = "rgba(${config.colorScheme.palette.base00}66)";
|
||||||
offset = "1 2";
|
offset = "1 2";
|
||||||
scale = 0.97;
|
scale = 0.97;
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
colorScheme = inputs.nix-colors.colorSchemes.dracula;
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme.name = "gtk";
|
platformTheme.name = "gtk";
|
||||||
|
Reference in New Issue
Block a user