From 508648b65ab42b902da5867519356f40e617ab04 Mon Sep 17 00:00:00 2001 From: notohh Date: Thu, 25 Jan 2024 08:07:02 -0500 Subject: [PATCH] hyprland: switch back to swww --- home/wayland/default.nix | 2 +- home/wayland/hyprland/config/general.nix | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) 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"