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 # Todolist
- [ ] Installation script - [ ] Installation script
- [ ] Find a new icon theme (White, flat)
- [ ] Global font-size config (Alt font size for waybar)
- [ ] Themes - [ ] Themes
- [ ] Catppuccin theme - [ ] Catppuccin theme
- [ ] Windows theme - [ ] Windows theme
- [ ] MacOS theme - [ ] MacOS theme
- [ ] Global variable for config location
- [ ] Make hyprcursor work - [ ] Make hyprcursor work
- [ ] Nixvim - [ ] Nixvim
- [ ] Telescope shortcut for file content - [ ] Telescope shortcut for file content

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -5,6 +5,7 @@
hostname = "nixy"; hostname = "nixy";
username = "your_username"; username = "your_username";
homeDirectory = "/home/" + config.var.username; homeDirectory = "/home/" + config.var.username;
configDirectory = config.var.homeDirectory + "/.config/nixos";
keyboardLayout = "fr"; keyboardLayout = "fr";
@ -21,9 +22,12 @@
autoUpgrade = false; autoUpgrade = false;
autoGarbageCollector = false; autoGarbageCollector = false;
sops = false;
nextcloud = 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"; wallpaper = "lofi-computer.png";
font-mono = "FiraCode Nerd Font Mono";
font = "SFProDisplay Nerd Font"; font = "SFProDisplay Nerd Font";
font-mono = "FiraCode Nerd Font Mono";
font-size = 13;
rounding = 15; rounding = 15;
gaps-in = 12; gaps-in = 12;
@ -15,6 +16,7 @@
transparent = true; transparent = true;
float = true; float = true;
position = "top"; position = "top";
font-size = 11;
}; };
colors = { colors = {