This commit is contained in:
Hadi 2024-06-17 20:08:17 +02:00
parent a703d0816b
commit b49b2d2c60
9 changed files with 19 additions and 16 deletions

View File

@ -1,13 +1,10 @@
# Todolist
- [ ] Installation script
- [ ] Find a new icon theme (White, flat)
- [ ] Global font-size config (Alt font size for waybar)
- [ ] Themes
- [ ] Catppuccin theme
- [ ] Windows theme
- [ ] MacOS theme
- [ ] Global variable for config location
- [ ] Make hyprcursor work
- [ ] Nixvim
- [ ] Telescope shortcut for file content

View File

@ -18,7 +18,7 @@
# Font
font_family = config.var.theme.font-mono;
font_size = 13;
font_size = config.var.theme.font-size;
# Colors
background = "#" + config.var.theme.colors.bg;

View File

@ -12,13 +12,13 @@
theme = { name = "FlatColor"; };
iconTheme = {
package = pkgs.flat-remix-icon-theme;
name = "Flat-Remix-Grey-Darkest";
package = pkgs.moka-icon-theme;
name = "Moka";
};
font = {
name = config.var.theme.font;
size = 11;
size = config.var.theme.font-size;
};
};

View File

@ -61,7 +61,7 @@
text = ''
Hey <span text_transform="capitalize" size="larger">$USER</span>'';
color = "rgb(${config.var.theme.colors.fg})";
font_size = 20;
font_size = config.var.theme.font-size;
font_family = config.var.theme.font;
position = "0, 0";
halign = "center";
@ -72,7 +72,7 @@
monitor = "";
text = "Type to unlock!";
color = "rgb(${config.var.theme.colors.fg})";
font_size = 16;
font_size = config.var.theme.font-size;
font_family = config.var.theme.font;
position = "0, 30";
halign = "center";

View File

@ -157,7 +157,7 @@
else
"0"
}px;
font-size: 13px;
font-size: ${toString config.var.theme.waybar.font-size}px;
}
.modules-left, .modules-center, .modules-right {
@ -232,7 +232,7 @@
#custom-logo {
padding-right: 7px;
font-size: 15px;
font-size: ${toString config.var.theme.waybar.font-size}px;
color: #${config.var.theme.colors.accent};
}

View File

@ -37,7 +37,7 @@
* {
font-family: "${config.var.theme.font}";
font-weight: 500;
font-size: 12px;
font-size: ${toString config.var.theme.font-size}px;
}
#window {

View File

@ -122,7 +122,7 @@
system.autoUpgrade = if config.var.autoUpgrade then {
enable = true;
dates = "04:00";
flake = "${config.users.users.${config.var.username}.home}/.config/nixos";
flake = "${config.var.configDirectory}";
flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ];
allowReboot = false;
} else

View File

@ -5,6 +5,7 @@
hostname = "nixy";
username = "your_username";
homeDirectory = "/home/" + config.var.username;
configDirectory = config.var.homeDirectory + "/.config/nixos";
keyboardLayout = "fr";
@ -21,9 +22,12 @@
autoUpgrade = false;
autoGarbageCollector = false;
sops = false;
nextcloud = false;
# change the sops configuration if you want to enable that:
sops = false;
# change the nvim's obsidian configuration if you want to enable that:
obsidian = false;
theme = import ../themes/nixy.nix;
theme = import ../themes/nixy.nix; # select your theme here
};
}

View File

@ -1,8 +1,9 @@
{
wallpaper = "lofi-computer.png";
font-mono = "FiraCode Nerd Font Mono";
font = "SFProDisplay Nerd Font";
font-mono = "FiraCode Nerd Font Mono";
font-size = 13;
rounding = 15;
gaps-in = 12;
@ -15,6 +16,7 @@
transparent = true;
float = true;
position = "top";
font-size = 11;
};
colors = {