mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add i3lock-color.
* gnu/packages/wm.scm (i3lock-color): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ca3c1439e1
commit
4b563b3472
1 changed files with 50 additions and 2 deletions
|
@ -8,8 +8,8 @@
|
|||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
|
||||
;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au>
|
||||
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
|
||||
;;; Copyright © 2016, 2017 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
|
||||
;;; Copyright © 2016 doncatnip <gnopap@gmail.com>
|
||||
;;; Copyright © 2016 Ivan Vilata i Balaguer <ivan@selidor.net>
|
||||
;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
|
||||
|
@ -44,6 +44,7 @@ (define-module (gnu packages wm)
|
|||
#:use-module (gnu packages haskell)
|
||||
#:use-module (gnu packages haskell-check)
|
||||
#:use-module (gnu packages haskell-web)
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages perl)
|
||||
|
@ -68,6 +69,7 @@ (define-module (gnu packages wm)
|
|||
#:use-module (gnu packages gperf)
|
||||
#:use-module (gnu packages imagemagick)
|
||||
#:use-module (gnu packages lua)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages suckless)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix git-download))
|
||||
|
@ -335,6 +337,52 @@ (define-public quickswitch-i3
|
|||
prompt.")
|
||||
(license (license:non-copyleft "http://www.wtfpl.net/txt/copying/")))))
|
||||
|
||||
(define-public i3lock-color
|
||||
(package
|
||||
(name "i3lock-color")
|
||||
(version "2.10.1c")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/PandorasFox/i3lock-color/"
|
||||
"archive/" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"119xvdm4r6irqk0mar80hx6s8ydw26y35h7712rd7nbg7pb7i053"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ;No tests included.
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'bootstrap
|
||||
(lambda _
|
||||
(zero? (system* "autoreconf" "-vfi")))))))
|
||||
(inputs
|
||||
`(("xcb-util-image" ,xcb-util-image)
|
||||
("xcb-util" ,xcb-util)
|
||||
("libxcb" ,libxcb)
|
||||
("linux-pam" ,linux-pam)
|
||||
("libxkbcommon" ,libxkbcommon)
|
||||
("libev" ,libev)
|
||||
("cairo" ,cairo)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("autoconf" ,autoconf)
|
||||
("automake" ,automake)))
|
||||
(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)))
|
||||
|
||||
(define-public xmonad
|
||||
(package
|
||||
(name "xmonad")
|
||||
|
|
Loading…
Reference in a new issue