This commit is contained in:
Hadi 2024-06-17 20:37:09 +02:00
parent b49b2d2c60
commit 6f8698e345
10 changed files with 73 additions and 6 deletions

View File

@ -9,3 +9,17 @@ You can change the selected theme by changing the import statement at the top of
Create a copy of one of the existing theme and change the variables. Create a copy of one of the existing theme and change the variables.
Wallpapers are loaded from the `home/wallpapers` folder. Wallpapers are loaded from the `home/wallpapers` folder.
## Gallery
### Nixy
![nixy1](docs/src/nixy/1.png)
![nixy2](docs/src/nixy/2.png)
![nixy3](docs/src/nixy/3.png)
### Catppuccin
![catppuccin1](docs/src/catppuccin/1.png)
![catppuccin2](docs/src/catppuccin/2.png)
![catppuccin3](docs/src/catppuccin/3.png)

View File

@ -4,6 +4,6 @@
[[ -d "./docs" ]] || (echo "Folder ./docs not found" && exit 1) [[ -d "./docs" ]] || (echo "Folder ./docs not found" && exit 1)
for file in ./docs/src/*.png; do for file in ./docs/src/*/*.png; do
optipng "$file" optipng "$file"
done done

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
theme_name="nixy" [ "$1" = "" ] && echo "Usage: $0 <theme_name>" && exit 1
theme_name=$1
# Switch to workspace 1 # Switch to workspace 1
sleep 2 sleep 2

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
home/wallpapers/nix.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

View File

@ -28,6 +28,6 @@
# change the nvim's obsidian configuration if you want to enable that: # change the nvim's obsidian configuration if you want to enable that:
obsidian = false; obsidian = false;
theme = import ../themes/nixy.nix; # select your theme here theme = import ../themes/catppuccin.nix; # select your theme here
}; };
} }

View File

@ -28,6 +28,6 @@
# change the nvim's obsidian configuration if you want to enable that: # change the nvim's obsidian configuration if you want to enable that:
obsidian = true; obsidian = true;
theme = import ../themes/nixy.nix; # select your theme here theme = import ../themes/catppuccin.nix; # select your theme here
}; };
} }

View File

@ -20,7 +20,7 @@
noto-fonts-cjk noto-fonts-cjk
noto-fonts-emoji noto-fonts-emoji
jetbrains-mono jetbrains-mono
(nerdfonts.override { fonts = [ "FiraCode" ]; }) (nerdfonts.override { fonts = [ "FiraCode" "Meslo" ]; })
inputs.apple-fonts.packages.${pkgs.system}.sf-pro-nerd inputs.apple-fonts.packages.${pkgs.system}.sf-pro-nerd
inputs.apple-fonts.packages.${pkgs.system}.sf-mono-nerd inputs.apple-fonts.packages.${pkgs.system}.sf-mono-nerd
openmoji-color openmoji-color

View File

@ -0,0 +1,52 @@
{
wallpaper = "nix.png";
font = "SFProDisplay Nerd Font";
font-mono = "FiraCode Nerd Font Mono";
font-size = 13;
rounding = 11;
gaps-in = 15;
gaps-out = 15 * 2;
border-size = 5;
animation-speed = "medium"; # "fast" | "medium" | "slow"
fetch = "neofetch"; # "nerdfetch" | "neofetch" | "none"
waybar = {
transparent = true;
float = true;
position = "top";
font-size = 15;
};
colors = {
c0 = "1e1e2e"; # black
c1 = "f38ba8"; # red
c2 = "a6e3a1"; # green
c3 = "fab387"; # yellow
c4 = "89b4fa"; # blue
c5 = "cba6f7"; # magenta
c6 = "74c7ec"; # cyan
c7 = "cdd6f4"; # white
c8 = "313244"; # bright black
c9 = "eba0ac"; # bright red
c10 = "94e2d5"; # bright green
c11 = "f9e2af"; # bright yellow
c12 = "b4befe"; # bright blue
c13 = "f5c2e7"; # bright magenta
c14 = "94e2d5"; # bright cyan
c15 = "bac2de"; # bright white
bg = "01010b";
fg = "cdd6f4";
bgalt = "181825";
fgalt = "bac2de";
accent = "89b4fa";
accentFg = "1e1e2e";
# Should make those automtic
accentName = "blue";
accentNumber = "4";
};
}

View File

@ -16,7 +16,7 @@
transparent = true; transparent = true;
float = true; float = true;
position = "top"; position = "top";
font-size = 11; font-size = 15;
}; };
colors = { colors = {