1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
3 ;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
4 ;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
5 ;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
6 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
7 ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
8 ;;; Copyright © 2016, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
9 ;;; Copyright © 2016 Al McElrath <hello@yrns.org>
10 ;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au>
11 ;;; Copyright © 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
12 ;;; Copyright © 2016, 2017, 2018, 2020 Nikita <nikita@n0.is>
13 ;;; Copyright © 2016 doncatnip <gnopap@gmail.com>
14 ;;; Copyright © 2016 Ivan Vilata i Balaguer <ivan@selidor.net>
15 ;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
16 ;;; Copyright © 2017, 2019, 2020 Marius Bakke <marius@gnu.org>
17 ;;; Copyright © 2017, 2020 Oleg Pykhalov <go.wigust@gmail.com>
18 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
19 ;;; Copyright © 2018 Pierre-Antoine Rouby <contact@parouby.fr>
20 ;;; Copyright © 2018, 2019 Meiyo Peng <meiyo@riseup.net>
21 ;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
22 ;;; Copyright © 2019 Timothy Sample <samplet@ngyro.com>
23 ;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
24 ;;; Copyright © 2019 Kyle Andrews <kyle.c.andrews@gmail.com>
25 ;;; Copyright © 2019 Ingo Ruhnke <grumbel@gmail.com>
26 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
27 ;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
28 ;;; Copyright © 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
29 ;;; Copyright © 2016, 2017 Andy Patterson <ajpatter@uwaterloo.ca>
30 ;;; Copyright © 2019 Evan Straw <evan.straw99@gmail.com>
31 ;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
32 ;;; Copyright © 2019 Noodles! <nnoodle@chiru.no>
33 ;;; Copyright © 2019, 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
34 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
35 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
36 ;;; Copyright © 2020 Boris A. Dekshteyn <harlequin78@gmail.com>
37 ;;; Copyright © 2020 Marcin Karpezo <sirmacik@wioo.waw.pl>
38 ;;; Copyright © 2020 EuAndreh <eu@euandre.org>
39 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
40 ;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net>
41 ;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
42 ;; Copyright © 2020 Niklas Eklund <niklas.eklund@posteo.net>
44 ;;; This file is part of GNU Guix.
46 ;;; GNU Guix is free software; you can redistribute it and/or modify it
47 ;;; under the terms of the GNU General Public License as published by
48 ;;; the Free Software Foundation; either version 3 of the License, or (at
49 ;;; your option) any later version.
51 ;;; GNU Guix is distributed in the hope that it will be useful, but
52 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
53 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
54 ;;; GNU General Public License for more details.
56 ;;; You should have received a copy of the GNU General Public License
57 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
59 (define-module (gnu packages wm)
60 #:use-module ((guix licenses) #:prefix license:)
61 #:use-module (guix packages)
62 #:use-module (guix download)
63 #:use-module (guix git-download)
64 #:use-module (guix build-system asdf)
65 #:use-module (guix build-system cmake)
66 #:use-module (guix build-system gnu)
67 #:use-module (guix build-system haskell)
68 #:use-module (guix build-system meson)
69 #:use-module (guix build-system perl)
70 #:use-module (guix build-system python)
71 #:use-module (guix build-system trivial)
72 #:use-module (guix utils)
73 #:use-module (gnu packages)
74 #:use-module (gnu packages bash)
75 #:use-module (gnu packages autotools)
76 #:use-module (gnu packages base)
77 #:use-module (gnu packages bison)
78 #:use-module (gnu packages build-tools) ;for meson-0.55
79 #:use-module (gnu packages calendar)
80 #:use-module (gnu packages docbook)
81 #:use-module (gnu packages documentation)
82 #:use-module (gnu packages fontutils)
83 #:use-module (gnu packages freedesktop)
84 #:use-module (gnu packages fribidi)
85 #:use-module (gnu packages gawk)
86 #:use-module (gnu packages gcc)
87 #:use-module (gnu packages gl)
88 #:use-module (gnu packages glib)
89 #:use-module (gnu packages gperf)
90 #:use-module (gnu packages gtk)
91 #:use-module (gnu packages haskell-check)
92 #:use-module (gnu packages haskell-web)
93 #:use-module (gnu packages haskell-xyz)
94 #:use-module (gnu packages image)
95 #:use-module (gnu packages imagemagick)
96 #:use-module (gnu packages libevent)
97 #:use-module (gnu packages linux)
98 #:use-module (gnu packages lisp-xyz)
99 #:use-module (gnu packages logging)
100 #:use-module (gnu packages lua)
101 #:use-module (gnu packages m4)
102 #:use-module (gnu packages man)
103 #:use-module (gnu packages maths)
104 #:use-module (gnu packages mpd)
105 #:use-module (gnu packages pcre)
106 #:use-module (gnu packages perl)
107 #:use-module (gnu packages pkg-config)
108 #:use-module (gnu packages pretty-print)
109 #:use-module (gnu packages pulseaudio)
110 #:use-module (gnu packages python)
111 #:use-module (gnu packages readline)
112 #:use-module (gnu packages serialization)
113 #:use-module (gnu packages sphinx)
114 #:use-module (gnu packages suckless)
115 #:use-module (gnu packages texinfo)
116 #:use-module (gnu packages textutils)
117 #:use-module (gnu packages video)
118 #:use-module (gnu packages web)
119 #:use-module (gnu packages xdisorg)
120 #:use-module (gnu packages xml)
121 #:use-module (gnu packages xorg))
131 (url "https://github.com/baskerville/bspwm")
133 (file-name (git-file-name name version))
135 (base32 "0qlv7b4c2mmjfd65y100d11x8iqyg5f6lfiws3cgmpjidhdygnxc"))))
136 (build-system gnu-build-system)
139 ("libxinerama" ,libxinerama)
141 ("xcb-util" ,xcb-util)
142 ("xcb-util-keysyms" ,xcb-util-keysyms)
143 ("xcb-util-wm" ,xcb-util-wm)))
146 (modify-phases %standard-phases
147 (delete 'configure)) ; no configure script
148 #:tests? #f ; no check target
151 (string-append "PREFIX=" %output))))
152 (home-page "https://github.com/baskerville/bspwm")
153 (synopsis "Tiling window manager based on binary space partitioning")
154 (description "bspwm is a tiling window manager that represents windows as
155 the leaves of a full binary tree.")
156 (license license:bsd-2)))
158 (define-public herbstluftwm
160 (name "herbstluftwm")
165 (uri (string-append "https://herbstluftwm.org/tarballs/herbstluftwm-"
168 (base32 "1qmb4pjf2f6g0dvcg11cw9njwmxblhqzd70ai8qnlgqw1iz3nkm1"))
169 (file-name (string-append "herbstluftwm-" version ".tar.gz"))))
170 (build-system cmake-build-system)
177 ("xsetroot" ,xsetroot)
180 ("libxinerama" ,libxinerama)
181 ("libxrandr" ,libxrandr)))
183 `(("asciidoc" ,asciidoc)
184 ("pkg-config" ,pkg-config)))
188 (let ((out (assoc-ref %outputs "out")))
190 (string-append "-DCMAKE_INSTALL_SYSCONF_PREFIX=" out "/etc")
191 (string-append "-DBASHCOMPLETIONDIR=" out "/etc/bash_completion.d")))
193 (modify-phases %standard-phases
194 (add-after 'install 'install-xsession
195 (lambda* (#:key outputs #:allow-other-keys)
196 (let* ((out (assoc-ref outputs "out"))
197 (xsessions (string-append out "/share/xsessions")))
199 (call-with-output-file
200 (string-append xsessions "/herbstluftwm.desktop")
205 Comment=Manual tiling window manager~@
206 Exec=~a/bin/herbstluftwm~@
207 Type=XSession~%" out)))
209 (synopsis "Tiling window manager for X11")
210 (description "herbstluftwm is a manual tiling window manager for X11 using
211 Xlib and GLib. Its main features are:
215 The layout is based on splitting frames into subframes which can be split
216 again or can be filled with windows (similar to i3 or musca).
219 Tags (or workspaces or virtual desktops or …) can be added/removed at runtime.
220 Each tag contains an own layout.
223 Exactly one tag is viewed on each monitor. The tags are monitor independent
227 It is configured at runtime via IPC calls from @command{herbstclient}. So the
228 configuration file is just a script which is run on startup (similar to wmii
232 (home-page "https://herbstluftwm.org")
233 (license license:bsd-2)))
235 (define-public i3status
241 (uri (string-append "https://i3wm.org/i3status/i3status-"
245 "0rhlzb96mw64z2jnhwz9nibc7pxg549626lz5642xxk5hpzwk2ff"))))
246 (build-system gnu-build-system)
248 `(;; XXX: Do an "out of source" build to work around
249 ;; <https://github.com/i3/i3status/issues/339>.
251 #:tests? #f)) ; no test suite
253 `(("openlibm" ,openlibm)
254 ("libconfuse" ,libconfuse)
256 ("alsa-lib" ,alsa-lib)
257 ("pulseaudio" ,pulseaudio)
260 ("asciidoc" ,asciidoc)))
262 `(("pkg-config" ,pkg-config)
263 ("docbook-xsl" ,docbook-xsl)
264 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
266 (home-page "https://i3wm.org/i3status/")
267 (synopsis "Status bar for i3bar, dzen2, xmobar or similar programs")
268 (description "i3status is a small program for generating a status bar for
269 i3bar, dzen2, xmobar or similar programs. It is designed to be very efficient
270 by issuing a very small number of system calls, as one generally wants to
271 update such a status line every second. This ensures that even under high
272 load, your status bar is updated correctly. Also, it saves a bit of energy by
273 not hogging your CPU as much as spawning the corresponding amount of shell
275 (license license:bsd-3)))
283 (uri (string-append "https://i3wm.org/downloads/i3-"
287 "03dijnwv2n8ak9jq59fhq0rc80m5wjc9d54fslqaivnnz81pkbjk"))))
288 (build-system gnu-build-system)
291 ;; The build system tries to build in a separate directory, but that
292 ;; seems to be unnecessary.
293 (list "--disable-builddir")
295 ;; The test suite requires the unpackaged Xephyr X server.
298 (modify-phases %standard-phases
299 (add-after 'install 'patch-session-file
300 (lambda* (#:key outputs #:allow-other-keys)
301 (let* ((out (assoc-ref outputs "out"))
302 (i3 (string-append out "/bin/i3"))
303 (i3-with-shmlog (string-append out "/bin/i3-with-shmlog")))
304 (substitute* (string-append out "/share/xsessions/i3.desktop")
305 (("Exec=i3") (string-append "Exec=" i3)))
306 (substitute* (string-append out "/share/xsessions/i3-with-shmlog.desktop")
307 (("Exec=i3-with-shmlog") (string-append "Exec=" i3-with-shmlog)))
311 ("xcb-util" ,xcb-util)
312 ("xcb-util-cursor" ,xcb-util-cursor)
313 ("xcb-util-keysyms" ,xcb-util-keysyms)
314 ("xcb-util-wm" ,xcb-util-wm)
315 ("xcb-util-xrm" ,xcb-util-xrm)
316 ("libxkbcommon" ,libxkbcommon)
319 ("asciidoc" ,asciidoc)
321 ("perl-pod-simple" ,perl-pod-simple)
324 ("startup-notification" ,startup-notification)
330 ("pkg-config" ,pkg-config)
331 ;; For building the documentation.
333 ("docbook-xsl" ,docbook-xsl)))
334 (home-page "https://i3wm.org/")
335 (synopsis "Tiling window manager")
336 (description "i3 is a tiling X11 window manager that dynamically manages
337 tiled, stacked, and tabbed window layouts.
339 i3 primarily targets advanced users. Windows are managed manually and organised
340 inside containers, which can be split vertically or horizontally, and optionally
343 i3 uses a plain-text configuration file, and can be extended and controlled from
344 many programming languages.")
345 (license license:bsd-3)))
347 (define-public i3-gaps
348 (package (inherit i3-wm)
354 "https://github.com/Airblader/i3/releases/download/"
355 version "/i3-" version ".tar.bz2"))
358 "1hcakwyz78lgp8mhqv7pw86jlb3m415pfql1q19rkijnhm3fn3ci"))))
359 (home-page "https://github.com/Airblader/i3")
360 (synopsis "Tiling window manager with gaps")
361 (description "i3-gaps is a fork of i3wm, a tiling window manager
362 for X11. It is kept up to date with upstream, adding a few additional
363 features such as gaps between windows.
365 i3 is a tiling X11 window manager that dynamically manages tiled, stacked,
366 and tabbed window layouts.
368 i3 primarily targets advanced users. Windows are managed manually and
369 organised inside containers, which can be split vertically or horizontally,
370 and optionally resized.
372 i3 uses a plain-text configuration file, and can be extended and controlled
373 from many programming languages.")
374 (license license:bsd-3)))
376 (define-public i3lock
382 (uri (string-append "https://i3wm.org/i3lock/i3lock-"
386 "015dn534m7cxjvqdncpvaq9p8b2r4w5hp1yanbdy2abmhbcc7a7j"))))
387 (build-system gnu-build-system)
389 `(("pkg-config" ,pkg-config)))
393 ("linux-pam" ,linux-pam)
395 ("libxkbcommon" ,libxkbcommon)
396 ("xcb-util" ,xcb-util)
397 ("xcb-util-image" ,xcb-util-image)
398 ("xcb-util-xrm" ,xcb-util-xrm)))
399 (home-page "https://i3wm.org/i3lock/")
400 (synopsis "Lightweight screen locker")
402 "i3lock is a simple X11 screen locker developed alongside the i3 project.
403 Despite the name it should work with any X11 window manager.")
404 (license license:bsd-3)))
406 (define-public i3blocks
413 (url "https://github.com/vivien/i3blocks")
417 "0v8mwnm8qzpv6xnqvrk43s4b9iyld4naqzbaxk4ldq1qkhai0wsv"))
418 (file-name (git-file-name name version))))
419 (build-system gnu-build-system)
421 `(("autoconf" ,autoconf)
422 ("automake" ,automake)
423 ("pkg-config" ,pkg-config)))
424 (home-page "https://github.com/vivien/i3blocks")
425 (synopsis "Minimalist scheduler for status bar scripts")
426 (description "i3blocks executes your command lines and generates a
427 status line from their output. The generated line is meant to be displayed by
428 the i3 window manager through its i3bar component, as an alternative to
430 (license license:gpl3+)))
432 (define-public perl-anyevent-i3
434 (name "perl-anyevent-i3")
438 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTPLBG/"
439 "AnyEvent-I3-" version ".tar.gz"))
442 "0qvd9bq16jyy7v3ma82qcnvz9j503bw0mh7h55gkjf7ir62ck0jk"))))
443 (build-system perl-build-system)
445 `(("perl-anyevent" ,perl-anyevent)
446 ("perl-json-xs" ,perl-json-xs)))
447 (home-page "https://metacpan.org/release/AnyEvent-I3")
449 "Communicate with the i3 window manager through perl")
451 "This module connects to the i3 window manager using the UNIX socket
452 based IPC interface it provides (if enabled in the configuration file).
453 You can then subscribe to events or send messages and receive their replies.")
454 ;; Can be used with either license.
455 (license (list license:gpl3+ license:perl-license))))
457 (define-public python-i3-py
459 (name "python-i3-py")
463 ;; The latest release is not tagged in Git nor has an entry in PyPi,
464 ;; but there is still a clear commit for it, and it's been the last one
468 (url "https://github.com/ziberna/i3-py")
469 (commit "27f88a616e9ecc340e7d041d3d00782f8a1964c1")))
472 "1nm719dc2xqlll7vj4c4m7mpjb27lpn3bg3c66gajvnrz2x1nmxs"))
473 (file-name (string-append name "-" version "-checkout"))))
474 (build-system python-build-system)
476 `(#:tests? #f ; no tests yet
477 #:phases (modify-phases %standard-phases
478 (add-after 'install 'install-doc
479 ;; Copy readme file to documentation directory.
480 (lambda* (#:key outputs #:allow-other-keys)
481 (let ((doc (string-append (assoc-ref outputs "out")
482 "/share/doc/" ,name)))
483 (install-file "README.md" doc)
484 ;; Avoid unspecified return value.
488 (home-page "https://github.com/ziberna/i3-py")
489 (synopsis "Python interface to the i3 window manager")
490 (description "This package allows you to interact from a Python program
491 with the i3 window manager via its IPC socket. It can send commands and other
492 kinds of messages to i3, select the affected containers, filter results and
493 subscribe to events.")
494 (license license:gpl3+)))
496 (define-public python2-i3-py
497 (package-with-python2 python-i3-py))
499 (define-public quickswitch-i3
500 (let ((commit "ed692b1e8f43b95bd907ced26238ce8ccb2ed28f")
501 (revision "1")) ; Guix package revision
503 (name "quickswitch-i3")
504 (version (string-append "2.2-" revision "."
505 (string-take commit 7)))
508 ;; The latest commit is a few years old and just a couple commits
509 ;; after the last tagged release, so we use that latest commit
510 ;; instead of the release.
513 (url "https://github.com/proxypoke/quickswitch-for-i3")
517 "0447077sama80jcdg5p64zjsvafmz5rbdrirhm1adcdjhkh6iqc5"))
518 (patches (search-patches "quickswitch-fix-dmenu-check.patch"))
519 (file-name (string-append name "-" version "-checkout"))))
520 (build-system python-build-system)
522 `(#:tests? #f ; no tests yet
523 #:phases (modify-phases %standard-phases
524 (add-after 'install 'install-doc
525 ;; Copy readme file to documentation directory.
526 (lambda* (#:key outputs #:allow-other-keys)
527 (let ((doc (string-append (assoc-ref outputs "out")
528 "/share/doc/" ,name)))
529 (install-file "README.rst" doc)
530 ;; Avoid unspecified return value.
533 `(("python-i3-py" ,python-i3-py)
535 (home-page "https://github.com/proxypoke/quickswitch-for-i3")
536 (synopsis "Quickly change to and locate windows in the i3 window manager")
538 "This utility for the i3 window manager allows you to quickly switch to
539 and locate windows on all your workspaces, using an interactive dmenu
541 (license license:wtfpl2))))
543 (define-public i3lock-color
545 (name "i3lock-color")
551 (url "https://github.com/PandorasFox/i3lock-color")
553 (file-name (git-file-name name version))
555 (base32 "08fhnchf187b73h52xgzb86g6byzxz085zs9galsvl687g5zxk34"))))
556 (build-system gnu-build-system)
558 `(#:tests? #f)) ; no tests included
562 ("libjpeg" ,libjpeg-turbo)
564 ("libxkbcommon" ,libxkbcommon)
565 ("linux-pam" ,linux-pam)
566 ("xcb-util" ,xcb-util)
567 ("xcb-util-image" ,xcb-util-image)
568 ("xcb-util-xrm" ,xcb-util-xrm)))
570 `(("autoconf" ,autoconf)
571 ("automake" ,automake)
572 ("pkg-config" ,pkg-config)))
573 (home-page "https://github.com/PandorasFox/i3lock-color")
574 (synopsis "Screen locker with color configuration support")
576 "i3lock-color is a simpler X11 screen locker derived from i3lock.
580 @item forking process, the locked screen is preserved when you suspend to RAM;
581 @item specify background color or image to be displayed in the lock screen;
582 @item many additional color options.
584 (license license:bsd-3)))
586 (define-public i3lock-fancy
588 (name "i3lock-fancy")
594 (url "https://github.com/meskarune/i3lock-fancy")
596 (file-name (git-file-name name version))
598 (base32 "11g2kkim33ra38d1m897sq1ifajw17iyw9mr7sg1q8i2ibl4lfsi"))))
599 (build-system gnu-build-system)
601 `(#:tests? #f ; no tests included
603 (modify-phases %standard-phases
605 (lambda* (#:key inputs outputs #:allow-other-keys)
606 (let* ((out (assoc-ref outputs "out"))
607 (icons (string-append out "/share/i3lock-fancy/icons/"))
608 (wmctrl (string-append (assoc-ref inputs "wmctrl")
610 (mconvert (string-append (assoc-ref inputs "imagemagick")
612 (mimport (string-append (assoc-ref inputs "imagemagick")
614 (awk (string-append (assoc-ref inputs "gawk")
618 (("\\$\\(command -V wmctrl\\)") wmctrl)
619 (("convert") mconvert)
620 (("shot=\\(import") (string-append "shot=\(" mimport))
621 (("awk -F") (string-append awk " -F"))
623 (("\\$scriptpath/icons/") icons))
627 (lambda* (#:key inputs outputs #:allow-other-keys)
628 (let* ((out (assoc-ref outputs "out"))
629 (bin (string-append out "/bin"))
630 (icons (string-append out "/share/i3lock-fancy/icons/")))
632 (install-file "lock" bin)
633 (rename-file (string-append bin "/lock")
634 (string-append bin "/i3lock-fancy"))
635 (copy-recursively "icons" icons)
638 `(("imagemagick" ,imagemagick)
641 (home-page "https://github.com/meskarune/i3lock-fancy")
642 (synopsis "Screen locker with screenshot function")
644 "@code{i3lock-fancy} is a Bash script that takes a screenshot of
645 the desktop, blurs the background and adds a lock icon and text.
646 It requires @code{i3lock-color} or @code{i3lock} and can optionally
647 be passed any screenshot util like @code{scrot}.
648 This screen locker can be used with any window manager or
649 desktop environment.")
650 (license license:expat)))
652 (define-public xmonad
656 (synopsis "Tiling window manager")
659 (uri (string-append "mirror://hackage/package/xmonad/"
660 "xmonad-" version ".tar.gz"))
663 "0a7rh21k9y6g8fwkggxdxjns2grvvsd5hi2ls4klmqz5xvk4hyaa"))
664 (patches (search-patches "xmonad-dynamic-linking.patch"))))
665 (build-system haskell-build-system)
667 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
668 ("ghc-quickcheck" ,ghc-quickcheck)
669 ("ghc-semigroups" ,ghc-semigroups)
670 ("ghc-setlocale" ,ghc-setlocale)
671 ("ghc-utf8-string" ,ghc-utf8-string)
672 ("ghc-x11" ,ghc-x11)))
675 (modify-phases %standard-phases
677 'install 'install-xsession
679 (let* ((xsessions (string-append %output "/share/xsessions")))
681 (call-with-output-file
682 (string-append xsessions "/xmonad.desktop")
689 Type=Application~%" ,name ,synopsis %output)))))))))
690 (home-page "https://xmonad.org")
692 "Xmonad is a tiling window manager for X. Windows are arranged
693 automatically to tile the screen without gaps or overlap, maximising screen
694 use. All features of the window manager are accessible from the keyboard: a
695 mouse is strictly optional. Xmonad is written and extensible in Haskell.
696 Custom layout algorithms, and other extensions, may be written by the user in
697 config files. Layouts are applied dynamically, and different layouts may be
698 used on each workspace. Xinerama is fully supported, allowing windows to be
699 tiled on several screens.")
700 (license license:bsd-3)))
702 (define-public xmobar
708 (uri (string-append "mirror://hackage/package/xmobar/"
709 "xmobar-" version ".tar.gz"))
712 "0x09xbz7y9ay0046j1xpr9jjk5jqivqi06vm3q6mhcrgc4y922rx"))))
713 (build-system haskell-build-system)
715 `(("ghc-hspec" ,ghc-hspec)
716 ("hspec-discover" ,hspec-discover)))
718 `(("ghc-alsa-core" ,ghc-alsa-core)
719 ("ghc-alsa-mixer" ,ghc-alsa-mixer)
720 ("ghc-dbus" ,ghc-dbus)
721 ("ghc-hinotify" ,ghc-hinotify)
722 ("ghc-http" ,ghc-http)
723 ("ghc-http-conduit" ,ghc-http-conduit)
724 ("ghc-http-types" ,ghc-http-types)
725 ("ghc-iwlib" ,ghc-iwlib)
726 ("ghc-libmpd" ,ghc-libmpd)
727 ("ghc-old-locale" ,ghc-old-locale)
728 ("ghc-parsec-numbers" ,ghc-parsec-numbers)
729 ("ghc-regex-compat" ,ghc-regex-compat)
730 ("ghc-temporary" ,ghc-temporary)
731 ("ghc-timezone-olson" ,ghc-timezone-olson)
733 ("ghc-x11-xft" ,ghc-x11-xft)
736 `(#:configure-flags (list "--flags=all_extensions")
738 (modify-phases %standard-phases
739 (add-before 'build 'patch-test-shebang
740 (lambda* (#:key inputs #:allow-other-keys)
741 (substitute* "test/Xmobar/Plugins/Monitors/AlsaSpec.hs"
742 (("/bin/bash") (which "bash")))
744 (home-page "https://xmobar.org")
745 (synopsis "Minimalistic text based status bar")
747 "@code{xmobar} is a lightweight, text-based, status bar written in
748 Haskell. It was originally designed to be used together with Xmonad, but it
749 is also usable with any other window manager. While xmobar is written in
750 Haskell, no knowledge of the language is required to install and use it.")
751 (license license:bsd-3)))
753 (define-public yeganesh
761 (uri (string-append "http://dmwit.com/yeganesh/yeganesh-" version ".tar.gz"))
763 (base32 "04djfyjab3c5y9z9x8zd0xcx0jyy35zq7cl9ddr4ppf6k5ky6iky"))))
764 (build-system haskell-build-system)
766 `(("ghc-strict" ,ghc-strict)
767 ("ghc-xdg-basedir" ,ghc-xdg-basedir)))
768 (home-page "http://dmwit.com/yeganesh/")
769 (synopsis "Small wrapper around dmenu")
770 (description "@code{yeganesh} is a small wrapper around demnu. Like
771 dmenu, it accepts input on stdin and writes the chosen result on stdout.
772 Unlike dmenu, it mangles the input before it presents its choices. In
773 particular, it displays commonly-chosen options before uncommon ones.")
774 (license license:bsd-3)))
776 (define-public ghc-xmonad-contrib
778 (name "ghc-xmonad-contrib")
783 (uri (string-append "mirror://hackage/package/xmonad-contrib/"
784 "xmonad-contrib-" version ".tar.gz"))
786 (base32 "1pddgkvnbww28wykncc7j0yb0lv15bk7xnnhdcbrwkxzw66w6wmd"))))
787 (build-system haskell-build-system)
789 `(("ghc-old-time" ,ghc-old-time)
790 ("ghc-random" ,ghc-random)
791 ("ghc-utf8-string" ,ghc-utf8-string)
792 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
793 ("ghc-semigroups" ,ghc-semigroups)
795 ("ghc-x11-xft" ,ghc-x11-xft)
797 (home-page "https://xmonad.org")
798 (synopsis "Third party extensions for xmonad")
800 "Third party tiling algorithms, configurations, and scripts to Xmonad, a
801 tiling window manager for X.")
802 (license license:bsd-3)))
804 (define-public evilwm
811 (uri (string-append "http://www.6809.org.uk/evilwm/evilwm-"
815 "0ak0yajzk3v4dg5wmaghv6acf7v02a4iw8qxmq5yw5ard8lrqn3r"))
816 (patches (search-patches "evilwm-lost-focus-bug.patch"))))
817 (build-system gnu-build-system)
821 ("libxrandr" ,libxrandr)))
823 `(#:modules ((srfi srfi-26)
825 (guix build gnu-build-system))
826 #:make-flags (let ((inputs (map (cut assoc-ref %build-inputs <>)
827 '("libx11" "libxext" "libxrandr")))
828 (join (lambda (proc strs)
829 (string-join (map proc strs) " ")))
830 (dash-I (cut string-append "-I" <> "/include"))
831 (dash-L (cut string-append "-L" <> "/lib")))
832 `("desktopfilesdir=$(prefix)/share/xsessions"
833 ,(string-append "prefix=" (assoc-ref %outputs "out"))
834 ,(string-append "CPPFLAGS=" (join dash-I inputs))
835 ,(string-append "LDFLAGS=" (join dash-L inputs))))
836 #:tests? #f ;no tests
837 #:phases (modify-phases %standard-phases
838 (delete 'configure)))) ;no configure script
839 (home-page "http://www.6809.org.uk/evilwm/")
840 (synopsis "Minimalist window manager for the X Window System")
842 "evilwm is a minimalist window manager based on aewm, extended to feature
843 many keyboard controls with repositioning and maximize toggles, solid window
844 drags, snap-to-border support, and virtual desktops.")
845 (license (license:x11-style "file:///README"))))
847 (define-public fluxbox
851 (synopsis "Small and fast window manager")
854 (uri (string-append "mirror://sourceforge/fluxbox/fluxbox/"
855 version "/fluxbox-" version ".tar.xz"))
858 "1h1f70y40qd225dqx937vzb4k2cz219agm1zvnjxakn5jkz7b37w"))))
859 (build-system gnu-build-system)
861 `(#:make-flags '("CPPFLAGS=-U__TIME__") ;ugly, but for reproducibility
863 (modify-phases %standard-phases
864 (add-after 'install 'install-vim-files
865 (lambda* (#:key outputs #:allow-other-keys)
866 (let* ((out (assoc-ref outputs "out"))
867 (syntax (string-append out "/share/vim/vimfiles/syntax")))
868 (copy-recursively "3rd/vim/vim/syntax" syntax)
870 (add-after 'install 'install-xsession
871 (lambda* (#:key outputs #:allow-other-keys)
872 (let* ((out (assoc-ref outputs "out"))
873 (xsessions (string-append out "/share/xsessions")))
875 (call-with-output-file
876 (string-append xsessions "/fluxbox.desktop")
882 Exec=~a/bin/startfluxbox~@
883 Type=Application~%" ,name ,synopsis out)))
886 `(("pkg-config" ,pkg-config)))
888 `(("freetype" ,freetype)
894 ("libxinerama" ,libxinerama)
896 ("libxrandr" ,libxrandr)
897 ("libxrender" ,libxrender)))
898 (description "Fluxbox is a window manager. It is light on resources
899 and easy to handle yet full of features to make an easy and fast desktop
901 (home-page "http://fluxbox.org/")
902 (license license:expat)))
904 (define-public awesome
912 "https://github.com/awesomeWM/awesome-releases/raw/master/"
913 "awesome-" version ".tar.xz"))
915 (base32 "0lqpw401mkkmp9wgbvrmm45bqq2j9357l4irwdqv6l1305pls9kq"))
916 (modules '((guix build utils)
920 ;; Remove non-reproducible timestamp and use the date of
921 ;; the source file instead.
922 (substitute* "common/version.c"
923 (("__DATE__ \" \" __TIME__")
926 (make-time time-utc 0 (stat:mtime (stat "awesome.c"))))
930 (search-patches "awesome-reproducible-png.patch"))))
931 (build-system cmake-build-system)
933 `(("asciidoc" ,asciidoc)
934 ("docbook-xsl" ,docbook-xsl)
937 ("imagemagick" ,imagemagick)
938 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
939 ("lua-ldoc" ,lua-ldoc)
940 ("pkg-config" ,pkg-config)
945 ("gdk-pixbuf" ,gdk-pixbuf)
947 ("gobject-introspection" ,gobject-introspection)
951 ("libxcursor" ,libxcursor)
952 ("libxdg-basedir" ,libxdg-basedir)
953 ("libxkbcommon" ,libxkbcommon)
957 ("startup-notification" ,startup-notification)
958 ("xcb-util" ,xcb-util)
959 ("xcb-util-cursor" ,xcb-util-cursor)
960 ("xcb-util-image" ,xcb-util-image)
961 ("xcb-util-keysyms" ,xcb-util-keysyms)
962 ("xcb-util-renderutil" ,xcb-util-renderutil)
963 ("xcb-util-xrm" ,xcb-util-xrm)
964 ("xcb-util-wm" ,xcb-util-wm)))
966 `(#:modules ((guix build cmake-build-system)
969 ;; Let compression happen in our 'compress-documentation' phase
970 ;; so that '--no-name' is used, which removes timestamps from
973 '("-DCOMPRESS_MANPAGES=off")
974 ;; Building awesome in its source directory is no longer
978 (modify-phases %standard-phases
979 (add-before 'configure 'set-paths
980 (lambda* (#:key inputs #:allow-other-keys)
981 (substitute* "lib/awful/completion.lua"
984 ;; The build process needs to load Cairo dynamically.
985 (let* ((cairo (string-append (assoc-ref inputs "cairo") "/lib"))
986 (lua-version ,(version-major+minor (package-version lua)))
988 (filter (match-lambda
989 ((label . _) (string-prefix? "lua-" label)))
996 dir "/share/lua/" lua-version "/?.lua;"
997 dir "/share/lua/" lua-version "/?/?.lua")))
1005 dir "/lib/lua/" lua-version "/?.so;"
1006 dir "/lib/lua/" lua-version "/?/?.so")))
1009 (setenv "LD_LIBRARY_PATH" cairo)
1010 (setenv "LUA_PATH" (string-append "?.lua;" lua-path))
1011 (setenv "LUA_CPATH" lua-cpath)
1015 ;; There aren't any tests, so just make sure the binary
1016 ;; gets built and can be run successfully.
1017 (invoke "../build/awesome" "-v")))
1018 (add-after 'install 'patch-session-file
1019 (lambda* (#:key outputs #:allow-other-keys)
1020 (let* ((out (assoc-ref outputs "out"))
1021 (awesome (string-append out "/bin/awesome")))
1022 (substitute* (string-append out "/share/xsessions/awesome.desktop")
1023 (("Exec=awesome") (string-append "Exec=" awesome)))
1025 (add-after 'install 'wrap
1026 (lambda* (#:key inputs outputs #:allow-other-keys)
1027 (let* ((awesome (assoc-ref outputs "out"))
1028 (cairo (string-append (assoc-ref inputs "cairo") "/lib"))
1029 (lua-version ,(version-major+minor (package-version lua)))
1030 (lua-lgi (assoc-ref inputs "lua-lgi")))
1031 (wrap-program (string-append awesome "/bin/awesome")
1032 `("LUA_PATH" ";" suffix
1033 (,(format #f "~a/share/lua/~a/?.lua" lua-lgi lua-version)))
1034 `("LUA_CPATH" ";" suffix
1035 (,(format #f "~a/lib/lua/~a/?.so" lua-lgi lua-version)))
1036 `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
1037 `("LD_LIBRARY_PATH" suffix (,cairo)))
1039 (home-page "https://awesomewm.org/")
1040 (synopsis "Highly configurable window manager")
1042 "Awesome has been designed as a framework window manager. It is fast, small,
1043 dynamic and extensible using the Lua programming language.")
1044 (license license:gpl2+)))
1046 (define-public menumaker
1053 (uri (string-append "mirror://sourceforge/menumaker/"
1054 "menumaker-" version ".tar.gz"))
1056 (base32 "034v5204bsgkzzk6zfa5ia63q95gln47f7hwf96yvad5hrhmd8z3"))))
1057 (build-system gnu-build-system)
1059 `(("python" ,python)))
1060 (synopsis "Heuristics-driven menu generator")
1062 "MenuMaker is a menu generation utility for a number of X window
1063 managers and desktop environments. It is capable of finding lots of
1064 installed programs and generating a root menu consistent across all
1065 supported window managers, so one will get (almost) the same menu in
1066 all of them. Currently supported window managers include:
1078 (home-page "http://menumaker.sourceforge.net/")
1079 (license license:bsd-2)))
1081 (define-public keybinder
1088 (uri (string-append "https://github.com/kupferlauncher/keybinder"
1089 "/releases/download/v" version "/keybinder-"
1091 (file-name (string-append name "-" version ".tar.gz"))
1094 "0h52hj3ay8mfhwvmfxbxlfyq74hifdk8wxgxp7fr4iy6189hg7w7"))))
1095 (build-system gnu-build-system)
1097 `(("python-2" ,python-2)
1098 ("gtk+-2" ,gtk+-2)))
1100 `(("python2-pygtk" ,python2-pygtk)
1101 ("gtk-doc" ,gtk-doc)
1102 ("pkg-config" ,pkg-config)))
1103 (synopsis "Library for registering global keyboard shortcuts")
1105 "Keybinder is a library for registering global keyboard shortcuts.
1106 Keybinder works with GTK-based applications using the X Window System.")
1107 (home-page "https://github.com/kupferlauncher/keybinder")
1108 (license license:gpl2+)))
1110 (define-public keybinder-3.0
1112 (name "keybinder-3.0")
1117 (uri (string-append "https://github.com/kupferlauncher/keybinder"
1118 "/releases/download/" name "-v" version "/" name "-"
1120 (file-name (string-append name "-" version ".tar.gz"))
1123 "0830ihwnalw59pp1xzrp37dn58n8vwb8zasnm4a1h81v3x7dxqz6"))))
1124 (build-system gnu-build-system)
1127 ("gobject-introspection" ,gobject-introspection)))
1129 `(("gtk-doc" ,gtk-doc)
1130 ("pkg-config" ,pkg-config)))
1131 (synopsis "Library for registering global keyboard shortcuts, Gtk3 version")
1133 "Keybinder is a library for registering global keyboard shortcuts.
1134 Keybinder works with GTK-based applications using the X Window System.")
1135 (home-page "https://github.com/kupferlauncher/keybinder")
1136 (license license:x11)))
1138 (define-public spectrwm
1146 (url "https://github.com/conformal/spectrwm")
1148 (string-append "SPECTRWM_"
1149 (string-join (string-split version #\.) "_")))))
1150 (file-name (git-file-name name version))
1152 (base32 "1dfqy5f0s1nv6rqkz9lj006vypmp4rwxd5vczfk3ndzqgnh19kw6"))))
1153 (build-system gnu-build-system)
1155 `(#:make-flags (let ((pkg-config (lambda (flag)
1157 "$(shell pkg-config " flag " "
1158 "xft fontconfig x11 libpng)"))))
1161 (string-append "PREFIX=" %output)
1162 (string-append "INCS=-I. " (pkg-config "--cflags"))
1163 (string-append "LIBS=" (pkg-config "--libs") " -lm")))
1164 #:tests? #f ;no test suite
1166 (modify-phases %standard-phases
1167 (add-before 'build 'change-dir
1169 (chdir "linux") #t))
1170 (add-after 'change-dir 'patch-makefile
1172 (substitute* "Makefile"
1174 (delete 'configure)))) ;no 'configure' exists
1176 `(("freetype" ,freetype)
1177 ("fontconfig" ,fontconfig)
1179 ("libxcursor" ,libxcursor)
1180 ("libxrandr" ,libxrandr)
1181 ("libxtst" ,libxtst)
1183 ("xcb-util" ,xcb-util)
1184 ("xcb-util-wm" ,xcb-util-wm)
1185 ("xcb-util-keysyms" ,xcb-util-keysyms)))
1188 ("pkg-config" ,pkg-config)))
1189 (synopsis "Minimalistic automatic tiling window manager")
1191 "Spectrwm is a small dynamic tiling and reparenting window manager for X11.
1192 It is inspired by Xmonad and dwm. Its major features include:
1195 @item Navigation anywhere on all screens with either the keyboard or mouse
1196 @item Customizable status bar
1197 @item Restartable without losing state
1198 @item Quick launch menu
1199 @item Many screen layouts possible with a few simple key strokes
1200 @item Move/resize floating windows
1201 @item Extended Window Manager Hints (@dfn{EWMH}) support
1202 @item Configurable tiling
1203 @item Adjustable tile gap allows for a true one pixel border
1204 @item Customizable colors and border width
1206 (home-page "https://github.com/conformal/spectrwm")
1207 (license license:isc)))
1216 (uri (string-append "https://leahneukirchen.org/releases/cwm-"
1219 (base32 "022zld29qawd8gl700g4m24qa89il3aks397zkhh66wvzssdblzx"))))
1220 (build-system gnu-build-system)
1222 `(#:make-flags (list (string-append "CC=" ,(cc-for-target))
1223 (string-append "PREFIX=" %output))
1226 (modify-phases %standard-phases
1228 (add-after 'build 'install-xsession
1229 (lambda* (#:key outputs #:allow-other-keys)
1230 ;; Add a .desktop file to xsessions.
1231 (let* ((output (assoc-ref outputs "out"))
1232 (xsessions (string-append output "/share/xsessions")))
1234 (with-output-to-file
1235 (string-append xsessions "/cwm.desktop")
1240 Comment=OpenBSD Calm Window Manager fork~@
1242 TryExec=~@*~a/bin/cwm~@
1248 `(("libxft" ,libxft)
1249 ("libxrandr" ,libxrandr)
1250 ("libxinerama" ,libxinerama)))
1252 `(("pkg-config" ,pkg-config)
1254 (home-page "https://github.com/leahneukirchen/cwm")
1255 (synopsis "OpenBSD fork of the calmwm window manager")
1256 (description "Cwm is a stacking window manager for X11. It is an OpenBSD
1257 project derived from the original Calm Window Manager.")
1258 (license license:isc)))
1260 (define-public nitrogen
1266 (uri (string-append "http://github.com/l3ib/nitrogen/"
1267 "releases/download/" version "/"
1268 name "-" version ".tar.gz"))
1271 "0zc3fl1mbhq0iyndy4ysmy8vv5c7xwf54rbgamzfhfvsgdq160pl"))))
1272 (build-system gnu-build-system)
1277 ("glibmm" ,glibmm)))
1279 `(("pkg-config" ,pkg-config)))
1280 (home-page "http://projects.l3ib.org/nitrogen/")
1281 (synopsis "Background browser and setter for X windows")
1283 "This package is a background browser and setter for X windows. It's
1287 @item Multihead and Xinerama aware
1288 @item Recall mode to used via startup script
1289 @item Uses freedesktop.org standard for thumbnails
1290 @item Can set GNOME background
1291 @item Command lie set modes for script use
1292 @item Inotify monitoring of browse directory
1293 @item Lazy loading of thumbnails - conserves memory
1294 @item \"Automatic\" set mode - determines best mode to set an image based on
1296 @item Display preview images in a tiled icon layout
1298 (license license:gpl2+)))
1300 (define-public polybar
1307 (uri (string-append "https://github.com/polybar/polybar/releases/"
1308 "download/" version "/polybar-" version ".tar"))
1310 (base32 "0bw22qvbcdvyd0qv3ax48r34rnclbbb6dyb8h8zljq1r3lf15vfl"))))
1311 (build-system cmake-build-system)
1313 ;; Test is disabled because it requires downloading googletest from the
1317 `(("alsa-lib" ,alsa-lib)
1320 ("jsoncpp" ,jsoncpp)
1321 ("libmpdclient" ,libmpdclient)
1324 ("pulseaudio" ,pulseaudio)
1325 ("xcb-proto" ,xcb-proto)
1326 ("xcb-util" ,xcb-util)
1327 ("xcb-util-cursor" ,xcb-util-cursor)
1328 ("xcb-util-image" ,xcb-util-image)
1329 ("xcb-util-wm" ,xcb-util-wm)
1330 ("xcb-util-xrm" ,xcb-util-xrm)))
1332 `(("pkg-config" ,pkg-config)
1333 ("python-sphinx" ,python-sphinx) ; for the manual
1334 ;; XXX: "python" input must be located after "python-2", or the package
1335 ;; fails to build with "missing required python module: xcbgen".
1336 ("python-2" ,python-2) ; lib/xpp depends on python 2
1337 ("python" ,python))) ; xcb-proto depends on python 3
1338 (home-page "https://polybar.github.io/")
1339 (synopsis "Fast and easy-to-use status bar")
1340 (description "Polybar aims to help users build beautiful and highly
1341 customizable status bars for their desktop environment. It has built-in
1342 functionality to display information about the most commonly used services.")
1343 (license license:expat)))
1345 (define-public wlroots
1353 (url "https://github.com/swaywm/wlroots")
1355 (file-name (git-file-name name version))
1357 (base32 "01j38lmgs2c6fq68v8b75pkilia2wsgzgp46ivfbi9hhx47kgcfn"))))
1358 (build-system meson-build-system)
1360 `(#:configure-flags '("-Dlogind-provider=elogind")
1363 (modify-phases %standard-phases
1364 (add-before 'configure 'hardcode-paths
1365 (lambda* (#:key inputs #:allow-other-keys)
1366 (substitute* "xwayland/server.c"
1367 (("Xwayland") (string-append (assoc-ref inputs
1368 "xorg-server-xwayland")
1372 `(;; As required by wlroots.pc.
1373 ("elogind" ,elogind)
1375 ("libinput" ,libinput)
1376 ("libxkbcommon" ,libxkbcommon)
1379 ("wayland" ,wayland)
1380 ("xcb-util-errors" ,xcb-util-errors)
1381 ("xcb-util-wm" ,xcb-util-wm)
1382 ("xorg-server-xwayland" ,xorg-server-xwayland)))
1384 `(("pkg-config" ,pkg-config)
1385 ("wayland-protocols" ,wayland-protocols)))
1386 (home-page "https://github.com/swaywm/wlroots")
1387 (synopsis "Pluggable, composable, unopinionated modules for building a
1388 Wayland compositor")
1389 (description "wlroots is a set of pluggable, composable, unopinionated
1390 modules for building a Wayland compositor.")
1391 (license license:expat))) ; MIT license
1401 (url "https://github.com/swaywm/sway")
1403 (file-name (git-file-name name version))
1405 (base32 "1xsa3h8zhf29p0mi90baxpr76jkd9pd1gr97ky8cnjbcs4isj9j0"))))
1406 (build-system meson-build-system)
1409 (modify-phases %standard-phases
1410 (add-before 'configure 'hardcode-paths
1411 (lambda* (#:key inputs #:allow-other-keys)
1412 ;; Hardcode path to swaybg.
1413 (substitute* "sway/config.c"
1414 (("strdup..swaybg..")
1415 (string-append "strdup(\"" (assoc-ref inputs "swaybg")
1417 ;; Hardcode path to scdoc.
1418 (substitute* "meson.build"
1419 (("scdoc.get_pkgconfig_variable..scdoc..")
1420 (string-append "'" (assoc-ref inputs "scdoc")
1423 (inputs `(("cairo" ,cairo)
1424 ("elogind" ,elogind)
1425 ("gdk-pixbuf" ,gdk-pixbuf)
1427 ("libevdev" ,libevdev)
1428 ("libinput" ,libinput)
1429 ("libxkbcommon" ,libxkbcommon)
1432 ("wayland" ,wayland)
1433 ("wlroots" ,wlroots)))
1435 `(("linux-pam" ,linux-pam)
1437 ("pkg-config" ,pkg-config)
1439 ("wayland-protocols" ,wayland-protocols)))
1440 (home-page "https://github.com/swaywm/sway")
1441 (synopsis "Wayland compositor compatible with i3")
1442 (description "Sway is a i3-compatible Wayland compositor.")
1443 (license license:expat)))
1445 (define-public swayidle
1453 (url "https://github.com/swaywm/swayidle")
1455 (file-name (git-file-name name version))
1457 (base32 "1nd3v8r9549lykdwh4krldfl59lzaspmmai5k1icy7dvi6kkr18r"))))
1458 (build-system meson-build-system)
1460 `(#:configure-flags '("-Dlogind-provider=elogind")))
1461 (inputs `(("elogind" ,elogind)
1462 ("wayland" ,wayland)))
1463 (native-inputs `(("pkg-config" ,pkg-config)
1465 ("wayland-protocols" ,wayland-protocols)))
1466 (home-page "https://github.com/swaywm/sway")
1467 (synopsis "Idle management daemon for Wayland compositors")
1468 (description "Swayidle is a idle management daemon for Wayland compositors.")
1469 (license license:expat))) ; MIT license
1471 (define-public swaylock
1479 (url "https://github.com/swaywm/swaylock")
1481 (file-name (git-file-name name version))
1483 (base32 "0r95p4w11dwm5ra614vddz83r8j7z6gd120z2vcchy7m9b0f15kf"))))
1484 (build-system meson-build-system)
1485 (inputs `(("cairo" ,cairo)
1486 ("gdk-pixbuf" ,gdk-pixbuf)
1487 ("libxkbcommon" ,libxkbcommon)
1488 ;("linux-pam" ,linux-pam) ; FIXME: Doesn't work.
1489 ("wayland" ,wayland)))
1490 (native-inputs `(("pango" ,pango)
1491 ("pkg-config" ,pkg-config)
1493 ("wayland-protocols" ,wayland-protocols)))
1494 (home-page "https://github.com/swaywm/sway")
1495 (synopsis "Screen locking utility for Wayland compositors")
1496 (description "Swaylock is a screen locking utility for Wayland compositors.")
1497 (license license:expat))) ; MIT license
1499 (define-public swaybg
1507 (url "https://github.com/swaywm/swaybg")
1509 (file-name (git-file-name name version))
1511 (base32 "1lmqz5bmig90gq2m7lwf02d2g7z4hzf8fhqz78c8vk92c6p4xwbc"))))
1512 (build-system meson-build-system)
1513 (inputs `(("cairo" ,cairo)
1514 ("gdk-pixbuf" ,gdk-pixbuf)
1515 ("wayland" ,wayland)))
1516 (native-inputs `(("pkg-config" ,pkg-config)
1518 ("wayland-protocols" ,wayland-protocols)))
1519 (home-page "https://github.com/swaywm/sway")
1520 (synopsis "Screen wallpaper utility for Wayland compositors")
1521 (description "Swaybg is a wallpaper utility for Wayland compositors.")
1522 (license license:expat))) ; MIT license
1524 (define-public waybar
1532 (url "https://github.com/Alexays/Waybar")
1534 (file-name (git-file-name name version))
1536 (base32 "038vnma7y7z81caywp45yr364bc1aq8d01j5vycyiyfv33nm76fy"))))
1537 (build-system meson-build-system)
1538 (inputs `(("date" ,date)
1540 ("gtk-layer-shell" ,gtk-layer-shell)
1542 ("jsoncpp" ,jsoncpp)
1543 ("libdbusmenu" ,libdbusmenu)
1544 ("libinput" ,libinput)
1545 ("libmpdclent" ,libmpdclient)
1547 ("pulseaudio" ,pulseaudio)
1549 ("wayland" ,wayland)))
1551 `(("gcc" ,gcc-8) ; for #include <filesystem>
1552 ("glib:bin" ,glib "bin")
1553 ("pkg-config" ,pkg-config)
1555 ("wayland-protocols" ,wayland-protocols)))
1556 (home-page "https://github.com/Alexays/Waybar")
1557 (synopsis "Wayland bar for Sway and Wlroots based compositors")
1558 (description "Waybar is a highly customisable Wayland bar for Sway and
1559 Wlroots based compositors.")
1560 (license license:expat))) ; MIT license
1570 (url "https://github.com/emersion/mako")
1571 (commit (string-append "v" version))))
1572 (file-name (git-file-name name version))
1574 (base32 "0hwvibpnrximb628w9dsfjpi30b5jy7nfkm4d94z5vhp78p43vxh"))))
1575 (build-system meson-build-system)
1576 (inputs `(("cairo" ,cairo)
1577 ("elogind" ,elogind)
1578 ("gdk-pixbuf" ,gdk-pixbuf)
1580 ("wayland" ,wayland)))
1581 (native-inputs `(("pkg-config" ,pkg-config)
1583 ("wayland-protocols" ,wayland-protocols)))
1584 (home-page "https://wayland.emersion.fr/mako")
1585 (synopsis "Lightweight Wayland notification daemon")
1586 (description "Mako is a lightweight notification daemon for Wayland
1587 compositors that support the layer-shell protocol.")
1588 (license license:expat))) ; MIT license
1590 (define-public stumpwm
1598 (url "https://github.com/stumpwm/stumpwm")
1600 (file-name (git-file-name "stumpwm" version))
1602 (base32 "1ghs6ihvmb3bz4q4ys1d3h6rdi96xyiw7l2ip7jh54c25049aymf"))))
1603 (build-system asdf-build-system/sbcl)
1604 (native-inputs `(("fiasco" ,sbcl-fiasco)
1605 ("texinfo" ,texinfo)
1607 ;; To build the manual.
1608 ("autoconf" ,autoconf)
1609 ("automake" ,automake)))
1610 (inputs `(("cl-ppcre" ,sbcl-cl-ppcre)
1612 ("alexandria" ,sbcl-alexandria)))
1613 (outputs '("out" "lib"))
1615 '(#:asd-systems '("stumpwm")
1617 (modify-phases %standard-phases
1618 (add-after 'create-asdf-configuration 'build-program
1619 (lambda* (#:key outputs #:allow-other-keys)
1621 (string-append (assoc-ref outputs "out") "/bin/stumpwm")
1623 #:entry-program '((stumpwm:stumpwm) 0))))
1624 (add-after 'build-program 'create-desktop-file
1625 (lambda* (#:key outputs #:allow-other-keys)
1626 (let* ((out (assoc-ref outputs "out"))
1627 (xsessions (string-append out "/share/xsessions")))
1629 (call-with-output-file
1630 (string-append xsessions "/stumpwm.desktop")
1635 Comment=The Stump Window Manager~@
1636 Exec=~a/bin/stumpwm~@
1637 TryExec=~@*~a/bin/stumpwm~@
1642 (add-after 'install 'install-manual
1643 (lambda* (#:key (make-flags '()) outputs #:allow-other-keys)
1644 (let* ((out (assoc-ref outputs "out"))
1645 (info (string-append out "/share/info")))
1646 (invoke "./autogen.sh")
1647 (invoke "sh" "./configure" "SHELL=sh")
1648 (apply invoke "make" "stumpwm.info" make-flags)
1649 (install-file "stumpwm.info" info)
1651 (synopsis "Window manager written in Common Lisp")
1652 (description "Stumpwm is a window manager written entirely in Common Lisp.
1653 It attempts to be highly customizable while relying entirely on the keyboard
1654 for input. These design decisions reflect the growing popularity of
1655 productive, customizable lisp based systems.")
1656 (home-page "https://github.com/stumpwm/stumpwm")
1657 (license license:gpl2+)
1658 (properties `((cl-source-variant . ,(delay cl-stumpwm))))))
1660 (define-public sbcl-stumpwm
1661 (deprecated-package "sbcl-stumpwm" stumpwm))
1663 (define-public cl-stumpwm
1665 (inherit (sbcl-package->cl-source-package stumpwm))
1666 (name "cl-stumpwm")))
1668 (define-public stumpwm+slynk
1671 (name "stumpwm-with-slynk")
1674 `(("stumpwm" ,stumpwm "lib")
1675 ("slynk" ,sbcl-slynk)))
1677 (substitute-keyword-arguments (package-arguments stumpwm)
1679 `(modify-phases ,phases
1680 (replace 'build-program
1681 (lambda* (#:key inputs outputs #:allow-other-keys)
1682 (let* ((out (assoc-ref outputs "out"))
1683 (program (string-append out "/bin/stumpwm")))
1684 (setenv "HOME" "/tmp")
1685 (build-program program outputs
1686 #:entry-program '((stumpwm:stumpwm) 0)
1687 #:dependencies '("stumpwm" "slynk")
1688 #:dependency-prefixes
1689 (map (lambda (input) (assoc-ref inputs input))
1690 '("stumpwm" "slynk")))
1692 (delete 'copy-source)
1695 (delete 'cleanup)))))))
1697 (define stumpwm-contrib
1698 (let ((commit "920f8fc1488f7953f205e1dda4c2ecbbbda56d63")
1701 (name "stumpwm-contrib")
1702 (version (git-version "0.0.1" revision commit)) ;no upstream release
1707 (url "https://github.com/stumpwm/stumpwm-contrib")
1709 (file-name (git-file-name name version))
1711 (base32 "0giac390bq95ag41xkxqp8jjrhfx1wpgglz7jg5rkm0wjhcwmyml"))))
1712 (build-system asdf-build-system/sbcl)
1714 `(("stumpwm" ,stumpwm "lib")))
1715 (home-page "https://github.com/stumpwm/stumpwm-contrib")
1716 (synopsis "StumpWM interactive shell")
1717 (description "This package provides a StumpWM interactive shell.")
1718 (license (list license:gpl2+ license:gpl3+ license:bsd-2)))))
1720 (define-public stumpish
1722 (inherit stumpwm-contrib)
1728 (build-system trivial-build-system)
1730 '(#:modules ((guix build utils))
1733 (use-modules (guix build utils))
1734 (copy-recursively (assoc-ref %build-inputs "source") ".")
1735 (chdir "util/stumpish")
1736 (substitute* "stumpish"
1737 (("rlwrap") (string-append (assoc-ref %build-inputs "rlwrap")
1739 (("xprop") (string-append (assoc-ref %build-inputs "xprop")
1741 (("/bin/sh") (string-append (assoc-ref %build-inputs "bash")
1743 (install-file "stumpish" (string-append %output "/bin")))))
1744 (home-page "https://github.com/stumpwm/stumpwm-contrib")
1745 (synopsis "StumpWM interactive shell")
1746 (description "This package provides a StumpWM interactive shell.")
1747 (license (list license:gpl2+ license:gpl3+ license:bsd-2))))
1749 (define-public sbcl-stumpwm+slynk
1750 (deprecated-package "sbcl-stumpwm-with-slynk" stumpwm+slynk))
1752 (define-public sbcl-stumpwm-ttf-fonts
1754 (inherit stumpwm-contrib)
1755 (name "sbcl-stumpwm-ttf-fonts")
1757 `(("stumpwm" ,stumpwm "lib")
1758 ("clx-truetype" ,sbcl-clx-truetype)))
1760 '(#:asd-systems '("ttf-fonts")
1763 (modify-phases %standard-phases
1764 (add-after 'unpack 'chdir
1765 (lambda _ (chdir "util/ttf-fonts") #t)))))
1766 (home-page "https://github.com/stumpwm/stumpwm-contrib")
1767 (synopsis "Implementation of TTF font rendering for Lisp")
1768 (description "This package provides a Lisp implementation of TTF font
1770 (license (list license:gpl2+ license:gpl3+ license:bsd-2))))
1772 (define-public sbcl-stumpwm-pass
1774 (inherit stumpwm-contrib)
1775 (name "sbcl-stumpwm-pass")
1777 '(#:asd-systems '("pass")
1780 (modify-phases %standard-phases
1781 (add-after 'unpack 'chdir
1782 (lambda _ (chdir "util/pass") #t)))))
1783 (home-page "https://github.com/stumpwm/stumpwm-contrib")
1784 (synopsis "Integrate @code{pass} with StumpWM")
1785 (description "This package provides an interface which integrates
1786 password-store into StumpWM.")
1787 (license (list license:gpl2+ license:gpl3+ license:bsd-2))))
1789 (define-public sbcl-stumpwm-globalwindows
1791 (inherit stumpwm-contrib)
1792 (name "sbcl-stumpwm-globalwindows")
1794 '(#:asd-systems '("globalwindows")
1797 (modify-phases %standard-phases
1798 (add-after 'unpack 'chdir
1799 (lambda _ (chdir "util/globalwindows") #t)))))
1800 (home-page "https://github.com/stumpwm/stumpwm-contrib")
1801 (synopsis "Manipulate all windows in the current X session")
1802 (description "This package provides a StumpWM module to manipulate all
1803 windows in the current X session.")
1804 (license (list license:gpl2+ license:gpl3+ license:bsd-2))))
1806 (define-public sbcl-stumpwm-swm-gaps
1808 (inherit stumpwm-contrib)
1809 (name "sbcl-stumpwm-swm-gaps")
1811 '(#:asd-systems '("swm-gaps")
1814 (modify-phases %standard-phases
1815 (add-after 'unpack 'chdir
1816 (lambda _ (chdir "util/swm-gaps") #t)))))
1817 (home-page "https://github.com/stumpwm/stumpwm-contrib")
1818 (synopsis "Gaps between windows for StumpWM")
1819 (description "This package provides a StumpWM module which adds gaps
1821 (license (list license:gpl2+ license:gpl3+ license:bsd-2))))
1823 (define-public sbcl-stumpwm-net
1825 (inherit stumpwm-contrib)
1826 (name "sbcl-stumpwm-net")
1828 '(#:asd-systems '("net")
1831 (modify-phases %standard-phases
1832 (add-after 'unpack 'chdir (lambda _ (chdir "modeline/net") #t)))))
1834 "https://github.com/stumpwm/stumpwm-contrib/tree/master/modeline/net")
1835 (synopsis "Modeline support for network connectivity")
1836 (description "Modeline support for network connectivity.")
1838 (filter (lambda (a) (string-contains a "linux")) %supported-systems))
1839 (license license:gpl3+)))
1841 (define-public sbcl-stumpwm-wifi
1843 (inherit stumpwm-contrib)
1844 (name "sbcl-stumpwm-wifi")
1846 '(#:asd-systems '("wifi")
1849 (modify-phases %standard-phases
1850 (add-after 'unpack 'chdir (lambda _ (chdir "modeline/wifi") #t)))))
1852 "https://github.com/stumpwm/stumpwm-contrib/tree/master/modeline/wifi")
1853 (synopsis "Modeline support for wifi connectivity")
1854 (description "Modeline support for wifi connectivity.")
1856 (filter (lambda (a) (string-contains a "linux")) %supported-systems))
1857 (license license:gpl3+)))
1859 (define-public sbcl-stumpwm-stumptray
1861 (inherit stumpwm-contrib)
1862 (name "sbcl-stumpwm-stumptray")
1864 '(#:asd-systems '("stumptray")
1867 (modify-phases %standard-phases
1868 (add-after 'unpack 'chdir (lambda _ (chdir "modeline/stumptray") #t)))))
1870 `(("stumpwm" ,stumpwm "lib")
1871 ("xembed" ,sbcl-clx-xembed)
1872 ("alexandria" ,sbcl-alexandria)))
1874 "https://github.com/stumpwm/stumpwm-contrib/tree/master/modeline/stumptray")
1875 (synopsis "Modeline support for stumptray connectivity")
1876 (description "Modeline support for stumptray connectivity.")
1878 (filter (lambda (a) (string-contains a "linux")) %supported-systems))
1879 (license license:gpl3+)))
1881 (define-public sbcl-stumpwm-kbd-layouts
1883 (inherit stumpwm-contrib)
1884 (name "sbcl-stumpwm-kbd-layouts")
1886 '(#:asd-systems '("kbd-layouts")
1889 (modify-phases %standard-phases
1890 (add-after 'unpack 'chdir (lambda _ (chdir "util/kbd-layouts") #t)))))
1892 "https://github.com/stumpwm/stumpwm-contrib/tree/master/util/kbd-layouts")
1893 (synopsis "Keyboard layout switcher for StumpWM")
1894 (description "Keyboard layout switcher for StumpWM")
1895 (license license:gpl3+)))
1897 (define-public sbcl-stumpwm-numpad-layouts
1899 (inherit stumpwm-contrib)
1900 (name "sbcl-stumpwm-numpad-layouts")
1902 '(#:asd-systems '("numpad-layouts")
1905 (modify-phases %standard-phases
1906 (add-after 'unpack 'chdir
1908 (chdir "util/numpad-layouts"))))))
1910 "https://github.com/stumpwm/stumpwm-contrib/tree/master/util/numpad-layouts")
1911 (synopsis "Keyboard numpad layouts for StumpWM")
1912 (description "This is a module for handling different keyboards numpad
1913 layouts in StumpWM.")
1914 (license license:gpl3+)))
1916 (define-public sbcl-stumpwm-cpu
1918 (inherit stumpwm-contrib)
1919 (name "sbcl-stumpwm-cpu")
1921 '(#:asd-systems '("cpu")
1924 (modify-phases %standard-phases
1925 (add-after 'unpack 'chdir
1927 (chdir "modeline/cpu"))))))
1929 "https://github.com/stumpwm/stumpwm-contrib/tree/master/modeline/cpu")
1930 (synopsis "Modeline support for CPU info")
1931 (description "Modeline support for CPU info.")
1932 (license license:gpl3+)))
1934 (define-public sbcl-stumpwm-mem
1936 (inherit stumpwm-contrib)
1937 (name "sbcl-stumpwm-mem")
1939 '(#:asd-systems '("mem")
1942 (modify-phases %standard-phases
1943 (add-after 'unpack 'chdir
1945 (chdir "modeline/mem"))))))
1947 "https://github.com/stumpwm/stumpwm-contrib/tree/master/modeline/mem")
1948 (synopsis "Modeline support for memory info")
1949 (description "Modeline support for memory info.")
1950 (license license:gpl3+)))
1952 (define-public sbcl-stumpwm-winner-mode
1954 (inherit stumpwm-contrib)
1955 (name "sbcl-stumpwm-winner-mode")
1957 '(#:asd-systems '("winner-mode")
1960 (modify-phases %standard-phases
1961 (add-after 'unpack 'chdir
1963 (chdir "util/winner-mode"))))))
1965 "https://github.com/stumpwm/stumpwm-contrib/tree/master/util/winner-mode")
1966 (synopsis "Emacs' winner-mode for StumpWM")
1967 (description "This module provides a winner-mode for StumpWM similar to the
1969 (license license:gpl3+)))
1971 (define-public sbcl-stumpwm-screenshot
1973 (inherit stumpwm-contrib)
1974 (name "sbcl-stumpwm-screenshot")
1976 `(("stumpwm" ,stumpwm "lib")
1977 ("zpng" ,sbcl-zpng)))
1979 '(#:asd-systems '("screenshot")
1982 (modify-phases %standard-phases
1983 (add-after 'unpack 'chdir
1985 (chdir "util/screenshot")))
1986 (add-after 'chdir 'fix-build
1988 (substitute* "screenshot.asd"
1990 "#:stumpwm #:zpng")))))))
1992 "https://github.com/stumpwm/stumpwm-contrib/tree/master/util/screenshot")
1993 (synopsis "Screenshots for StumpWM")
1994 (description "This StumpWM module can take screenshots and store them as
1996 (license license:gpl3+)))
1998 (define-public lemonbar
1999 (let ((commit "35183ab81d2128dbb7b6d8e119cc57846bcefdb4")
2003 (version (git-version "1.3" revision commit))
2007 (url "https://github.com/LemonBoy/bar")
2009 (file-name (git-file-name name version))
2012 "1wwqbph392iwz8skaqxb0xpklb1l6yganqz80g4x1fhrnz7idmlh"))))
2013 (build-system gnu-build-system)
2015 `(#:tests? #f ; no test suite
2017 (list ,(string-append "CC=" (cc-for-target))
2018 (string-append "PREFIX=" %output))
2020 (modify-phases %standard-phases
2021 (delete 'configure))))
2023 `(("libxcb" ,libxcb)))
2026 (home-page "https://github.com/LemonBoy/bar")
2027 (synopsis "Featherweight status bar")
2029 "@code{lemonbar} (formerly known as @code{bar}) is a lightweight
2030 bar entirely based on XCB. Provides full UTF-8 support, basic
2031 formatting, RandR and Xinerama support and EWMH compliance without
2032 wasting your precious memory.")
2033 (license license:x11))))
2035 (define-public lemonbar-xft
2036 ;; Upstream v2.0 tag is several years behind HEAD
2037 (let ((commit "481e12363e2a0fe0ddd2176a8e003392be90ed02"))
2040 (name "lemonbar-xft")
2041 (version (string-append "2.0." (string-take commit 7)))
2045 (url "https://github.com/drscream/lemonbar-xft")
2047 (file-name (git-file-name name version))
2050 "0588g37h18lv50h7w8vfbwhvc3iajh7sdr53848spaif99nh3mh4"))))
2052 `(("freetype" ,freetype)
2055 ,@(package-inputs lemonbar)))
2057 (substitute-keyword-arguments (package-arguments lemonbar)
2058 ((#:make-flags make-flags)
2061 (list (string-append
2064 (list (string-append
2065 "-I" (assoc-ref %build-inputs "freetype")
2066 "/include/freetype2")
2069 (format #f "'~s'" ,version))))))))))
2070 (home-page "https://github.com/drscream/lemonbar-xft")
2073 (package-synopsis lemonbar)
2074 " with fontconfig support"))
2077 (package-description lemonbar)
2078 "This is a fork of the @code{lemonbar} package that adds fontconfig
2079 support, for easier unicode usage.")))))
2081 (define-public xclickroot
2088 (url "https://github.com/phillbush/xclickroot")
2089 (commit (string-append "v" version))))
2090 (file-name (git-file-name name version))
2093 "1nd5qz0qz5j7gx2jsbcp234giwaa0xmg42vrcjrcf587q9ivakfl"))))
2094 (build-system gnu-build-system)
2096 `(("libx11" ,libx11)))
2098 `(#:tests? #f ;no test suite
2100 (list ,(string-append "CC=" (cc-for-target))
2101 (string-append "PREFIX=" %output))
2103 (modify-phases %standard-phases
2104 (delete 'configure))))
2105 (home-page "https://github.com/phillbush/xclickroot")
2106 (synopsis "Run a command when a mouse button is pressed on the root window")
2107 (description "@code{xclickroot} runs a command every time a given mouse
2108 button is pressed on the root window.")
2109 (license license:public-domain)))
2111 (define-public xmenu
2118 (url "https://github.com/phillbush/xmenu")
2119 (commit (string-append "v" version))))
2120 (file-name (git-file-name name version))
2123 "1s70zvsaqnsjqs298vw3py0vcvia68xlks1wcz37pb88bwligz1x"))))
2124 (build-system gnu-build-system)
2126 `(("libx11" ,libx11)
2127 ("libxinerama" ,libxinerama)
2129 ("freetype" ,freetype)
2130 ("imlib2" ,imlib2)))
2132 `(#:tests? #f ;no test suite
2134 (list (string-append "CC=" ,(cc-for-target))
2135 (string-append "PREFIX=" %output)
2136 (string-append "CFLAGS="
2137 "-I" (assoc-ref %build-inputs "freetype")
2138 "/include/freetype2"))
2140 (modify-phases %standard-phases
2141 (delete 'configure))))
2142 (home-page "https://github.com/phillbush/xmenu")
2143 (synopsis "Menu utility for X")
2144 (description "@code{xmenu} receives a menu specification in stdin, shows
2145 a menu for the user to select one of the options, and outputs the option
2146 selected to stdout. It can be controlled both via mouse and via keyboard.")
2147 (license license:public-domain)))
2149 (define-public idesk
2157 "mirror://sourceforge/idesk/idesk/idesk-" version
2158 "/idesk-" version ".tar.bz2"))
2161 "1lxk2yvgysxwl514zc82lwr1dwc8cd62slgr5lzdhjbdrxfymdyl"))
2162 (modules '((guix build utils)
2165 '(let* ((file "src/DesktopConfig.cpp")
2166 (template (string-append file ".XXXXXX"))
2167 (out (mkstemp! template))
2169 (mode (stat:mode st)))
2170 (call-with-ascii-input-file file
2172 (format out "~{~a~%~}" '("#include <unistd.h>"
2173 "#include <sys/stat.h>"
2174 "#include <sys/types.h>"))
2177 (chmod template mode)
2178 (rename-file template file)
2180 (build-system gnu-build-system)
2182 `(("libx11" ,libx11)
2186 ("freetype" ,freetype)
2190 `(("pkg-config" ,pkg-config)))
2192 `(#:tests? #f)) ;no test suite
2193 (home-page "https://sourceforge.net/projects/idesk/")
2194 (synopsis "Add icons on X desktop and set background image for wallpaper")
2195 (description "Idesk is program that draws desktop icons. Each icon will
2196 execute a shell command on a configurable action. The icons can be moved on
2197 the desktop by dragging them, and the icons will remember their positions on
2199 (license license:bsd-3)))
2201 (define-public xnotify
2208 (url "https://github.com/phillbush/xnotify")
2210 (file-name (git-file-name name version))
2213 "09s29m8z4x3mc3wja2587ik3f6zg16b40adr3nllnpyy1mqnprq5"))))
2214 (build-system gnu-build-system)
2216 `(("libx11" ,libx11)
2218 ("libxinerama" ,libxinerama)
2219 ("imlib2" ,imlib2)))
2222 (list (string-append "CC=" ,(cc-for-target))
2223 (string-append "PREFIX=" %output)
2224 (string-append "CFLAGS="
2225 "-I" (assoc-ref %build-inputs "freetype")
2226 "/include/freetype2"))
2227 #:tests? #f ;no test suite
2229 (modify-phases %standard-phases
2230 (delete 'configure))))
2231 (home-page "https://github.com/phillbush/xnotify")
2232 (synopsis "Displays a notification on the screen")
2233 (description "XNotify receives a notification specification in stdin and
2234 shows a notification for the user on the screen.")
2235 (license license:expat)))