Skip to content

Commit

Permalink
✏️ swaybg
Browse files Browse the repository at this point in the history
  • Loading branch information
elythh committed Jan 8, 2024
1 parent 8da069d commit c4be449
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion home/gwen/conf/ui/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ in
./services/cliphist.nix
./services/dunst.nix
./services/polkit-agent.nix
#./services/swaybg.nix
./services/swaybg.nix
./services/swayidle.nix
];

Expand Down
7 changes: 2 additions & 5 deletions home/gwen/conf/ui/hyprland/services/swaybg.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib
, pkgs
, config
, ...
}: {
{ lib, pkgs, config, ... }:
{
systemd.user.services.swaybg = {
Unit = {
Description = "Wayland wallpaper daemon";
Expand Down
7 changes: 7 additions & 0 deletions home/gwen/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,18 @@ in
name = "${theme}";
};

# The wallpaper used for swaybg
wallpaper = builtins.fetchurl rec {
name = "wallpaper-${sha256}.png";
url = "https://media.githubusercontent.com/media/rxyhn/wallpapers/main/catppuccin/cat_leaves.png";
sha256 = "1894y61nx3p970qzxmqjvslaalbl2skj5sgzvk38xd4qmlmi9s4i";
};

home.sessionVariables.EDITOR = "nvim";

imports = [

./misc/wallpaper.nix
./conf/ui/hyprland/default.nix

nix-colors.homeManagerModules.default
Expand Down

0 comments on commit c4be449

Please sign in to comment.