Skip to content

Commit

Permalink
add the theme variables inside the theme dir
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherhadi committed Oct 21, 2024
1 parent c36755f commit ba911dc
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion hosts/laptop/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
../../nixos/xdg-portal.nix
../../nixos/variables-config.nix

../../themes/nixy.nix
../../themes/stylix/nixy.nix

./hardware-configuration.nix
./variables.nix
Expand Down
19 changes: 1 addition & 18 deletions hosts/laptop/variables.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,6 @@
autoUpgrade = false;
autoGarbageCollector = false;

theme = {
rounding = 15;
gaps-in = 10;
gaps-out = 10 * 2;
active-opacity = 1;
inactive-opacity = 0.89;
blur = true;
border-size = 3;
animation-speed = "medium"; # "fast" | "medium" | "slow"
fetch = "nerdfetch"; # "nerdfetch" | "neofetch" | "pfetch" | "none"

bar = {
position = "top"; # "top" | "bottom"
transparent = true;
transparentButtons = false;
floating = true;
};
};
theme = import ../../themes/var/nixy.nix;
};
}
File renamed without changes.
18 changes: 18 additions & 0 deletions themes/var/nixy.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
rounding = 15;
gaps-in = 10;
gaps-out = 10 * 2;
active-opacity = 1;
inactive-opacity = 0.89;
blur = true;
border-size = 3;
animation-speed = "medium"; # "fast" | "medium" | "slow"
fetch = "nerdfetch"; # "nerdfetch" | "neofetch" | "pfetch" | "none"

bar = {
position = "top"; # "top" | "bottom"
transparent = true;
transparentButtons = false;
floating = true;
};
}

0 comments on commit ba911dc

Please sign in to comment.