From 3d34977ccfbf42f4f32073c8dc6d26fc8c50cbd4 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 1 Jan 2024 01:22:16 +0300 Subject: [PATCH] Fix swaybg process leak --- modules/hyprland/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hyprland/default.nix b/modules/hyprland/default.nix index 876b9bf..06e63fd 100644 --- a/modules/hyprland/default.nix +++ b/modules/hyprland/default.nix @@ -25,7 +25,7 @@ exec-once = wl-paste --type text --watch cliphist store -max-items 1000 exec-once = wl-paste --type image --watch cliphist store -max-items 1000 - exec = swaybg --image ${./wallpaper.png} + exec = pkill swaybg; swaybg --image ${./wallpaper.png} exec = pkill --signal SIGUSR2 waybar ''