Fix spacing
This commit is contained in:
38
home/themes/config/load_colors.nix
Normal file
38
home/themes/config/load_colors.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ config, ... }: {
|
||||
config.theme.colors.primary-ansi-16-number =
|
||||
if config.theme.colors.primary-ansi-16 == "black" then
|
||||
0
|
||||
else if config.theme.colors.primary-ansi-16 == "red" then
|
||||
1
|
||||
else if config.theme.colors.primary-ansi-16 == "green" then
|
||||
2
|
||||
else if config.theme.colors.primary-ansi-16 == "yellow" then
|
||||
3
|
||||
else if config.theme.colors.primary-ansi-16 == "blue" then
|
||||
4
|
||||
else if config.theme.colors.primary-ansi-16 == "magenta" then
|
||||
5
|
||||
else if config.theme.colors.primary-ansi-16 == "cyan" then
|
||||
6
|
||||
else if config.theme.colors.primary-ansi-16 == "white" then
|
||||
7
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-white" then
|
||||
8
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-black" then
|
||||
9
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-red" then
|
||||
10
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-green" then
|
||||
11
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-yellow" then
|
||||
12
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-blue" then
|
||||
13
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-magenta" then
|
||||
14
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-cyan" then
|
||||
15
|
||||
else
|
||||
0;
|
||||
|
||||
}
|
||||
@@ -2,14 +2,21 @@
|
||||
with lib; {
|
||||
options.theme = {
|
||||
|
||||
waybar-transparent = mkOption {
|
||||
type = types.bool;
|
||||
description = "Does waybar have a transparent background?";
|
||||
waybar = {
|
||||
transparent = mkOption {
|
||||
type = types.bool;
|
||||
description = "Does waybar have a transparent background?";
|
||||
};
|
||||
|
||||
float = mkOption {
|
||||
type = types.bool;
|
||||
description = "Floating mode for waybar (gap)";
|
||||
};
|
||||
};
|
||||
|
||||
print-neofetch = mkOption {
|
||||
type = types.bool;
|
||||
description = "Does kitty launch neofetch?";
|
||||
neofetch = mkOption {
|
||||
type = types.str;
|
||||
description = "Options: neofetch/nerdfetch/none";
|
||||
};
|
||||
|
||||
wallpaper = mkOption {
|
||||
|
||||
Reference in New Issue
Block a user