aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-04-27 13:37:00 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-04-30 15:09:49 +0200
commit5a3d3d6a3b77ad58dd361b1dfb670e569ea23418 (patch)
treeb9e0861245c0eff49d45cc57ac249aa618c7b9fe /gnu
parent92597c3cecac7ab9f30c35275851ec3293fe55eb (diff)
downloadpatches-5a3d3d6a3b77ad58dd361b1dfb670e569ea23418.tar
patches-5a3d3d6a3b77ad58dd361b1dfb670e569ea23418.tar.gz
gnu: Add i3lock.
* gnu/packages/wm.scm (i3lock): New public variable. (cherry picked from commit b6afc350514ae5016adc6ca70f7be72aa3ecb2d2)
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/wm.scm32
1 files changed, 31 insertions, 1 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 687cf9c2ee..ddc6905c82 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -13,7 +13,7 @@
;;; Copyright © 2016 doncatnip <gnopap@gmail.com>
;;; Copyright © 2016 Ivan Vilata i Balaguer <ivan@selidor.net>
;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
-;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2017, 2019 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Pierre-Antoine Rouby <contact@parouby.fr>
@@ -233,6 +233,36 @@ i3 uses a plain-text configuration file, and can be extended and controlled from
many programming languages.")
(license license:bsd-3)))
+(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)))
+
(define-public i3blocks
(let ((commit "37f23805ff886639163fbef8aedba71c8071eff8")
(revision "1"))