diff --git a/home/wayland/default.nix b/home/wayland/default.nix index fae5c12..a131283 100644 --- a/home/wayland/default.nix +++ b/home/wayland/default.nix @@ -30,7 +30,7 @@ in { swayidle swaylock-effects hyprpicker - hyprpaper + swww ]; services.dbus.enable = true; diff --git a/home/wayland/hyprland/config/general.nix b/home/wayland/hyprland/config/general.nix index 17d7c3b..10182a8 100644 --- a/home/wayland/hyprland/config/general.nix +++ b/home/wayland/hyprland/config/general.nix @@ -1,11 +1,4 @@ {pkgs, ...}: { - xdg.configFile."hypr/hyprpaper.conf".text = '' - preload = ~/Pictures/wallpapers/city.png - wallpaper = HDMI-A-1,~/Pictures/wallpapers/city.png - wallpaper = DP-1,~/Pictures/wallpapers/city.png - wallpaper = DP-2,~/Pictures/wallpapers/city.png - wallpaper = DP-3,~/Pictures/wallpapers/city.png - ''; wayland.windowManager.hyprland = { settings = { monitor = [ @@ -15,7 +8,8 @@ "DP-3,1920x1080@144, 1400x0, auto" #top ]; exec-once = [ - "hyprpaper" + "ags" + "swww init && swww img ~/Pictures/wallpapers/city.png" "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1" "~/.local/bin/lock"