From 152df2c4932cc22e411cd1cc47940a09c7870589 Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Wed, 18 Jun 2025 18:14:33 +0200 Subject: [PATCH] hyprpaper --- hosts/hurricane/configuration.nix | 1 + hosts/hurricane/hyprpaper.nix | 15 +++++++++++++++ hosts/wildfire/configuration.nix | 1 + hosts/wildfire/hyprpaper.nix | 15 +++++++++++++++ modules/home/hyprland.nix | 3 +++ 5 files changed, 35 insertions(+) create mode 100644 hosts/hurricane/hyprpaper.nix create mode 100644 hosts/wildfire/hyprpaper.nix diff --git a/hosts/hurricane/configuration.nix b/hosts/hurricane/configuration.nix index bbe45ba..c1d3f49 100644 --- a/hosts/hurricane/configuration.nix +++ b/hosts/hurricane/configuration.nix @@ -9,6 +9,7 @@ home-manager.users.schulze.imports = [ ./hyprland-monitors.nix ./hyprlock.nix + ./hyprpaper.nix ]; networking.hostName = "hurricane"; diff --git a/hosts/hurricane/hyprpaper.nix b/hosts/hurricane/hyprpaper.nix new file mode 100644 index 0000000..bf51c2c --- /dev/null +++ b/hosts/hurricane/hyprpaper.nix @@ -0,0 +1,15 @@ +{ + services.hyprpaper = { + enable = true; + settings = { + preload = [ + "$HOME/git/nix-config/modules/home/images/nix.png" + "$HOME/git/nix-config/modules/home/images/forest.png" + ]; + wallpaper = [ + ", $HOME/git/nix-config/modules/home/images/nix.png" + "DP-3, $HOME/git/nix-config/modules/home/images/forest.png" + ]; + }; + }; +} diff --git a/hosts/wildfire/configuration.nix b/hosts/wildfire/configuration.nix index 0c94fbb..9a9315e 100644 --- a/hosts/wildfire/configuration.nix +++ b/hosts/wildfire/configuration.nix @@ -9,6 +9,7 @@ home-manager.users.schulze.imports = [ ./hyprland-monitors.nix ./hyprlock.nix + ./hyprpaper.nix ]; # Encrypted drive diff --git a/hosts/wildfire/hyprpaper.nix b/hosts/wildfire/hyprpaper.nix new file mode 100644 index 0000000..27208d4 --- /dev/null +++ b/hosts/wildfire/hyprpaper.nix @@ -0,0 +1,15 @@ +{ + services.hyprpaper = { + enable = true; + settings = { + preload = [ + "$HOME/git/nix-config/modules/home/images/nix.png" + "$HOME/git/nix-config/modules/home/images/sunset-rocks.png" + ]; + wallpaper = [ + ", $HOME/git/nix-config/modules/home/images/nix.png" + "DP-3, $HOME/git/nix-config/modules/home/images/sunset-rocks.png" + ]; + }; + }; +} diff --git a/modules/home/hyprland.nix b/modules/home/hyprland.nix index 17265f0..6e209d7 100644 --- a/modules/home/hyprland.nix +++ b/modules/home/hyprland.nix @@ -3,6 +3,9 @@ wayland.windowManager.hyprland = { enable = true; settings = { + exec-once = [ + "hyprpaper" + ]; input = { kb_layout = "se"; kb_variant = "";