summaryrefslogtreecommitdiff
path: root/.config/guix/modules/dwm.scm
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2024-06-18 01:22:12 -0600
committerbd <bdunahu@operationnull.com>2024-06-18 01:22:12 -0600
commitd78530995a6d19e100f364c6f894db9bed1f7269 (patch)
treeb73c2967b5a88873504cf9df2c4d2026ab84bf88 /.config/guix/modules/dwm.scm
parentce58d1f8e7f7334b30f714a56ee1a3f9054e39b3 (diff)
Move dwm packages to their own file
Diffstat (limited to '.config/guix/modules/dwm.scm')
-rw-r--r--.config/guix/modules/dwm.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/.config/guix/modules/dwm.scm b/.config/guix/modules/dwm.scm
new file mode 100644
index 0000000..e73e127
--- /dev/null
+++ b/.config/guix/modules/dwm.scm
@@ -0,0 +1,40 @@
+(define-module (modules dwm)
+ #:use-module (gnu)
+ #:use-module (gnu home services)
+ #:use-module (gnu home services desktop)
+ #:use-module (guix gexp)
+ #:use-module (guix packages)
+ #:export (bd-dwm-system-packages
+ bd-dwm-home-services))
+
+(use-package-modules
+ image-viewers ;; sxiv
+ suckless ;; dwm
+ xdisorg ;; xdotool
+ xorg ;; xprop
+ )
+
+(define bd-dwm
+ (package
+ (inherit dwm)
+ (name "bdunahu-dwm")
+ (inputs (modify-inputs (package-inputs dwm)))
+ (source (local-file "dwm" #:recursive? #t))))
+
+(define bd-dwm-system-packages
+ (list
+ bd-dwm
+ sxiv
+ xdotool
+ xprop
+ ))
+
+(define bd-dwm-home-services
+ (list
+ (simple-service 'dotfiles
+ home-files-service-type
+ `((".Xresources"
+ ,(plain-file "Xresources" "
+Sxiv.background: #000000
+Sxiv.foreground: #00C0FF
+"))))))