Skip to content

Commit

Permalink
Use github repo for wallpapers!
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Jul 5, 2024
1 parent a10662b commit ca8ea1c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 0 additions & 1 deletion home-manager/pc/theming.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
...
}: {
stylix = {
image = "${config.home.homeDirectory}/Pictures/wallpapers/art/kanagawa/kanagawa-van-gogh.jpg";
cursor = {
name = "Catppuccin-Macchiato-Dark-Cursors";
package = pkgs.catppuccin-cursors.macchiatoDark;
Expand Down
11 changes: 9 additions & 2 deletions home-manager/stylix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@
config,
pkgs,
...
}: {
}: let
wallpapers = pkgs.fetchFromGitHub {
owner = "arunoruto";
repo = "wallpapers";
rev = "0814f66ec93e546c57bef0bdf5bf60cde401cf32";
hash = "sha256-sCVHHUK13BiN6c+13Ca1wQidmBvrDoGBuJGlg2pXuo4=";
};
in {
stylix = {
enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-macchiato.yaml";
image = "${config.home.homeDirectory}/Pictures/wallpapers/art/kanagawa/kanagawa-van-gogh.jpg";
image = "${wallpapers}/art/kanagawa/kanagawa-van-gogh.jpg";
targets = {
# nixvim.enable = false;
};
Expand Down

0 comments on commit ca8ea1c

Please sign in to comment.