aboutsummaryrefslogtreecommitdiffstats
path: root/oni/packages/shutdown-rofi.scm
diff options
context:
space:
mode:
Diffstat (limited to 'oni/packages/shutdown-rofi.scm')
-rw-r--r--oni/packages/shutdown-rofi.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/oni/packages/shutdown-rofi.scm b/oni/packages/shutdown-rofi.scm
new file mode 100644
index 0000000..d8d970c
--- /dev/null
+++ b/oni/packages/shutdown-rofi.scm
@@ -0,0 +1,40 @@
+(define-module (oni packages shutdown-rofi)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages wm)
+ #:use-module (gnu packages xdisorg)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix git-download)
+ #:use-module (guix packages))
+
+(define-public shutdown-rofi
+ (let ((commit "79cc1bdbabe5d4a1521723de1a5b9c32a1df1c7c")
+ (revision "0"))
+ (package
+ (name "shutdown-rofi")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (uri (git-reference
+ (url "git://ryuslash.org/util/tom/shutdown-rofi")
+ (commit commit)))
+ (method git-fetch)
+ (sha256
+ (base32 "17c5hr3yrafmmgcxi6m0njhp113yfcylv7ifpgds06sxxn8wdzv0"))
+ (file-name (git-file-name name version))))
+ (propagated-inputs
+ (list herbstluftwm rofi))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'build)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
+ (install-file "shutdown-rofi" bin)))))))
+ (home-page "https://ryuslash.org/")
+ (synopsis "A simple script that shows a shutdown menu using rofi.")
+ (description "Uses rofi to show a simple shutdown menu.")
+ (license license:gpl3+))))