--- /dev/null
+;; Copyright (c) 2022 Jakub Czajka <jakub@ekhem.eu.org>
+;; License: GPL-3.0 or later.
+;;
+;; desktop.scm - desktop services for the system configuration.
+
+(define-module (conf system desktop)
+ #:use-module (conf common fonts)
+ #:use-module (conf common suckless)
+ #:use-module (gnu packages fonts)
+ #:use-module (gnu packages suckless)
+ #:use-module (guix git-download)
+ #:use-module (guix packages)
+ #:export (dwm-desktop-packages))
+
+(define dmenu-libxft-bgra
+ (package
+ (inherit dmenu)
+ (name "dmenu-bgra")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.ekhem.eu.org/dmenu.git")
+ (commit "b356924a52a39952f06f81d1ee2c466c0aa4700c")))
+ (sha256
+ (base32
+ "0vcwnjwh80vdwsbcdww3j8v6wr2d4lil9q580nj1fz1y4zsqbfwz"))))
+ (inputs
+ (modify-inputs (package-inputs dmenu)
+ (delete "libxft")
+ (append libxft-bgra)))))
+
+(define dwm-libxft-bgra
+ (package
+ (inherit dwm)
+ (name "dwm-bgra")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.ekhem.eu.org/dwm.git")
+ (commit "e1e9f6ee52f9659359114886a01eaef97e9fa65c")))
+ (sha256
+ (base32
+ "0qwyw12blql48aw4m7z9j96ic9215dpx0ifr0qc8rk10xkh9garf"))))
+ (inputs
+ (modify-inputs (package-inputs dwm)
+ (delete "libxft")
+ (append libxft-bgra)))))
+
+(define dwm-desktop-packages
+ (list dmenu-libxft-bgra
+ dwm-libxft-bgra
+ font-google-noto
+ font-meslo))