Subject: [bug#70261] [PATCH] gnu: Add wsbg.

From: James Smith <[email-masked]>
Date: Sun, 7 Apr 2024 11:58:44 -0700

* gnu/packages/wm.scm (wsbg): New variable.

Change-Id: Ia83a7afcbb0879f0f6d604e1d671388a30800265
---
 gnu/packages/wm.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 4e76e705e1..c573feb338 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -69,6 +69,7 @@
 ;;; Copyright © 2024 Timotej Lazar <[email-masked]>
 ;;; Copyright © 2024 Ahmad Draidi <[email-masked]>
 ;;; Copyright © 2024 chris <[email-masked]>
+;;; Copyright © 2024 James Smith <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3731,6 +3732,28 @@ (define-public velox
 It is inspired by dwm and xmonad.")
       (license license:expat))))
 
+(define-public wsbg
+  (let ((commit "15b0d0f6910ea97b9bcc471695fac07270955dd2")
+        (revision "133")
+        (version "0.1"))
+    (package
+      (inherit swaybg)
+      (name "wsbg")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/saibier/wsbg")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "15xrnwp54kghigx06y4qmmn1q9f26fx4cawyl4kcbqrrzfbbj1g6"))))
+      (home-page "https://github.com/saibier/wsbg")
+      (synopsis "Workspace wallpaper tool for Sway")
+      (description "Wallpaper utility for Sway with support for per-workspace
+configuration."))))
+
 (define-public yambar-wayland
   (package
     (name "yambar-wayland")

base-commit: 7988ca6a480a7648971c06edc0dfb8da6fd0777b
-- 
2.41.0