summaryrefslogtreecommitdiff
path: root/crn/packages/wm.scm
blob: 21a13fc59e62f4a6515723dc652eed01685ad8e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
(define-module (crn packages wm)
  #:use-module (crn packages)
  #:use-module (gnu packages wm)
  #:use-module (gnu packages image)
  #:use-module (gnu packages python)
  #:use-module (gnu packages python-xyz)
  #:use-module (gnu packages web)
  #:use-module (guix build-system copy)
  #:use-module (guix git-download)
  #:use-module (guix gexp)
  #:use-module (guix packages)
  #:use-module ((guix licenses) #:prefix licenses:))

(define-public sway-contrib
  (package
   (name "sway-contrib")
   (version "0.0.0-2024.01.20")
   (source
    (origin
     (method git-fetch)
     (uri (git-reference
	   (url "https://github.com/OctopusET/sway-contrib")
	   (commit "b7825b2")))
     (file-name (git-file-name name version))
     (sha256
      (base32 "16fa8l81zjy25nsky1i525hb7zjprqz74mbirm9b76pvksschdv5"))
     (patches (crn/search-patches "sway-contrib-python.patch"))))
   (build-system copy-build-system)
   (arguments
    '(#:install-plan
      '(("." "bin" #:include (".py"))
	("." "bin" #:include ("grimshot"))
	("." "man" #:include ("grimshot.1")))))
   (inputs (list sway python-wrapper))
   (propagated-inputs (list python-i3ipc jq grim))
   (home-page "https://github.com/OctopusET/sway-contrib")
   (synopsis "A collection of user-contributed scripts for sway")
   (description "Sway-Contrib is a community-driven effort to share and showcase various user-created configurations, scripts, themes, and other resources that enhance and help the Sway experience.")
   (license licenses:expat)))