2015-08-17 20:06:04 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
|
2015-09-11 08:11:51 +00:00
|
|
|
|
;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
|
2016-02-28 06:37:22 +00:00
|
|
|
|
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
|
2015-10-10 11:06:40 +00:00
|
|
|
|
;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
|
2015-10-14 20:26:55 +00:00
|
|
|
|
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
2016-02-28 06:37:22 +00:00
|
|
|
|
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
|
2019-02-13 19:17:19 +00:00
|
|
|
|
;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
|
2016-04-05 23:21:19 +00:00
|
|
|
|
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
|
2016-06-15 12:15:33 +00:00
|
|
|
|
;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au>
|
2019-04-16 20:57:45 +00:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
Correct name and email address for ng0.
* .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi,
doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm,
gnu/packages/cdrom.scm, gnu/packages/check.scm,
gnu/packages/cinnamon.scm, gnu/packages/compression.scm,
gnu/packages/crypto.scm, gnu/packages/databases.scm,
gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm,
gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm,
gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm,
gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm,
gnu/packages/language.scm, gnu/packages/libcanberra.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm:
Correct name and email address for ng0.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-03-14 09:33:38 +00:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 ng0 <ng0@n0.is>
|
2016-09-20 18:02:53 +00:00
|
|
|
|
;;; Copyright © 2016 doncatnip <gnopap@gmail.com>
|
2016-09-21 09:19:20 +00:00
|
|
|
|
;;; Copyright © 2016 Ivan Vilata i Balaguer <ivan@selidor.net>
|
2017-01-23 09:48:51 +00:00
|
|
|
|
;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
|
2019-04-27 11:37:00 +00:00
|
|
|
|
;;; Copyright © 2017, 2019 Marius Bakke <mbakke@fastmail.com>
|
2017-07-23 18:31:51 +00:00
|
|
|
|
;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com>
|
2020-01-03 22:49:02 +00:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-04-30 20:55:48 +00:00
|
|
|
|
;;; Copyright © 2018 Pierre-Antoine Rouby <contact@parouby.fr>
|
2019-06-09 08:15:50 +00:00
|
|
|
|
;;; Copyright © 2018, 2019 Meiyo Peng <meiyo@riseup.net>
|
2019-03-11 19:12:48 +00:00
|
|
|
|
;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
|
2019-04-30 00:51:37 +00:00
|
|
|
|
;;; Copyright © 2019 Timothy Sample <samplet@ngyro.com>
|
2019-06-12 12:20:56 +00:00
|
|
|
|
;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
|
2019-09-14 19:43:53 +00:00
|
|
|
|
;;; Copyright © 2019 Kyle Andrews <kyle.c.andrews@gmail.com>
|
2019-10-01 12:37:12 +00:00
|
|
|
|
;;; Copyright © 2019 Ingo Ruhnke <grumbel@gmail.com>
|
2019-10-14 08:10:27 +00:00
|
|
|
|
;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
|
2019-11-14 09:32:38 +00:00
|
|
|
|
;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
|
2019-11-28 20:37:28 +00:00
|
|
|
|
;;; Copyright © 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
|
|
|
|
|
;;; Copyright © 2016, 2017 Andy Patterson <ajpatter@uwaterloo.ca>
|
2019-12-05 19:31:31 +00:00
|
|
|
|
;;; Copyright © 2019 Evan Straw <evan.straw99@gmail.com>
|
Update email for Brett Gilio.
* .mailmap: Add name and email for Brett Gilio.
* gnu/local.mk, gnu/packages/admin.scm, gnu/packages/audio.scm,
gnu/packages/bittorrent.scm, gnu/packages/build-tools.scm,
gnu/packages/cran.scm, gnu/packages/emacs-xyz.scm,
gnu/packages/messaging.scm, gnu/packages/python-xyz.scm,
gnu/packages/sml.scm, gnu/packages/terminals.scm, gnu/packages/wm.scm:
Update email for Brett Gilio.
2019-12-19 17:35:23 +00:00
|
|
|
|
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
|
2019-12-10 05:47:08 +00:00
|
|
|
|
;;; Copyright © 2019 Noodles! <nnoodle@chiru.no>
|
2019-12-24 02:18:05 +00:00
|
|
|
|
;;; Copyright © 2019 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
|
2015-08-17 20:06:04 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages wm)
|
2016-02-28 06:37:22 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (guix packages)
|
2019-10-15 18:55:09 +00:00
|
|
|
|
#:use-module (guix download)
|
|
|
|
|
#:use-module (guix git-download)
|
2019-11-28 20:37:28 +00:00
|
|
|
|
#:use-module (guix build-system asdf)
|
2016-06-15 12:15:33 +00:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2015-09-11 08:11:51 +00:00
|
|
|
|
#:use-module (guix build-system haskell)
|
2019-03-11 19:12:48 +00:00
|
|
|
|
#:use-module (guix build-system meson)
|
2016-12-09 19:50:52 +00:00
|
|
|
|
#:use-module (guix build-system perl)
|
2016-09-21 09:19:07 +00:00
|
|
|
|
#:use-module (guix build-system python)
|
2019-11-28 20:37:28 +00:00
|
|
|
|
#:use-module (guix utils)
|
2019-10-15 18:55:09 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2017-01-24 13:03:42 +00:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (gnu packages base)
|
2019-10-15 18:55:09 +00:00
|
|
|
|
#:use-module (gnu packages bison)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2019-10-15 18:55:09 +00:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2016-02-28 06:37:22 +00:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2016-06-15 12:15:33 +00:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2019-10-15 18:55:09 +00:00
|
|
|
|
#:use-module (gnu packages fribidi)
|
|
|
|
|
#:use-module (gnu packages gawk)
|
|
|
|
|
#:use-module (gnu packages gl)
|
2016-06-15 12:15:33 +00:00
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages gperf)
|
2019-10-15 18:55:09 +00:00
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
|
#:use-module (gnu packages haskell-check)
|
|
|
|
|
#:use-module (gnu packages haskell-web)
|
|
|
|
|
#:use-module (gnu packages haskell-xyz)
|
|
|
|
|
#:use-module (gnu packages image)
|
2016-06-15 12:15:33 +00:00
|
|
|
|
#:use-module (gnu packages imagemagick)
|
2019-10-15 18:55:09 +00:00
|
|
|
|
#:use-module (gnu packages libevent)
|
2017-01-24 13:03:42 +00:00
|
|
|
|
#:use-module (gnu packages linux)
|
2019-11-28 20:37:28 +00:00
|
|
|
|
#:use-module (gnu packages lisp-xyz)
|
2019-10-15 18:55:09 +00:00
|
|
|
|
#:use-module (gnu packages logging)
|
|
|
|
|
#:use-module (gnu packages lua)
|
|
|
|
|
#:use-module (gnu packages m4)
|
2019-03-11 19:17:34 +00:00
|
|
|
|
#:use-module (gnu packages man)
|
2019-10-15 18:55:09 +00:00
|
|
|
|
#:use-module (gnu packages maths)
|
|
|
|
|
#:use-module (gnu packages mpd)
|
|
|
|
|
#:use-module (gnu packages pcre)
|
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2019-06-12 12:20:56 +00:00
|
|
|
|
#:use-module (gnu packages pretty-print)
|
2019-10-15 18:55:09 +00:00
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
|
|
|
|
#:use-module (gnu packages python)
|
2019-06-12 12:20:56 +00:00
|
|
|
|
#:use-module (gnu packages serialization)
|
2019-10-15 18:55:09 +00:00
|
|
|
|
#:use-module (gnu packages suckless)
|
2019-11-28 20:37:28 +00:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2019-10-15 18:55:09 +00:00
|
|
|
|
#:use-module (gnu packages textutils)
|
|
|
|
|
#:use-module (gnu packages version-control)
|
|
|
|
|
#:use-module (gnu packages video)
|
|
|
|
|
#:use-module (gnu packages web)
|
|
|
|
|
#:use-module (gnu packages xdisorg)
|
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module (gnu packages xorg))
|
2015-08-17 20:06:04 +00:00
|
|
|
|
|
2015-10-10 11:06:40 +00:00
|
|
|
|
(define-public bspwm
|
|
|
|
|
(package
|
|
|
|
|
(name "bspwm")
|
2019-09-25 21:44:22 +00:00
|
|
|
|
(version "0.9.9")
|
2015-10-10 11:06:40 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-12-23 10:24:56 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/baskerville/bspwm.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-10-10 11:06:40 +00:00
|
|
|
|
(sha256
|
2019-09-25 21:44:22 +00:00
|
|
|
|
(base32 "1i7crmljk1vra1r6alxvj6lqqailjjcv0llyg7a0gm23rbv4a42g"))))
|
2015-10-10 11:06:40 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libxcb" ,libxcb)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("sxhkd" ,sxhkd)
|
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)
|
|
|
|
|
("xcb-util-wm" ,xcb-util-wm)))
|
|
|
|
|
(arguments
|
2018-06-19 21:12:05 +00:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)) ; no configure script
|
|
|
|
|
#:tests? #f ; no check target
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" %output))))
|
2015-10-10 11:06:40 +00:00
|
|
|
|
(home-page "https://github.com/baskerville/bspwm")
|
|
|
|
|
(synopsis "Tiling window manager based on binary space partitioning")
|
|
|
|
|
(description "bspwm is a tiling window manager that represents windows as
|
|
|
|
|
the leaves of a full binary tree.")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license license:bsd-2)))
|
2015-10-10 11:06:40 +00:00
|
|
|
|
|
2019-09-14 19:43:53 +00:00
|
|
|
|
(define-public herbstluftwm
|
|
|
|
|
(package
|
|
|
|
|
(name "herbstluftwm")
|
|
|
|
|
(version "0.7.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://herbstluftwm.org/tarballs/herbstluftwm-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1kc18aj9j3nfz6fj4qxg9s3gg4jvn6kzi3ii24hfm0vqdpy17xnz"))
|
|
|
|
|
(file-name (string-append "herbstluftwm-" version ".tar.gz"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("dzen" ,dzen)
|
|
|
|
|
("dmenu" ,dmenu)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("glibmm" ,glibmm)
|
|
|
|
|
("xterm" ,xterm)
|
|
|
|
|
("xsetroot" ,xsetroot)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxinerama" ,libxinerama)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'install 'install-xsession
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(xsessions (string-append out "/share/xsessions")))
|
|
|
|
|
(mkdir-p xsessions)
|
|
|
|
|
(call-with-output-file
|
|
|
|
|
(string-append xsessions "/herbstluftwm.desktop")
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "~
|
|
|
|
|
[Desktop Entry]~@
|
|
|
|
|
Name=herbstluftwm~@
|
|
|
|
|
Comment=Manual tiling window manager~@
|
|
|
|
|
Exec=~a/bin/herbstluftwm~@
|
|
|
|
|
Type=XSession~%" out)))
|
|
|
|
|
#t))))
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=''")
|
|
|
|
|
(string-append "DESTDIR=" out)
|
|
|
|
|
(string-append "BASHCOMPLETIONDIR=" out
|
|
|
|
|
"/etc/bash_completion.d")))))
|
|
|
|
|
(synopsis "Tiling window manager for X11")
|
|
|
|
|
(description "herbstluftwm is a manual tiling window manager for X11 using
|
|
|
|
|
Xlib and GLib. Its main features are:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item
|
|
|
|
|
The layout is based on splitting frames into subframes which can be split
|
|
|
|
|
again or can be filled with windows (similar to i3 or musca).
|
|
|
|
|
|
|
|
|
|
@item
|
|
|
|
|
Tags (or workspaces or virtual desktops or …) can be added/removed at runtime.
|
|
|
|
|
Each tag contains an own layout.
|
|
|
|
|
|
|
|
|
|
@item
|
|
|
|
|
Exactly one tag is viewed on each monitor. The tags are monitor independent
|
|
|
|
|
(similar to Xmonad).
|
|
|
|
|
|
|
|
|
|
@item
|
|
|
|
|
It is configured at runtime via IPC calls from @command{herbstclient}. So the
|
|
|
|
|
configuration file is just a script which is run on startup (similar to wmii
|
|
|
|
|
or musca).
|
|
|
|
|
|
|
|
|
|
@end itemize")
|
|
|
|
|
(home-page "https://herbstluftwm.org")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2015-08-17 03:05:37 +00:00
|
|
|
|
(define-public i3status
|
|
|
|
|
(package
|
|
|
|
|
(name "i3status")
|
2019-08-04 15:38:13 +00:00
|
|
|
|
(version "2.13")
|
2015-08-17 03:05:37 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-06 05:13:11 +00:00
|
|
|
|
(uri (string-append "https://i3wm.org/i3status/i3status-"
|
2015-08-17 03:05:37 +00:00
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-08-04 15:38:13 +00:00
|
|
|
|
"0rhlzb96mw64z2jnhwz9nibc7pxg549626lz5642xxk5hpzwk2ff"))))
|
2015-08-17 03:05:37 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-08-04 15:38:13 +00:00
|
|
|
|
`(;; XXX: Do an "out of source" build to work around
|
|
|
|
|
;; <https://github.com/i3/i3status/issues/339>.
|
|
|
|
|
#:out-of-source? #t
|
2015-08-17 03:05:37 +00:00
|
|
|
|
#:tests? #f)) ; no test suite
|
|
|
|
|
(inputs
|
|
|
|
|
`(("openlibm" ,openlibm)
|
|
|
|
|
("libconfuse" ,libconfuse)
|
|
|
|
|
("libyajl" ,libyajl)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
2016-04-05 23:21:19 +00:00
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("libnl" ,libnl)
|
2015-08-17 03:05:37 +00:00
|
|
|
|
("libcap" ,libcap)
|
|
|
|
|
("asciidoc" ,asciidoc)))
|
2016-04-05 23:21:19 +00:00
|
|
|
|
(native-inputs
|
2019-08-04 15:38:13 +00:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("libxml2" ,libxml2) ;for XML_CATALOG_FILES
|
|
|
|
|
("xmlto" ,xmlto)))
|
2016-05-06 05:13:11 +00:00
|
|
|
|
(home-page "https://i3wm.org/i3status/")
|
2015-08-17 03:05:37 +00:00
|
|
|
|
(synopsis "Status bar for i3bar, dzen2, xmobar or similar programs")
|
|
|
|
|
(description "i3status is a small program for generating a status bar for
|
|
|
|
|
i3bar, dzen2, xmobar or similar programs. It is designed to be very efficient
|
|
|
|
|
by issuing a very small number of system calls, as one generally wants to
|
|
|
|
|
update such a status line every second. This ensures that even under high
|
|
|
|
|
load, your status bar is updated correctly. Also, it saves a bit of energy by
|
|
|
|
|
not hogging your CPU as much as spawning the corresponding amount of shell
|
|
|
|
|
commands would.")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license license:bsd-3)))
|
2015-08-17 03:05:37 +00:00
|
|
|
|
|
2015-08-17 20:06:04 +00:00
|
|
|
|
(define-public i3-wm
|
|
|
|
|
(package
|
|
|
|
|
(name "i3-wm")
|
2019-09-01 13:37:28 +00:00
|
|
|
|
(version "4.17.1")
|
2015-08-17 20:06:04 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-06 05:11:28 +00:00
|
|
|
|
(uri (string-append "https://i3wm.org/downloads/i3-"
|
2015-08-17 20:06:04 +00:00
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-01 13:37:28 +00:00
|
|
|
|
"0iazv2i2rgmakzh95pgj6iapyzn7bdpcbcd35a79mhlml4ry33qy"))))
|
2015-08-17 20:06:04 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-02-14 22:28:40 +00:00
|
|
|
|
`(#:configure-flags
|
2016-12-04 22:39:00 +00:00
|
|
|
|
;; The build system tries to build in a separate directory, but that
|
|
|
|
|
;; seems to be unnecessary.
|
2019-02-14 22:28:40 +00:00
|
|
|
|
(list "--disable-builddir")
|
|
|
|
|
|
|
|
|
|
;; The test suite requires the unpackaged Xephyr X server.
|
2019-04-30 02:36:27 +00:00
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'patch-session-file
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(i3 (string-append out "/bin/i3"))
|
|
|
|
|
(i3-with-shmlog (string-append out "/bin/i3-with-shmlog")))
|
|
|
|
|
(substitute* (string-append out "/share/xsessions/i3.desktop")
|
|
|
|
|
(("Exec=i3") (string-append "Exec=" i3)))
|
|
|
|
|
(substitute* (string-append out "/share/xsessions/i3-with-shmlog.desktop")
|
|
|
|
|
(("Exec=i3-with-shmlog") (string-append "Exec=" i3-with-shmlog)))
|
|
|
|
|
#t))))))
|
2015-08-17 20:06:04 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libxcb" ,libxcb)
|
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
|
("xcb-util-cursor" ,xcb-util-cursor)
|
|
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)
|
|
|
|
|
("xcb-util-wm" ,xcb-util-wm)
|
2016-12-04 22:39:00 +00:00
|
|
|
|
("xcb-util-xrm" ,xcb-util-xrm)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("libev" ,libev)
|
|
|
|
|
("libyajl" ,libyajl)
|
|
|
|
|
("asciidoc" ,asciidoc)
|
|
|
|
|
("xmlto" ,xmlto)
|
|
|
|
|
("perl-pod-simple" ,perl-pod-simple)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("startup-notification" ,startup-notification)
|
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("cairo" ,cairo)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("which" ,which)
|
|
|
|
|
("perl" ,perl)
|
2016-12-04 22:39:00 +00:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
;; For building the documentation.
|
gnu: Adjust asciidoc-related build options.
Commits 9099a45792306fade2d9ca55138e49ef4f01f1ea and
3078821d1380c26c738be6b5d430c595327d401f make many package inputs and
build configurations related to asciidoc obsolete.
* gnu/packages/compton.scm (compton)[inputs]: Remove docbook-xml,
libxml2 and libxslt.
* gnu/packages/mail.scm (offlinemap)[native-inputs]: Remove libxslt.
* gnu/packages/linux.scm (btrfs-progs)[native-inputs]: Remove docbook-xml.
(perf)[inputs]: Remove docbook-xml and libxslt.
* gnu/packages/text-editors.scm (kakoune)[native-inputs]: Remove libxslt.
* gnu/packages/version-control.scm (cgit)[native-inputs]: Remove
docbook-xml, docbook-xsl, libxml2 and libxslt.
(cvs-fast-export)[native-inputs]: Remove docbook-xml, docbook-xsl,
libxml2 and libxslt.
* gnu/packages/web.scm (qutebrowser)[native-inputs]: Remove docbook-xml,
docbook-xsl, libxml2, and libxslt.
(tinyproxy)[native-inputs]: Remove docbook-xml, docbook-xsl, libxml2 and
libxslt.
* gnu/packages/wm.scm (awesome)[make-flags]: Remove XML_CATALOG_FILES flag.
(i3-wm)[inputs]: Remove docbook-xml.
[native-inputs]: Add libxml2.
2017-03-18 19:40:15 +00:00
|
|
|
|
("libxml2" ,libxml2)
|
2016-12-04 22:39:00 +00:00
|
|
|
|
("docbook-xsl" ,docbook-xsl)))
|
2016-05-06 05:11:28 +00:00
|
|
|
|
(home-page "https://i3wm.org/")
|
2019-02-14 23:04:03 +00:00
|
|
|
|
(synopsis "Tiling window manager")
|
|
|
|
|
(description "i3 is a tiling X11 window manager that dynamically manages
|
|
|
|
|
tiled, stacked, and tabbed window layouts.
|
|
|
|
|
|
|
|
|
|
i3 primarily targets advanced users. Windows are managed manually and organised
|
|
|
|
|
inside containers, which can be split vertically or horizontally, and optionally
|
|
|
|
|
resized.
|
|
|
|
|
|
|
|
|
|
i3 uses a plain-text configuration file, and can be extended and controlled from
|
|
|
|
|
many programming languages.")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license license:bsd-3)))
|
2015-09-11 08:11:51 +00:00
|
|
|
|
|
2019-12-24 02:18:05 +00:00
|
|
|
|
(define-public i3-gaps
|
|
|
|
|
(package (inherit i3-wm)
|
|
|
|
|
(name "i3-gaps")
|
|
|
|
|
(version "4.17.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/Airblader/i3/releases/download/"
|
|
|
|
|
version "/i3-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-26 14:45:13 +00:00
|
|
|
|
"0gqcr6s53dk3f2y9h6cna00rnwnh4yymk96li7lbym3d84cxjzrs"))))
|
2019-12-24 02:18:05 +00:00
|
|
|
|
(home-page "https://github.com/Airblader/i3")
|
|
|
|
|
(synopsis "Tiling window manager with gaps")
|
|
|
|
|
(description "i3-gaps is a fork of i3wm, a tiling window manager
|
|
|
|
|
for X11. It is kept up to date with upstream, adding a few additional
|
|
|
|
|
features such as gaps between windows.
|
|
|
|
|
|
|
|
|
|
i3 is a tiling X11 window manager that dynamically manages tiled, stacked,
|
|
|
|
|
and tabbed window layouts.
|
|
|
|
|
|
|
|
|
|
i3 primarily targets advanced users. Windows are managed manually and
|
|
|
|
|
organised inside containers, which can be split vertically or horizontally,
|
|
|
|
|
and optionally resized.
|
|
|
|
|
|
|
|
|
|
i3 uses a plain-text configuration file, and can be extended and controlled
|
|
|
|
|
from many programming languages.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2019-04-27 11:37:00 +00:00
|
|
|
|
(define-public i3lock
|
|
|
|
|
(package
|
|
|
|
|
(name "i3lock")
|
|
|
|
|
(version "2.11.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://i3wm.org/i3lock/i3lock-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"015dn534m7cxjvqdncpvaq9p8b2r4w5hp1yanbdy2abmhbcc7a7j"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("cairo" ,cairo)
|
|
|
|
|
("libev" ,libev)
|
|
|
|
|
("linux-pam" ,linux-pam)
|
|
|
|
|
("libxcb" ,libxcb)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
|
("xcb-util-image" ,xcb-util-image)
|
|
|
|
|
("xcb-util-xrm" ,xcb-util-xrm)))
|
|
|
|
|
(home-page "https://i3wm.org/i3lock/")
|
|
|
|
|
(synopsis "Lightweight screen locker")
|
|
|
|
|
(description
|
|
|
|
|
"i3lock is a simple X11 screen locker developed alongside the i3 project.
|
|
|
|
|
Despite the name it should work with any X11 window manager.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2018-10-16 07:16:43 +00:00
|
|
|
|
(define-public i3blocks
|
2019-09-10 17:38:40 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "i3blocks")
|
|
|
|
|
(version "1.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/vivien/i3blocks.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0v8mwnm8qzpv6xnqvrk43s4b9iyld4naqzbaxk4ldq1qkhai0wsv"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://github.com/vivien/i3blocks")
|
|
|
|
|
(synopsis "Minimalist scheduler for status bar scripts")
|
|
|
|
|
(description "i3blocks executes your command lines and generates a
|
2018-10-16 07:16:43 +00:00
|
|
|
|
status line from their output. The generated line is meant to be displayed by
|
|
|
|
|
the i3 window manager through its i3bar component, as an alternative to
|
|
|
|
|
i3status.")
|
2019-09-10 17:38:40 +00:00
|
|
|
|
(license license:gpl3+)))
|
2018-10-16 07:16:43 +00:00
|
|
|
|
|
2016-12-09 19:50:52 +00:00
|
|
|
|
(define-public perl-anyevent-i3
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-anyevent-i3")
|
2017-07-27 22:55:23 +00:00
|
|
|
|
(version "0.17")
|
2016-12-09 19:50:52 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MS/MSTPLBG/"
|
|
|
|
|
"AnyEvent-I3-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-27 22:55:23 +00:00
|
|
|
|
"0qvd9bq16jyy7v3ma82qcnvz9j503bw0mh7h55gkjf7ir62ck0jk"))))
|
2016-12-09 19:50:52 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-anyevent" ,perl-anyevent)
|
|
|
|
|
("perl-json-xs" ,perl-json-xs)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/AnyEvent-I3")
|
2016-12-09 19:50:52 +00:00
|
|
|
|
(synopsis
|
|
|
|
|
"Communicate with the i3 window manager through perl")
|
|
|
|
|
(description
|
|
|
|
|
"This module connects to the i3 window manager using the UNIX socket
|
|
|
|
|
based IPC interface it provides (if enabled in the configuration file).
|
|
|
|
|
You can then subscribe to events or send messages and receive their replies.")
|
|
|
|
|
;; Can be used with either license.
|
2017-05-02 14:57:52 +00:00
|
|
|
|
(license (list license:gpl3+ license:perl-license))))
|
2016-12-09 19:50:52 +00:00
|
|
|
|
|
2016-09-21 09:19:07 +00:00
|
|
|
|
(define-public python-i3-py
|
|
|
|
|
(package
|
|
|
|
|
(name "python-i3-py")
|
|
|
|
|
(version "0.6.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; The latest release is not tagged in Git nor has an entry in PyPi,
|
|
|
|
|
;; but there is still a clear commit for it, and it's been the last one
|
|
|
|
|
;; for years.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ziberna/i3-py.git")
|
|
|
|
|
(commit "27f88a616e9ecc340e7d041d3d00782f8a1964c1")))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1nm719dc2xqlll7vj4c4m7mpjb27lpn3bg3c66gajvnrz2x1nmxs"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests yet
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
;; Copy readme file to documentation directory.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((doc (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/doc/" ,name)))
|
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
|
;; Avoid unspecified return value.
|
|
|
|
|
#t))))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("i3-wm" ,i3-wm)))
|
|
|
|
|
(home-page "https://github.com/ziberna/i3-py")
|
|
|
|
|
(synopsis "Python interface to the i3 window manager")
|
|
|
|
|
(description "This package allows you to interact from a Python program
|
|
|
|
|
with the i3 window manager via its IPC socket. It can send commands and other
|
|
|
|
|
kinds of messages to i3, select the affected containers, filter results and
|
|
|
|
|
subscribe to events.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-i3-py
|
|
|
|
|
(package-with-python2 python-i3-py))
|
|
|
|
|
|
2016-09-21 09:19:20 +00:00
|
|
|
|
(define-public quickswitch-i3
|
|
|
|
|
(let ((commit "ed692b1e8f43b95bd907ced26238ce8ccb2ed28f")
|
|
|
|
|
(revision "1")) ; Guix package revision
|
|
|
|
|
(package
|
|
|
|
|
(name "quickswitch-i3")
|
|
|
|
|
(version (string-append "2.2-" revision "."
|
|
|
|
|
(string-take commit 7)))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; The latest commit is a few years old and just a couple commits
|
|
|
|
|
;; after the last tagged release, so we use that latest commit
|
|
|
|
|
;; instead of the release.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/proxypoke/quickswitch-for-i3.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0447077sama80jcdg5p64zjsvafmz5rbdrirhm1adcdjhkh6iqc5"))
|
|
|
|
|
(patches (search-patches "quickswitch-fix-dmenu-check.patch"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests yet
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
;; Copy readme file to documentation directory.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((doc (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/doc/" ,name)))
|
|
|
|
|
(install-file "README.rst" doc)
|
|
|
|
|
;; Avoid unspecified return value.
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-i3-py" ,python-i3-py)
|
|
|
|
|
("dmenu" ,dmenu)))
|
|
|
|
|
(home-page "https://github.com/proxypoke/quickswitch-for-i3")
|
|
|
|
|
(synopsis "Quickly change to and locate windows in the i3 window manager")
|
|
|
|
|
(description
|
|
|
|
|
"This utility for the i3 window manager allows you to quickly switch to
|
|
|
|
|
and locate windows on all your workspaces, using an interactive dmenu
|
|
|
|
|
prompt.")
|
2019-04-27 11:43:07 +00:00
|
|
|
|
(license license:wtfpl2))))
|
2016-09-21 09:19:20 +00:00
|
|
|
|
|
2017-01-24 13:03:42 +00:00
|
|
|
|
(define-public i3lock-color
|
|
|
|
|
(package
|
|
|
|
|
(name "i3lock-color")
|
2019-03-08 15:31:23 +00:00
|
|
|
|
(version "2.12.c")
|
2017-01-24 13:03:42 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-03-08 15:10:39 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/PandorasFox/i3lock-color.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-01-24 13:03:42 +00:00
|
|
|
|
(sha256
|
2019-03-08 15:31:23 +00:00
|
|
|
|
(base32 "08fhnchf187b73h52xgzb86g6byzxz085zs9galsvl687g5zxk34"))))
|
2017-01-24 13:03:42 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-03-08 15:10:39 +00:00
|
|
|
|
`(#:tests? #f)) ; no tests included
|
2017-01-24 13:03:42 +00:00
|
|
|
|
(inputs
|
2018-04-16 18:04:19 +00:00
|
|
|
|
`(("cairo" ,cairo)
|
|
|
|
|
("libev" ,libev)
|
2018-04-16 18:09:00 +00:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2017-01-24 13:03:42 +00:00
|
|
|
|
("libxcb" ,libxcb)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
2018-04-16 18:04:19 +00:00
|
|
|
|
("linux-pam" ,linux-pam)
|
|
|
|
|
("xcb-util" ,xcb-util)
|
2019-03-08 15:31:23 +00:00
|
|
|
|
("xcb-util-image" ,xcb-util-image)
|
|
|
|
|
("xcb-util-xrm" ,xcb-util-xrm)))
|
2017-01-24 13:03:42 +00:00
|
|
|
|
(native-inputs
|
2018-04-16 18:04:19 +00:00
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2017-01-24 13:03:42 +00:00
|
|
|
|
(home-page "https://github.com/PandorasFox/i3lock-color")
|
|
|
|
|
(synopsis "Screen locker with color configuration support")
|
|
|
|
|
(description
|
|
|
|
|
"i3lock-color is a simpler X11 screen locker derived from i3lock.
|
|
|
|
|
Features include:
|
|
|
|
|
|
|
|
|
|
@enumerate
|
|
|
|
|
@item forking process, the locked screen is preserved when you suspend to RAM;
|
|
|
|
|
@item specify background color or image to be displayed in the lock screen;
|
|
|
|
|
@item many additional color options.
|
|
|
|
|
@end enumerate")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2017-01-24 15:57:13 +00:00
|
|
|
|
(define-public i3lock-fancy
|
|
|
|
|
(package
|
|
|
|
|
(name "i3lock-fancy")
|
|
|
|
|
(version "0.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-03-08 15:10:35 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/meskarune/i3lock-fancy.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-01-24 15:57:13 +00:00
|
|
|
|
(sha256
|
2019-03-08 15:10:35 +00:00
|
|
|
|
(base32 "11g2kkim33ra38d1m897sq1ifajw17iyw9mr7sg1q8i2ibl4lfsi"))))
|
2017-01-24 15:57:13 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-03-08 15:10:35 +00:00
|
|
|
|
`(#:tests? #f ; no tests included
|
2017-01-24 15:57:13 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(icons (string-append out "/share/i3lock-fancy/icons/"))
|
|
|
|
|
(wmctrl (string-append (assoc-ref inputs "wmctrl")
|
|
|
|
|
"/bin/wmctrl"))
|
|
|
|
|
(mconvert (string-append (assoc-ref inputs "imagemagick")
|
|
|
|
|
"/bin/convert"))
|
|
|
|
|
(mimport (string-append (assoc-ref inputs "imagemagick")
|
|
|
|
|
"/bin/import"))
|
|
|
|
|
(awk (string-append (assoc-ref inputs "gawk")
|
|
|
|
|
"/bin/gawk")))
|
|
|
|
|
|
|
|
|
|
(substitute* "lock"
|
|
|
|
|
(("$(which wmctrl)") wmctrl)
|
|
|
|
|
(("convert") mconvert)
|
|
|
|
|
(("shot=\\(import") (string-append "shot=\(" mimport))
|
|
|
|
|
(("awk -F") (string-append awk " -F"))
|
|
|
|
|
((" awk") awk)
|
|
|
|
|
(("\\$scriptpath/icons/") icons))
|
|
|
|
|
#t)))
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(icons (string-append out "/share/i3lock-fancy/icons/")))
|
|
|
|
|
|
|
|
|
|
(install-file "lock" bin)
|
|
|
|
|
(rename-file (string-append bin "/lock")
|
|
|
|
|
(string-append bin "/i3lock-fancy"))
|
|
|
|
|
(copy-recursively "icons" icons)
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("imagemagick" ,imagemagick)
|
|
|
|
|
("wmctrl" ,wmctrl)
|
|
|
|
|
("gawk" ,gawk)))
|
|
|
|
|
(home-page "https://github.com/meskarune/i3lock-fancy")
|
|
|
|
|
(synopsis "Screen locker with screenshot function")
|
|
|
|
|
(description
|
|
|
|
|
"@code{i3lock-fancy} is a Bash script that takes a screenshot of
|
|
|
|
|
the desktop, blurs the background and adds a lock icon and text.
|
|
|
|
|
It requires @code{i3lock-color} or @code{i3lock} and can optionally
|
|
|
|
|
be passed any screenshot util like @code{scrot}.
|
|
|
|
|
This screen locker can be used with any window manager or
|
|
|
|
|
desktop environment.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(define-public xmonad
|
|
|
|
|
(package
|
|
|
|
|
(name "xmonad")
|
2019-03-17 14:17:29 +00:00
|
|
|
|
(version "0.15")
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(synopsis "Tiling window manager")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-11-19 17:42:12 +00:00
|
|
|
|
(uri (string-append "mirror://hackage/package/xmonad/"
|
2019-03-17 14:13:41 +00:00
|
|
|
|
"xmonad-" version ".tar.gz"))
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-17 14:17:29 +00:00
|
|
|
|
"0a7rh21k9y6g8fwkggxdxjns2grvvsd5hi2ls4klmqz5xvk4hyaa"))))
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(build-system haskell-build-system)
|
|
|
|
|
(inputs
|
2017-01-23 09:48:51 +00:00
|
|
|
|
`(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
|
|
|
|
|
("ghc-quickcheck" ,ghc-quickcheck)
|
2018-08-09 22:29:10 +00:00
|
|
|
|
("ghc-semigroups" ,ghc-semigroups)
|
2017-01-23 09:48:51 +00:00
|
|
|
|
("ghc-setlocale" ,ghc-setlocale)
|
|
|
|
|
("ghc-utf8-string" ,ghc-utf8-string)
|
|
|
|
|
("ghc-x11" ,ghc-x11)))
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after
|
|
|
|
|
'install 'install-xsession
|
|
|
|
|
(lambda _
|
|
|
|
|
(let* ((xsessions (string-append %output "/share/xsessions")))
|
|
|
|
|
(mkdir-p xsessions)
|
|
|
|
|
(call-with-output-file
|
|
|
|
|
(string-append xsessions "/xmonad.desktop")
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "~
|
|
|
|
|
[Desktop Entry]~@
|
|
|
|
|
Name=~a~@
|
|
|
|
|
Comment=~a~@
|
|
|
|
|
Exec=~a/bin/xmonad~@
|
|
|
|
|
Type=Application~%" ,name ,synopsis %output)))))))))
|
2018-08-09 22:29:33 +00:00
|
|
|
|
(home-page "https://xmonad.org")
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(description
|
|
|
|
|
"Xmonad is a tiling window manager for X. Windows are arranged
|
|
|
|
|
automatically to tile the screen without gaps or overlap, maximising screen
|
|
|
|
|
use. All features of the window manager are accessible from the keyboard: a
|
|
|
|
|
mouse is strictly optional. Xmonad is written and extensible in Haskell.
|
|
|
|
|
Custom layout algorithms, and other extensions, may be written by the user in
|
|
|
|
|
config files. Layouts are applied dynamically, and different layouts may be
|
|
|
|
|
used on each workspace. Xinerama is fully supported, allowing windows to be
|
|
|
|
|
tiled on several screens.")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license license:bsd-3)))
|
2015-09-11 08:11:51 +00:00
|
|
|
|
|
2017-07-23 18:31:51 +00:00
|
|
|
|
(define-public xmobar
|
|
|
|
|
(package
|
|
|
|
|
(name "xmobar")
|
2019-12-24 16:26:34 +00:00
|
|
|
|
(version "0.32")
|
2017-07-23 18:31:51 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://hackage/package/xmobar/"
|
2019-04-11 01:44:44 +00:00
|
|
|
|
"xmobar-" version ".tar.gz"))
|
2017-07-23 18:31:51 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-24 16:26:34 +00:00
|
|
|
|
"0x2ki3v0pmhl4bva3qi1xx21axayc4sx1nkzhmk2ap4l0cj52jrd"))))
|
2017-07-23 18:31:51 +00:00
|
|
|
|
(build-system haskell-build-system)
|
2018-04-16 17:56:00 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("ghc-hspec" ,ghc-hspec)
|
|
|
|
|
("hspec-discover" ,hspec-discover)))
|
2017-07-23 18:31:51 +00:00
|
|
|
|
(inputs
|
2019-11-14 09:32:38 +00:00
|
|
|
|
`(("ghc-alsa-core" ,ghc-alsa-core)
|
|
|
|
|
("ghc-alsa-mixer" ,ghc-alsa-mixer)
|
|
|
|
|
("ghc-dbus" ,ghc-dbus)
|
|
|
|
|
("ghc-hinotify" ,ghc-hinotify)
|
2018-02-01 11:58:29 +00:00
|
|
|
|
("ghc-http" ,ghc-http)
|
2019-11-14 09:32:38 +00:00
|
|
|
|
("ghc-http-conduit" ,ghc-http-conduit)
|
|
|
|
|
("ghc-http-types" ,ghc-http-types)
|
2018-02-01 11:58:29 +00:00
|
|
|
|
("ghc-iwlib" ,ghc-iwlib)
|
2019-11-14 09:32:38 +00:00
|
|
|
|
("ghc-libmpd" ,ghc-libmpd)
|
|
|
|
|
("ghc-old-locale" ,ghc-old-locale)
|
2018-08-11 22:24:30 +00:00
|
|
|
|
("ghc-parsec-numbers" ,ghc-parsec-numbers)
|
2017-07-23 18:31:51 +00:00
|
|
|
|
("ghc-regex-compat" ,ghc-regex-compat)
|
2019-11-14 09:32:38 +00:00
|
|
|
|
("ghc-temporary" ,ghc-temporary)
|
|
|
|
|
("ghc-timezone-olson" ,ghc-timezone-olson)
|
|
|
|
|
("ghc-x11" ,ghc-x11)
|
2017-07-23 18:31:51 +00:00
|
|
|
|
("ghc-x11-xft" ,ghc-x11-xft)
|
2018-02-01 11:58:29 +00:00
|
|
|
|
("libxpm" ,libxpm)))
|
2017-07-23 18:31:51 +00:00
|
|
|
|
(arguments
|
2019-11-14 09:32:38 +00:00
|
|
|
|
`(#:configure-flags (list "--flags=all_extensions")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'patch-test-shebang
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "test/Xmobar/Plugins/Monitors/AlsaSpec.hs"
|
|
|
|
|
(("/bin/bash") (which "bash")))
|
|
|
|
|
#t)))))
|
2017-07-23 18:31:51 +00:00
|
|
|
|
(home-page "http://xmobar.org")
|
|
|
|
|
(synopsis "Minimalistic text based status bar")
|
|
|
|
|
(description
|
|
|
|
|
"@code{xmobar} is a lightweight, text-based, status bar written in
|
|
|
|
|
Haskell. It was originally designed to be used together with Xmonad, but it
|
|
|
|
|
is also usable with any other window manager. While xmobar is written in
|
|
|
|
|
Haskell, no knowledge of the language is required to install and use it.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(define-public ghc-xmonad-contrib
|
|
|
|
|
(package
|
|
|
|
|
(name "ghc-xmonad-contrib")
|
2019-10-27 23:10:46 +00:00
|
|
|
|
(version "0.16")
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-11-19 17:42:12 +00:00
|
|
|
|
(uri (string-append "mirror://hackage/package/xmonad-contrib/"
|
2015-09-11 08:11:51 +00:00
|
|
|
|
"xmonad-contrib-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-10-27 23:10:46 +00:00
|
|
|
|
(base32 "1pddgkvnbww28wykncc7j0yb0lv15bk7xnnhdcbrwkxzw66w6wmd"))))
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(build-system haskell-build-system)
|
|
|
|
|
(propagated-inputs
|
gnu: ghc-mtl: Remove built-in Haskell package.
* gnu/packages/agda.scm (agda)[inputs]: Remove ghc-mtl.
* gnu/packages/games.scm (raincat)[inputs]: Remove ghc-mtl.
* gnu/packages/haskell-check.scm (ghc-tasty-ant-xml, ghc-tasty-golden,
ghc-tasty, ghc-tasty-kat, ghc-tasty-rerun,
ghc-crypto-cipher-tests)[inputs]: Remove ghc-mtl.
* gnu/packages/haskell-crypto.scm (ghc-asn1-encoding, ghc-pem, ghc-x509,
ghc-x509-store, ghc-x509-validation, ghc-x509-system)[inputs]: Remove
ghc-mtl.
* gnu/packages/haskell-web.scm (ghc-http, ghc-http-conduit,
ghc-yesod-core)[inputs]: Remove ghc-mtl.
* gnu/packages/haskell.scm (ghc-convertible, ghc-libxml, ghc-cgi,
ghc-happy, ghc-haskell-src-exts, ghc-resourcet, cabal-install,
ghc-indents, ghc-regex-base, ghc-regex-tdfa-rc, ghc-trifecta,
ghc-zip-archive, ghc-logict, ghc-exceptions, ghc-smallcheck, ghc-syb,
ghc-fgl, ghc-chasingbottoms, ghc-parsec, ghc-megaparsec, ghc-edisonapi,
ghc-edisoncore, ghc-mmorph, ghc-ifelse, ghc-kan-extensions, ghc-lens,
ghc-cheapskate, ghc-free, ghc-adjunctions, ghc-equivalence, ghc-texmath,
ghc-texmath-for-pandoc-1, ghc-highlighting-kate, ghc-th-reify-many,
ghc-th-orphans, ghc-geniplate-mirror, ghc-conduit, ghc-filemanip,
ghc-juicypixels, ghc-hslua, ghc-hourglass, ghc-skylighting,
ghc-skylighting-for-pandoc-1, ghc-pandoc, ghc-pandoc-1,
ghc-pandoc-citeproc, ghc-regex-tdfa, ghc-stmonadtrans, ghc-constraints,
ghc-lifted-async, ghc-shelly, ghc-hslogger, ghc-json, shellcheck,
ghc-vector-algorithms, ghc-monad-par-extras, ghc-monad-par,
ghc-monadrandom, ghc-either, ghc-rebase, ghc-aws, ghc-monad-logger,
ghc-persistent, ghc-bytes, ghc-missingh, ghc-operational,
ghc-chart)[inputs]: Remove ghc-mtl.
(ghc-conduit-combinators)[native-inputs]: Remove ghc-mtl.
(ghc-mtl): Remove variable.
* gnu/packages/idris.scm (idris)[inputs]: Remove ghc-mtl.
* gnu/packages/tls.scm (ghc-tls)[inputs]: Remove ghc-mtl.
* gnu/packages/version-control.scm (darcs, git-annex)[inputs]: Remove
ghc-mtl.
* gnu/packages/wm.scm (xmonad, ghc-xmonad-contrib)[inputs]: Remove
ghc-mtl.
* gnu/packages/xml.scm (ghc-hxt)[inputs]: Remove ghc-mtl.
2018-08-29 21:08:08 +00:00
|
|
|
|
`(("ghc-old-time" ,ghc-old-time)
|
2015-09-11 08:11:51 +00:00
|
|
|
|
("ghc-random" ,ghc-random)
|
|
|
|
|
("ghc-utf8-string" ,ghc-utf8-string)
|
|
|
|
|
("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
|
gnu: Fix misplaced commas (unquotes).
* gnu/packages/java.scm (ant-bootstrap),
gnu/packages/kde.scm (kdenlive),
gnu/packages/lxqt.scm (lxqt-panel, lxqt-runner),
gnu/packages/mpd.scm (ncmpc),
gnu/packages/opencl.scm (beignet),
gnu/packages/pdf.scm (zathura-pdf-mupdf),
gnu/packages/video.scm (streamlink),
gnu/packages/web-browsers.scm (luakit),
gnu/packages/web.scm (perl-libwww),
gnu/packages/wm.scm (ghc-xmonad-contrib): Fix misplaced commas (unquotes).
2018-12-13 04:30:18 +00:00
|
|
|
|
("ghc-semigroups" ,ghc-semigroups)
|
2015-09-11 08:11:51 +00:00
|
|
|
|
("ghc-x11" ,ghc-x11)
|
|
|
|
|
("ghc-x11-xft" ,ghc-x11-xft)
|
|
|
|
|
("xmonad" ,xmonad)))
|
2018-08-09 22:29:33 +00:00
|
|
|
|
(home-page "https://xmonad.org")
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(synopsis "Third party extensions for xmonad")
|
|
|
|
|
(description
|
|
|
|
|
"Third party tiling algorithms, configurations, and scripts to Xmonad, a
|
|
|
|
|
tiling window manager for X.")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license license:bsd-3)))
|
2015-10-15 22:34:26 +00:00
|
|
|
|
|
|
|
|
|
(define-public evilwm
|
|
|
|
|
(package
|
|
|
|
|
(name "evilwm")
|
|
|
|
|
(version "1.1.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.6809.org.uk/evilwm/evilwm-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-10-22 22:41:39 +00:00
|
|
|
|
"0ak0yajzk3v4dg5wmaghv6acf7v02a4iw8qxmq5yw5ard8lrqn3r"))
|
2016-04-08 12:18:13 +00:00
|
|
|
|
(patches (search-patches "evilwm-lost-focus-bug.patch"))))
|
2015-10-15 22:34:26 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxrandr" ,libxrandr)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((srfi srfi-26)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(guix build gnu-build-system))
|
|
|
|
|
#:make-flags (let ((inputs (map (cut assoc-ref %build-inputs <>)
|
|
|
|
|
'("libx11" "libxext" "libxrandr")))
|
|
|
|
|
(join (lambda (proc strs)
|
|
|
|
|
(string-join (map proc strs) " ")))
|
|
|
|
|
(dash-I (cut string-append "-I" <> "/include"))
|
|
|
|
|
(dash-L (cut string-append "-L" <> "/lib")))
|
|
|
|
|
`("desktopfilesdir=$(prefix)/share/xsessions"
|
|
|
|
|
,(string-append "prefix=" (assoc-ref %outputs "out"))
|
|
|
|
|
,(string-append "CPPFLAGS=" (join dash-I inputs))
|
|
|
|
|
,(string-append "LDFLAGS=" (join dash-L inputs))))
|
|
|
|
|
#:tests? #f ;no tests
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)))) ;no configure script
|
|
|
|
|
(home-page "http://www.6809.org.uk/evilwm/")
|
|
|
|
|
(synopsis "Minimalist window manager for the X Window System")
|
|
|
|
|
(description
|
|
|
|
|
"evilwm is a minimalist window manager based on aewm, extended to feature
|
|
|
|
|
many keyboard controls with repositioning and maximize toggles, solid window
|
|
|
|
|
drags, snap-to-border support, and virtual desktops.")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license (license:x11-style "file:///README"))))
|
|
|
|
|
|
|
|
|
|
(define-public fluxbox
|
|
|
|
|
(package
|
|
|
|
|
(name "fluxbox")
|
|
|
|
|
(version "1.3.7")
|
|
|
|
|
(synopsis "Small and fast window manager")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 06:35:30 +00:00
|
|
|
|
(uri (string-append "mirror://sourceforge/fluxbox/fluxbox/"
|
2016-02-28 06:37:22 +00:00
|
|
|
|
version "/fluxbox-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1h1f70y40qd225dqx937vzb4k2cz219agm1zvnjxakn5jkz7b37w"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags '("CPPFLAGS=-U__TIME__") ;ugly, but for reproducibility
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-02-13 19:17:19 +00:00
|
|
|
|
(add-after 'install 'install-vim-files
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(syntax (string-append out "/share/vim/vimfiles/syntax")))
|
|
|
|
|
(copy-recursively "3rd/vim/vim/syntax" syntax)
|
|
|
|
|
#t)))
|
2019-02-13 19:25:14 +00:00
|
|
|
|
(add-after 'install 'install-xsession
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(xsessions (string-append out "/share/xsessions")))
|
|
|
|
|
(mkdir-p xsessions)
|
|
|
|
|
(call-with-output-file
|
|
|
|
|
(string-append xsessions "/fluxbox.desktop")
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "~
|
|
|
|
|
[Desktop Entry]~@
|
|
|
|
|
Name=~a~@
|
|
|
|
|
Comment=~a~@
|
|
|
|
|
Exec=~a/bin/startfluxbox~@
|
|
|
|
|
Type=Application~%" ,name ,synopsis out)))
|
|
|
|
|
#t))))))
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
|
("fribidi" ,fribidi)
|
|
|
|
|
("imlib2" ,imlib2)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxft" ,libxft)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxpm" ,libxpm)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("libxrender" ,libxrender)))
|
|
|
|
|
(description "Fluxbox is a window manager. It is light on resources
|
|
|
|
|
and easy to handle yet full of features to make an easy and fast desktop
|
|
|
|
|
experience.")
|
|
|
|
|
(home-page "http://fluxbox.org/")
|
|
|
|
|
(license license:expat)))
|
2016-06-15 12:15:33 +00:00
|
|
|
|
|
|
|
|
|
(define-public awesome
|
|
|
|
|
(package
|
|
|
|
|
(name "awesome")
|
2017-11-03 15:07:58 +00:00
|
|
|
|
(version "4.2")
|
2016-06-15 12:15:33 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin (method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-12-26 20:53:40 +00:00
|
|
|
|
"https://github.com/awesomeWM/awesome-releases/raw/"
|
|
|
|
|
"master/awesome-" version ".tar.xz"))
|
2016-06-15 12:15:33 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-11-03 15:07:58 +00:00
|
|
|
|
"0kwpbls9h1alxcmvxh5g9qb995fds5b2ngcr44w0ibazkyls2pdc"))
|
2016-06-15 12:15:33 +00:00
|
|
|
|
(modules '((guix build utils)
|
|
|
|
|
(srfi srfi-19)))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
;; Remove non-reproducible timestamp and use the date
|
|
|
|
|
;; of the source file instead.
|
|
|
|
|
(substitute* "common/version.c"
|
|
|
|
|
(("__DATE__ \" \" __TIME__")
|
|
|
|
|
(date->string
|
|
|
|
|
(time-utc->date
|
|
|
|
|
(make-time time-utc 0
|
|
|
|
|
(stat:mtime (stat "awesome.c"))))
|
|
|
|
|
"\"~c\"")))
|
|
|
|
|
#t))
|
2016-06-15 12:15:33 +00:00
|
|
|
|
(patches (search-patches "awesome-reproducible-png.patch"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs `(("asciidoc" ,asciidoc)
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
|
("gperf" ,gperf)
|
|
|
|
|
("imagemagick" ,imagemagick)
|
|
|
|
|
("libxml2" ,libxml2) ;for XML_CATALOG_FILES
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("xmlto" ,xmlto)))
|
|
|
|
|
(inputs `(("cairo" ,cairo)
|
|
|
|
|
("dbus" ,dbus)
|
|
|
|
|
("gdk-pixbuf" ,gdk-pixbuf)
|
|
|
|
|
("glib" ,glib)
|
2016-09-20 18:02:53 +00:00
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2016-06-15 12:15:33 +00:00
|
|
|
|
("imlib2" ,imlib2)
|
|
|
|
|
("libev" ,libev)
|
|
|
|
|
("libxcb" ,libxcb)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
|
("libxdg-basedir" ,libxdg-basedir)
|
2016-12-26 20:53:40 +00:00
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
2016-09-20 18:02:53 +00:00
|
|
|
|
("lua" ,lua)
|
2018-03-16 15:50:14 +00:00
|
|
|
|
("lua-lgi" ,lua-lgi)
|
2016-06-15 12:15:33 +00:00
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("startup-notification" ,startup-notification)
|
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
|
("xcb-util-cursor" ,xcb-util-cursor)
|
|
|
|
|
("xcb-util-image" ,xcb-util-image)
|
|
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)
|
|
|
|
|
("xcb-util-renderutil" ,xcb-util-renderutil)
|
2016-12-26 20:53:40 +00:00
|
|
|
|
("xcb-util-xrm" ,xcb-util-xrm)
|
2016-06-15 12:15:33 +00:00
|
|
|
|
("xcb-util-wm" ,xcb-util-wm)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; Let compression happen in our 'compress-documentation' phase so that
|
|
|
|
|
;; '--no-name' is used, which removes timestamps from gzip output.
|
|
|
|
|
#:configure-flags '("-DCOMPRESS_MANPAGES=off")
|
|
|
|
|
|
2017-11-03 15:07:58 +00:00
|
|
|
|
;; Building awesome in its source dir is no longer supported.
|
|
|
|
|
#:out-of-source? #t
|
|
|
|
|
|
2016-09-20 18:02:53 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'xmlto-skip-validation
|
|
|
|
|
(lambda _
|
|
|
|
|
;; We can't download the necessary schema, so so skip
|
|
|
|
|
;; validation and assume they're valid.
|
|
|
|
|
(substitute* "../build/CMakeFiles/man.dir/build.make"
|
|
|
|
|
(("/xmlto")
|
|
|
|
|
(string-append "/xmlto --skip-validation")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'configure 'set-lua-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; The build process needs to load cairo dynamically.
|
|
|
|
|
(let* ((cairo (string-append
|
|
|
|
|
(assoc-ref inputs "cairo") "/lib" ))
|
|
|
|
|
(lua-lgi (assoc-ref inputs "lua-lgi") ))
|
|
|
|
|
(setenv "LD_LIBRARY_PATH" cairo )
|
|
|
|
|
(setenv "LUA_PATH" (string-append lua-lgi
|
|
|
|
|
"/share/lua/5.2/?.lua"))
|
|
|
|
|
(setenv "LUA_CPATH" (string-append lua-lgi
|
|
|
|
|
"/lib/lua/5.2/?.so"))
|
|
|
|
|
#t)))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; There aren't any tests, so just make sure the binary
|
|
|
|
|
;; gets built and can be run successfully.
|
2019-01-25 09:43:37 +00:00
|
|
|
|
(invoke "../build/awesome" "-v")))
|
2019-04-30 00:51:37 +00:00
|
|
|
|
(add-after 'install 'patch-session-file
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(awesome (string-append out "/bin/awesome")))
|
|
|
|
|
(substitute* (string-append out "/share/xsessions/awesome.desktop")
|
|
|
|
|
(("Exec=awesome") (string-append "Exec=" awesome)))
|
|
|
|
|
#t)))
|
2016-09-20 18:02:53 +00:00
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((awesome (assoc-ref outputs "out"))
|
|
|
|
|
(cairo (string-append
|
|
|
|
|
(assoc-ref inputs "cairo") "/lib" ))
|
|
|
|
|
(lua-lgi (assoc-ref inputs "lua-lgi") ))
|
|
|
|
|
(wrap-program (string-append awesome "/bin/awesome")
|
|
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
|
|
|
|
|
`("LD_LIBRARY_PATH" suffix (, cairo))
|
|
|
|
|
`("LUA_PATH" suffix (,(string-append lua-lgi
|
|
|
|
|
"/share/lua/5.2/?.lua")))
|
|
|
|
|
`("LUA_CPATH" suffix (,(string-append
|
|
|
|
|
lua-lgi "/lib/lua/5.2/?.so"))))))))))
|
2016-06-15 12:15:33 +00:00
|
|
|
|
(synopsis "Highly configurable window manager")
|
|
|
|
|
(description
|
2016-08-20 20:56:46 +00:00
|
|
|
|
"Awesome has been designed as a framework window manager. It is fast, small,
|
|
|
|
|
dynamic and extensible using the Lua programming language.")
|
2016-06-15 12:15:33 +00:00
|
|
|
|
(license license:gpl2+)
|
2019-04-16 20:57:45 +00:00
|
|
|
|
(home-page "https://awesomewm.org/")))
|
2017-01-18 12:47:21 +00:00
|
|
|
|
|
|
|
|
|
(define-public menumaker
|
|
|
|
|
(package
|
|
|
|
|
(name "menumaker")
|
2020-01-14 23:02:04 +00:00
|
|
|
|
(version "0.99.11")
|
2017-01-18 12:47:21 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/menumaker/"
|
|
|
|
|
"menumaker-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-01-14 23:02:04 +00:00
|
|
|
|
(base32 "0dprndnhwm7b803zkp4pisiq06ic9iv8vr42in5is47jmvdim0wx"))))
|
2017-01-18 12:47:21 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python)))
|
|
|
|
|
(synopsis "Heuristics-driven menu generator")
|
|
|
|
|
(description
|
|
|
|
|
"MenuMaker is a menu generation utility for a number of X window
|
|
|
|
|
managers and desktop environments. It is capable of finding lots of
|
|
|
|
|
installed programs and generating a root menu consistent across all
|
|
|
|
|
supported window managers, so one will get (almost) the same menu in
|
|
|
|
|
all of them. Currently supported window managers include:
|
|
|
|
|
|
|
|
|
|
@enumerate
|
|
|
|
|
@item BlackBox
|
|
|
|
|
@item Deskmenu
|
|
|
|
|
@item FluxBox
|
|
|
|
|
@item IceWM
|
|
|
|
|
@item OpenBox
|
|
|
|
|
@item PekWM
|
|
|
|
|
@item WindowMaker
|
|
|
|
|
@item XFCE
|
|
|
|
|
@end enumerate\n")
|
|
|
|
|
(home-page "http://menumaker.sourceforge.net/")
|
|
|
|
|
(license license:bsd-2)))
|
2017-01-23 17:02:49 +00:00
|
|
|
|
|
|
|
|
|
(define-public keybinder
|
|
|
|
|
(package
|
|
|
|
|
(name "keybinder")
|
|
|
|
|
(version "0.3.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-01-25 23:21:04 +00:00
|
|
|
|
(uri (string-append "https://github.com/kupferlauncher/keybinder"
|
|
|
|
|
"/releases/download/v" version "/keybinder-"
|
2017-01-23 17:02:49 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0h52hj3ay8mfhwvmfxbxlfyq74hifdk8wxgxp7fr4iy6189hg7w7"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-2" ,python-2)
|
|
|
|
|
("gtk+-2" ,gtk+-2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python2-pygtk" ,python2-pygtk)
|
|
|
|
|
("gtk-doc" ,gtk-doc)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Library for registering global keyboard shortcuts")
|
|
|
|
|
(description
|
|
|
|
|
"Keybinder is a library for registering global keyboard shortcuts.
|
|
|
|
|
Keybinder works with GTK-based applications using the X Window System.")
|
2018-01-25 23:21:04 +00:00
|
|
|
|
(home-page "https://github.com/kupferlauncher/keybinder")
|
2017-01-23 17:02:49 +00:00
|
|
|
|
(license license:gpl2+)))
|
2017-05-04 19:45:54 +00:00
|
|
|
|
|
2019-10-01 12:37:12 +00:00
|
|
|
|
(define-public keybinder-3.0
|
|
|
|
|
(package
|
|
|
|
|
(name "keybinder-3.0")
|
|
|
|
|
(version "0.3.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/kupferlauncher/keybinder"
|
|
|
|
|
"/releases/download/" name "-v" version "/" name "-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0830ihwnalw59pp1xzrp37dn58n8vwb8zasnm4a1h81v3x7dxqz6"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+)
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gtk-doc" ,gtk-doc)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Library for registering global keyboard shortcuts, Gtk3 version")
|
|
|
|
|
(description
|
|
|
|
|
"Keybinder is a library for registering global keyboard shortcuts.
|
|
|
|
|
Keybinder works with GTK-based applications using the X Window System.")
|
|
|
|
|
(home-page "https://github.com/kupferlauncher/keybinder")
|
|
|
|
|
(license license:x11)))
|
|
|
|
|
|
2017-05-04 19:45:54 +00:00
|
|
|
|
(define-public spectrwm
|
|
|
|
|
(package
|
|
|
|
|
(name "spectrwm")
|
2018-09-09 19:45:48 +00:00
|
|
|
|
(version "3.2.0")
|
2017-05-04 19:45:54 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-11-03 05:51:37 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/conformal/spectrwm.git")
|
|
|
|
|
(commit
|
|
|
|
|
(string-append "SPECTRWM_"
|
|
|
|
|
(string-join (string-split version #\.) "_")))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-05-04 19:45:54 +00:00
|
|
|
|
(sha256
|
2019-11-03 05:51:37 +00:00
|
|
|
|
(base32 "1dfqy5f0s1nv6rqkz9lj006vypmp4rwxd5vczfk3ndzqgnh19kw6"))))
|
2017-05-04 19:45:54 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags (let ((pkg-config (lambda (flag)
|
|
|
|
|
(string-append
|
|
|
|
|
"$(shell pkg-config " flag " "
|
|
|
|
|
"xft fontconfig x11 libpng)"))))
|
|
|
|
|
(list
|
|
|
|
|
"CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" %output)
|
|
|
|
|
(string-append "INCS=-I. " (pkg-config "--cflags"))
|
|
|
|
|
(string-append "LIBS=" (pkg-config "--libs") " -lm")))
|
2018-09-09 19:45:48 +00:00
|
|
|
|
#:tests? #f ;no test suite
|
2017-05-04 19:45:54 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'change-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "linux") #t))
|
|
|
|
|
(add-after 'change-dir 'patch-makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("-g") ""))))
|
2018-09-09 19:45:48 +00:00
|
|
|
|
(delete 'configure)))) ;no 'configure' exists
|
2017-05-04 19:45:54 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("libxtst" ,libxtst)
|
|
|
|
|
("libxft" ,libxft)
|
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
|
("xcb-util-wm" ,xcb-util-wm)
|
|
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("libxt" ,libxt)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Minimalistic automatic tiling window manager")
|
|
|
|
|
(description
|
|
|
|
|
"Spectrwm is a small dynamic tiling and reparenting window manager for X11.
|
|
|
|
|
It is inspired by Xmonad and dwm. Its major features include:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Navigation anywhere on all screens with either the keyboard or mouse
|
|
|
|
|
@item Customizable status bar
|
|
|
|
|
@item Restartable without losing state
|
|
|
|
|
@item Quick launch menu
|
|
|
|
|
@item Many screen layouts possible with a few simple key strokes
|
|
|
|
|
@item Move/resize floating windows
|
2017-11-23 17:40:35 +00:00
|
|
|
|
@item Extended Window Manager Hints (@dfn{EWMH}) support
|
|
|
|
|
@item Configurable tiling
|
2017-05-04 19:45:54 +00:00
|
|
|
|
@item Adjustable tile gap allows for a true one pixel border
|
|
|
|
|
@item Customizable colors and border width
|
|
|
|
|
@end itemize\n")
|
|
|
|
|
(home-page "https://github.com/conformal/spectrwm")
|
|
|
|
|
(license license:isc)))
|
2018-02-04 11:15:19 +00:00
|
|
|
|
|
|
|
|
|
(define-public cwm
|
|
|
|
|
(package
|
|
|
|
|
(name "cwm")
|
2018-05-17 23:34:52 +00:00
|
|
|
|
(version "6.3")
|
2018-02-04 11:15:19 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://chneukirchen.org/releases/cwm-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-17 23:34:52 +00:00
|
|
|
|
"17pdp9cfgh2n3n3905l4rl9qk7b722i8psnarhlc2h98qzx7zmac"))))
|
2018-02-04 11:15:19 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" %output))
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'build 'install-xsession
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Add a .desktop file to xsessions.
|
|
|
|
|
(let* ((output (assoc-ref outputs "out"))
|
|
|
|
|
(xsessions (string-append output "/share/xsessions")))
|
|
|
|
|
(mkdir-p xsessions)
|
|
|
|
|
(with-output-to-file
|
|
|
|
|
(string-append xsessions "/cwm.desktop")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=cwm~@
|
|
|
|
|
Comment=OpenBSD Calm Window Manager fork~@
|
|
|
|
|
Exec=~a/bin/cwm~@
|
|
|
|
|
TryExec=~@*~a/bin/cwm~@
|
|
|
|
|
Icon=~@
|
|
|
|
|
Type=Application~%"
|
|
|
|
|
output)))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libxft" ,libxft)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("libxinerama" ,libxinerama)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("bison" ,bison)))
|
|
|
|
|
(home-page "https://github.com/chneukirchen/cwm")
|
|
|
|
|
(synopsis "OpenBSD fork of the calmwm window manager")
|
|
|
|
|
(description "Cwm is a stacking window manager for X11. It is an OpenBSD
|
|
|
|
|
project derived from the original Calm Window Manager.")
|
|
|
|
|
(license license:isc)))
|
2018-04-30 20:55:48 +00:00
|
|
|
|
|
|
|
|
|
(define-public nitrogen
|
|
|
|
|
(package
|
|
|
|
|
(name "nitrogen")
|
|
|
|
|
(version "1.6.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://github.com/l3ib/nitrogen/"
|
|
|
|
|
"releases/download/" version "/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0zc3fl1mbhq0iyndy4ysmy8vv5c7xwf54rbgamzfhfvsgdq160pl"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+-2)
|
|
|
|
|
("gtkmm" ,gtkmm-2)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("glibmm" ,glibmm)))
|
|
|
|
|
(native-inputs
|
2018-06-19 23:03:47 +00:00
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2018-04-30 20:55:48 +00:00
|
|
|
|
(home-page "http://projects.l3ib.org/nitrogen/")
|
|
|
|
|
(synopsis "Background browser and setter for X windows")
|
|
|
|
|
(description
|
|
|
|
|
"This package is a background browser and setter for X windows. It's
|
|
|
|
|
features are:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Multihead and Xinerama aware
|
|
|
|
|
@item Recall mode to used via startup script
|
|
|
|
|
@item Uses freedesktop.org standard for thumbnails
|
|
|
|
|
@item Can set GNOME background
|
|
|
|
|
@item Command lie set modes for script use
|
|
|
|
|
@item Inotify monitoring of browse directory
|
|
|
|
|
@item Lazy loading of thumbnails - conserves memory
|
|
|
|
|
@item \"Automatic\" set mode - determines best mode to set an image based on
|
|
|
|
|
its size
|
|
|
|
|
@item Display preview images in a tiled icon layout
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:gpl2+)))
|
2018-12-23 15:05:38 +00:00
|
|
|
|
|
|
|
|
|
(define-public polybar
|
|
|
|
|
(package
|
|
|
|
|
(name "polybar")
|
2020-01-03 22:49:02 +00:00
|
|
|
|
(version "3.4.2")
|
2018-12-23 15:05:38 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-10-15 18:34:27 +00:00
|
|
|
|
(uri (string-append "https://github.com/polybar/polybar/releases/"
|
2019-04-11 01:41:03 +00:00
|
|
|
|
"download/" version "/polybar-" version ".tar"))
|
2018-12-23 15:05:38 +00:00
|
|
|
|
(sha256
|
2020-01-03 22:49:02 +00:00
|
|
|
|
(base32 "0fmnviz4b01aw50nkv4yibm8ykc5ff860ynw3xb1ymlsjrvwj8jd"))))
|
2018-12-23 15:05:38 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; Test is disabled because it requires downloading googletest from the
|
|
|
|
|
;; Internet.
|
|
|
|
|
'(#:tests? #f))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("cairo" ,cairo)
|
|
|
|
|
("i3-wm" ,i3-wm)
|
2019-10-15 18:51:07 +00:00
|
|
|
|
("jsoncpp" ,jsoncpp)
|
2018-12-23 15:05:38 +00:00
|
|
|
|
("libmpdclient" ,libmpdclient)
|
|
|
|
|
("libnl" ,libnl)
|
|
|
|
|
("libxcb" ,libxcb)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("xcb-proto" ,xcb-proto)
|
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
|
("xcb-util-cursor" ,xcb-util-cursor)
|
|
|
|
|
("xcb-util-image" ,xcb-util-image)
|
|
|
|
|
("xcb-util-wm" ,xcb-util-wm)
|
|
|
|
|
("xcb-util-xrm" ,xcb-util-xrm)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("python-2" ,python-2) ; lib/xpp depends on python 2
|
|
|
|
|
("python" ,python))) ; xcb-proto depends on python 3
|
|
|
|
|
(home-page "https://polybar.github.io/")
|
|
|
|
|
(synopsis "Fast and easy-to-use status bar")
|
|
|
|
|
(description "Polybar aims to help users build beautiful and highly
|
|
|
|
|
customizable status bars for their desktop environment. It has built-in
|
|
|
|
|
functionality to display information about the most commonly used services.")
|
|
|
|
|
(license license:expat)))
|
2019-03-11 19:12:48 +00:00
|
|
|
|
|
|
|
|
|
(define-public wlroots
|
|
|
|
|
(package
|
|
|
|
|
(name "wlroots")
|
2019-08-30 09:41:48 +00:00
|
|
|
|
(version "0.7.0")
|
2019-03-11 19:12:48 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/swaywm/wlroots.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-08-30 09:41:48 +00:00
|
|
|
|
(base32 "0jzxa6psbc7ddxli7rbfqxmv1svxnis51l1vch4hb9fdixqm284a"))))
|
2019-03-11 19:12:48 +00:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-Dlogind-provider=elogind")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'hardcode-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "xwayland/xwayland.c"
|
|
|
|
|
(("Xwayland") (string-append (assoc-ref inputs
|
|
|
|
|
"xorg-server-xwayland")
|
|
|
|
|
"/bin/Xwayland")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs `(("elogind" ,elogind)
|
|
|
|
|
("eudev" ,eudev)
|
|
|
|
|
("libinput" ,libinput)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("pixman" ,pixman)
|
|
|
|
|
("wayland" ,wayland)
|
|
|
|
|
("xorg-server-xwayland" ,xorg-server-xwayland)))
|
|
|
|
|
(native-inputs `(("ffmpeg" ,ffmpeg)
|
|
|
|
|
("libcap" ,libcap)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
|
|
|
|
(home-page "https://github.com/swaywm/wlroots")
|
|
|
|
|
(synopsis "Pluggable, composable, unopinionated modules for building a
|
|
|
|
|
Wayland compositor")
|
|
|
|
|
(description "wlroots is a set of pluggable, composable, unopinionated
|
|
|
|
|
modules for building a Wayland compositor.")
|
|
|
|
|
(license license:expat))) ; MIT license
|
2019-03-11 19:17:34 +00:00
|
|
|
|
|
|
|
|
|
(define-public sway
|
|
|
|
|
(package
|
|
|
|
|
(name "sway")
|
2019-08-27 12:47:30 +00:00
|
|
|
|
(version "1.2")
|
2019-03-11 19:17:34 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/swaywm/sway.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-08-27 12:47:30 +00:00
|
|
|
|
(base32 "0vch2zm5afc76ia78p3vg71zr2fyda67l9hd2h0x1jq3mnvfbxnd"))))
|
2019-03-11 19:17:34 +00:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'hardcode-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2019-06-09 08:15:50 +00:00
|
|
|
|
;; Hardcode path to swaybg.
|
|
|
|
|
(substitute* "sway/config.c"
|
|
|
|
|
(("strdup..swaybg..")
|
|
|
|
|
(string-append "strdup(\"" (assoc-ref inputs "swaybg")
|
|
|
|
|
"/bin/swaybg\")")))
|
|
|
|
|
;; Hardcode path to scdoc.
|
2019-03-11 19:17:34 +00:00
|
|
|
|
(substitute* "meson.build"
|
|
|
|
|
(("scdoc.get_pkgconfig_variable..scdoc..")
|
|
|
|
|
(string-append "'" (assoc-ref inputs "scdoc")
|
|
|
|
|
"/bin/scdoc'")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs `(("cairo" ,cairo)
|
|
|
|
|
("elogind" ,elogind)
|
|
|
|
|
("gdk-pixbuf" ,gdk-pixbuf)
|
|
|
|
|
("json-c" ,json-c)
|
2019-04-07 23:38:01 +00:00
|
|
|
|
("libevdev" ,libevdev)
|
2019-03-11 19:17:34 +00:00
|
|
|
|
("libinput" ,libinput)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("pango" ,pango)
|
2019-06-09 08:15:50 +00:00
|
|
|
|
("swaybg" ,swaybg)
|
2019-03-11 19:17:34 +00:00
|
|
|
|
("wayland" ,wayland)
|
|
|
|
|
("wlroots" ,wlroots)))
|
|
|
|
|
(native-inputs `(("git" ,git)
|
|
|
|
|
("libcap" ,libcap)
|
|
|
|
|
("linux-pam" ,linux-pam)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("scdoc" ,scdoc)
|
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
|
|
|
|
(home-page "https://github.com/swaywm/sway")
|
|
|
|
|
(synopsis "Wayland compositor compatible with i3")
|
|
|
|
|
(description "Sway is a i3-compatible Wayland compositor.")
|
|
|
|
|
(license license:expat))) ; MIT license
|
2019-03-11 19:19:41 +00:00
|
|
|
|
|
|
|
|
|
(define-public swayidle
|
|
|
|
|
(package
|
|
|
|
|
(name "swayidle")
|
2019-07-15 12:20:12 +00:00
|
|
|
|
(version "1.5")
|
2019-03-11 19:19:41 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/swaywm/swayidle.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-07-15 12:20:12 +00:00
|
|
|
|
(base32 "05qi96j58xqxjiighay1d39rfanxcpn6vlynj23mb5dymxvlaq9n"))))
|
2019-03-11 19:19:41 +00:00
|
|
|
|
(build-system meson-build-system)
|
2019-06-09 10:10:20 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-Dlogind-provider=elogind")))
|
|
|
|
|
(inputs `(("elogind" ,elogind)
|
|
|
|
|
("wayland" ,wayland)))
|
2019-03-11 19:19:41 +00:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("scdoc" ,scdoc)
|
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
|
|
|
|
(home-page "https://github.com/swaywm/sway")
|
|
|
|
|
(synopsis "Idle management daemon for Wayland compositors")
|
|
|
|
|
(description "Swayidle is a idle management daemon for Wayland compositors.")
|
|
|
|
|
(license license:expat))) ; MIT license
|
2019-03-11 19:22:00 +00:00
|
|
|
|
|
|
|
|
|
(define-public swaylock
|
|
|
|
|
(package
|
|
|
|
|
(name "swaylock")
|
2019-06-03 16:24:37 +00:00
|
|
|
|
(version "1.4")
|
2019-03-11 19:22:00 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/swaywm/swaylock.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-06-03 16:24:37 +00:00
|
|
|
|
(base32 "1ii9ql1mxkk2z69dv6bg1x22nl3a46iww764wqjiv78x08xpk982"))))
|
2019-03-11 19:22:00 +00:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(inputs `(("cairo" ,cairo)
|
|
|
|
|
("gdk-pixbuf" ,gdk-pixbuf)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
;("linux-pam" ,linux-pam) ; FIXME: Doesn't work.
|
|
|
|
|
("wayland" ,wayland)))
|
2019-03-11 19:30:27 +00:00
|
|
|
|
(native-inputs `(("git" ,git)
|
2019-03-11 19:22:00 +00:00
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("scdoc" ,scdoc)
|
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
|
|
|
|
(home-page "https://github.com/swaywm/sway")
|
|
|
|
|
(synopsis "Screen locking utility for Wayland compositors")
|
|
|
|
|
(description "Swaylock is a screen locking utility for Wayland compositors.")
|
|
|
|
|
(license license:expat))) ; MIT license
|
2019-06-03 16:27:21 +00:00
|
|
|
|
|
|
|
|
|
(define-public swaybg
|
|
|
|
|
(package
|
|
|
|
|
(name "swaybg")
|
|
|
|
|
(version "1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/swaywm/swaybg.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1lmqz5bmig90gq2m7lwf02d2g7z4hzf8fhqz78c8vk92c6p4xwbc"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(inputs `(("cairo" ,cairo)
|
|
|
|
|
("gdk-pixbuf" ,gdk-pixbuf)
|
|
|
|
|
("wayland" ,wayland)))
|
|
|
|
|
(native-inputs `(("git" ,git)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("scdoc" ,scdoc)
|
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
|
|
|
|
(home-page "https://github.com/swaywm/sway")
|
|
|
|
|
(synopsis "Screen wallpaper utility for Wayland compositors")
|
|
|
|
|
(description "Swaybg is a wallpaper utility for Wayland compositors.")
|
|
|
|
|
(license license:expat))) ; MIT license
|
2019-06-12 12:20:56 +00:00
|
|
|
|
|
|
|
|
|
(define-public waybar
|
|
|
|
|
(package
|
|
|
|
|
(name "waybar")
|
2019-10-06 08:05:27 +00:00
|
|
|
|
(version "0.8.0")
|
2019-06-12 12:20:56 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Alexays/Waybar.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-10-06 08:05:27 +00:00
|
|
|
|
(base32 "0s8ck7qxka0l91ayma6amp9sc8cidi43byqgzcavi3a6id983r1z"))))
|
2019-06-12 12:20:56 +00:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2019-07-02 21:18:07 +00:00
|
|
|
|
(list (string-append "-Dout=" (assoc-ref %outputs "out")))))
|
2019-06-12 12:20:56 +00:00
|
|
|
|
(inputs `(("fmt" ,fmt)
|
|
|
|
|
("gtkmm" ,gtkmm)
|
|
|
|
|
("jsoncpp" ,jsoncpp)
|
2019-06-17 11:30:57 +00:00
|
|
|
|
("libdbusmenu" ,libdbusmenu)
|
2019-06-12 12:20:56 +00:00
|
|
|
|
("libinput" ,libinput)
|
2019-06-17 11:30:57 +00:00
|
|
|
|
("libmpdclent" ,libmpdclient)
|
|
|
|
|
("libnl" ,libnl)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2019-06-12 12:20:56 +00:00
|
|
|
|
("spdlog" ,spdlog)
|
|
|
|
|
("wayland" ,wayland)))
|
2019-07-02 21:18:07 +00:00
|
|
|
|
(native-inputs `(("glib:bin" ,glib "bin")
|
2019-06-12 12:20:56 +00:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
|
|
|
|
(home-page "https://github.com/Alexays/Waybar")
|
|
|
|
|
(synopsis "Wayland bar for Sway and Wlroots based compositors.")
|
|
|
|
|
(description "Waybar is a highly customisable Wayland bar for Sway and
|
|
|
|
|
Wlroots based compositors.")
|
|
|
|
|
(license license:expat))) ; MIT license
|
2019-06-17 22:22:46 +00:00
|
|
|
|
|
|
|
|
|
(define-public mako
|
|
|
|
|
(package
|
|
|
|
|
(name "mako")
|
2019-09-24 05:17:32 +00:00
|
|
|
|
(version "1.4")
|
2019-06-17 22:22:46 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/emersion/mako.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-09-24 05:17:32 +00:00
|
|
|
|
(base32 "11ymiq6cr2ma0iva1mqybn3j6k73bsc6lv6pcbdq7hkhd4f9b7j9"))))
|
2019-06-17 22:22:46 +00:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(inputs `(("cairo" ,cairo)
|
|
|
|
|
("elogind" ,elogind)
|
|
|
|
|
("gdk-pixbuf" ,gdk-pixbuf)
|
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("wayland" ,wayland)))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("scdoc" ,scdoc)
|
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
|
|
|
|
(home-page "https://wayland.emersion.fr/mako")
|
|
|
|
|
(synopsis "Lightweight Wayland notification daemon")
|
|
|
|
|
(description "Mako is a lightweight notification daemon for Wayland
|
|
|
|
|
compositors that support the layer-shell protocol.")
|
|
|
|
|
(license license:expat))) ; MIT license
|
2019-11-28 20:37:28 +00:00
|
|
|
|
|
|
|
|
|
(define-public stumpwm
|
|
|
|
|
(package
|
|
|
|
|
(name "stumpwm")
|
2019-12-05 19:31:31 +00:00
|
|
|
|
(version "19.11")
|
2019-11-28 20:37:28 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/stumpwm/stumpwm.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name "stumpwm" version))
|
|
|
|
|
(sha256
|
2019-12-05 19:31:31 +00:00
|
|
|
|
(base32 "1ha8803ll7472kqxsy2xz0v5d4sv8apmc9z631d67m31q0z1m9rz"))))
|
2019-11-28 20:37:28 +00:00
|
|
|
|
(build-system asdf-build-system/sbcl)
|
|
|
|
|
(native-inputs `(("fiasco" ,sbcl-fiasco)
|
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
|
(inputs `(("cl-ppcre" ,sbcl-cl-ppcre)
|
|
|
|
|
("clx" ,sbcl-clx)
|
|
|
|
|
("alexandria" ,sbcl-alexandria)))
|
|
|
|
|
(outputs '("out" "lib"))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:asd-system-name "stumpwm"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'create-symlinks 'build-program
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(build-program
|
|
|
|
|
(string-append (assoc-ref outputs "out") "/bin/stumpwm")
|
|
|
|
|
outputs
|
|
|
|
|
#:entry-program '((stumpwm:stumpwm) 0))))
|
|
|
|
|
(add-after 'build-program 'create-desktop-file
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(xsessions (string-append out "/share/xsessions")))
|
|
|
|
|
(mkdir-p xsessions)
|
|
|
|
|
(call-with-output-file
|
|
|
|
|
(string-append xsessions "/stumpwm.desktop")
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(format file
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=stumpwm~@
|
|
|
|
|
Comment=The Stump Window Manager~@
|
|
|
|
|
Exec=~a/bin/stumpwm~@
|
|
|
|
|
TryExec=~@*~a/bin/stumpwm~@
|
|
|
|
|
Icon=~@
|
|
|
|
|
Type=Application~%"
|
|
|
|
|
out)))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'install-manual
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; The proper way to the manual is bootstrapping a full autotools
|
|
|
|
|
;; build system and running ‘./configure && make stumpwm.info’ to
|
|
|
|
|
;; do some macro substitution. We can get away with much less.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(info (string-append out "/share/info")))
|
|
|
|
|
(invoke "makeinfo" "stumpwm.texi.in")
|
|
|
|
|
(install-file "stumpwm.info" info)
|
|
|
|
|
#t))))))
|
|
|
|
|
(synopsis "Window manager written in Common Lisp")
|
|
|
|
|
(description "Stumpwm is a window manager written entirely in Common Lisp.
|
|
|
|
|
It attempts to be highly customizable while relying entirely on the keyboard
|
|
|
|
|
for input. These design decisions reflect the growing popularity of
|
|
|
|
|
productive, customizable lisp based systems.")
|
|
|
|
|
(home-page "https://github.com/stumpwm/stumpwm")
|
|
|
|
|
(license license:gpl2+)
|
|
|
|
|
(properties `((cl-source-variant . ,(delay cl-stumpwm))))))
|
|
|
|
|
|
|
|
|
|
(define-public sbcl-stumpwm
|
|
|
|
|
(deprecated-package "sbcl-stumpwm" stumpwm))
|
|
|
|
|
|
|
|
|
|
(define-public cl-stumpwm
|
|
|
|
|
(package
|
|
|
|
|
(inherit (sbcl-package->cl-source-package stumpwm))
|
|
|
|
|
(name "cl-stumpwm")))
|
|
|
|
|
|
|
|
|
|
(define-public stumpwm+slynk
|
|
|
|
|
(package
|
|
|
|
|
(inherit stumpwm)
|
|
|
|
|
(name "stumpwm-with-slynk")
|
|
|
|
|
(outputs '("out"))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("stumpwm" ,stumpwm "lib")
|
|
|
|
|
("slynk" ,sbcl-slynk)))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments stumpwm)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(replace 'build-program
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(program (string-append out "/bin/stumpwm")))
|
|
|
|
|
(build-program program outputs
|
|
|
|
|
#:entry-program '((stumpwm:stumpwm) 0)
|
|
|
|
|
#:dependencies '("stumpwm"
|
|
|
|
|
,@(@@ (gnu packages lisp-xyz) slynk-systems))
|
|
|
|
|
#:dependency-prefixes
|
|
|
|
|
(map (lambda (input) (assoc-ref inputs input))
|
|
|
|
|
'("stumpwm" "slynk")))
|
|
|
|
|
;; Remove unneeded file.
|
|
|
|
|
(delete-file (string-append out "/bin/stumpwm-exec.fasl"))
|
|
|
|
|
#t)))
|
|
|
|
|
(delete 'copy-source)
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(delete 'create-asd-file)
|
|
|
|
|
(delete 'cleanup)
|
|
|
|
|
(delete 'create-symlinks)))))))
|
|
|
|
|
|
|
|
|
|
(define-public sbcl-stumpwm+slynk
|
|
|
|
|
(deprecated-package "sbcl-stumpwm-with-slynk" stumpwm+slynk))
|
2019-12-10 05:47:08 +00:00
|
|
|
|
|
|
|
|
|
(define-public lemonbar
|
|
|
|
|
(let ((commit "35183ab81d2128dbb7b6d8e119cc57846bcefdb4")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "lemonbar")
|
|
|
|
|
(version (git-version "1.3" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/LemonBoy/bar")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1wwqbph392iwz8skaqxb0xpklb1l6yganqz80g4x1fhrnz7idmlh"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no test suite
|
|
|
|
|
#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" %output))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libxcb" ,libxcb)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
|
(home-page "https://github.com/LemonBoy/bar")
|
|
|
|
|
(synopsis "Featherweight status bar")
|
|
|
|
|
(description
|
|
|
|
|
"@code{lemonbar} (formerly known as @code{bar}) is a lightweight
|
|
|
|
|
bar entirely based on XCB. Provides full UTF-8 support, basic
|
|
|
|
|
formatting, RandR and Xinerama support and EWMH compliance without
|
|
|
|
|
wasting your precious memory.")
|
|
|
|
|
(license license:x11))))
|