Skip to content

Commit

Permalink
Try out some new theming -> dan da dan
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Nov 18, 2024
1 parent cfe425d commit b36c588
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 10 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 21 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,31 @@
];
};

# Some customization
## Some customization
## Schemes: https://tinted-theming.github.io/base16-gallery/
# scheme = "catppuccin-macchiato";
# scheme = "tokyo-night-moon";
# scheme = "tokyo-night-dark";
scheme = "gruvbox-material-dark-hard";
# scheme = "tokyodark-terminal";
# scheme = "tokyo-night-terminal-dark";
scheme = "tokyo-city-terminal-dark";
# scheme = "outrun-dark";
# scheme = "pandora";
# scheme = "heetch";
# scheme = "gruvbox-material-dark-hard";
# scheme = "gruvbox-material-light-hard";
# scheme = "rose-pine-dawn";
# scheme = "rose-pine";
# image = "anime/jjk/satoru-gojo-jujutsu-kaisen-5k-ac.jpg";
# image = "anime/gruvbox/skull2.png";
image = "anime/gruvbox/boonies.png";
# image = "anime/gruvbox/boonies.png";
# image = "anime/dan-da-dan/op/okarun1.png";
# image = "anime/dan-da-dan/op/okarun2.png";
# image = "anime/dan-da-dan/op/okarun3.png";
# image = "anime/dan-da-dan/op/okarun4.png";
# image = "anime/dan-da-dan/op/okarun5.png";
# image = "anime/dan-da-dan/op/jiji1.png";
image = "anime/dan-da-dan/op/turbogranny1.png";

hostname-users = {
# Personal
Expand Down
1 change: 1 addition & 0 deletions modules/home-manager/server/shell/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
set fish_greeting
set -gx LS_COLORS $(vivid generate gruvbox-dark)
set -gx NIX_LD_LIBRARY_PATH /run/current-system/sw/share/nix-ld/lib
'';

functions = {
Expand Down
3 changes: 2 additions & 1 deletion modules/home-manager/theming/stylix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@
stylix = {
# enable = lib.mkDefault true;
enable = true;
base16Scheme = lib.mkDefault "${pkgs.base16-schemes}/share/themes/${config.theming.scheme}.yaml";
base16Scheme = lib.mkDefault "${pkgs.unstable.base16-schemes}/share/themes/${config.theming.scheme}.yaml";
image = "${inputs.wallpapers}/${config.theming.image}";
polarity = "dark";
targets = {
nixvim.enable = false;
vscode.enable = true;
Expand Down
8 changes: 5 additions & 3 deletions modules/nixos/system/theming.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@
config = {
stylix = {
enable = lib.mkDefault true;
base16Scheme = lib.mkDefault "${pkgs.base16-schemes}/share/themes/${config.theming.scheme}.yaml";
base16Scheme = lib.mkDefault "${pkgs.unstable.base16-schemes}/share/themes/${config.theming.scheme}.yaml";
image = inputs.wallpapers + "/${config.theming.image}";
cursor =
if (config.programs.enable) then config.home-manager.users.${username}.stylix.cursor else { };
polarity = config.home-manager.users.${username}.stylix.polarity;
cursor = lib.optionalAttrs (config.programs.enable
) config.home-manager.users.${username}.stylix.cursor;
# if (config.programs.enable) then config.home-manager.users.${username}.stylix.cursor else { };
# fonts =
# if (config.gui.enable)
# then config.home-manager.users.${username}.stylix.fonts
Expand Down

0 comments on commit b36c588

Please sign in to comment.