summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crn/packages/patches/rofi-extra-whitespace.patch13
-rw-r--r--crn/packages/xdisorg.scm29
2 files changed, 42 insertions, 0 deletions
diff --git a/crn/packages/patches/rofi-extra-whitespace.patch b/crn/packages/patches/rofi-extra-whitespace.patch
new file mode 100644
index 0000000..1d065f7
--- /dev/null
+++ b/crn/packages/patches/rofi-extra-whitespace.patch
@@ -0,0 +1,13 @@
+diff --git a/source/modes/dmenu.c b/source/modes/dmenu.c
+index 27b6097d..85dda8e5 100644
+--- a/source/modes/dmenu.c
++++ b/source/modes/dmenu.c
+@@ -391,7 +391,7 @@ static gchar *dmenu_format_output_string(const DmenuModePrivateData *pd,
+ unsigned int index =
+ (unsigned int)g_ascii_strtoull(pd->columns[i], NULL, 10);
+ if (index <= ns && index > 0) {
+- if (i == 0) {
++ if (index == 1) {
+ g_string_append(str_retv, splitted[index - 1]);
+ } else {
+ g_string_append_c(str_retv, '\t');
diff --git a/crn/packages/xdisorg.scm b/crn/packages/xdisorg.scm
new file mode 100644
index 0000000..1c9cc29
--- /dev/null
+++ b/crn/packages/xdisorg.scm
@@ -0,0 +1,29 @@
+(define-module (crn packages xdisorg)
+ #:use-module (crn packages)
+ #:use-module (gnu packages)
+ #:use-module ((gnu packages xdisorg) #:prefix gpx:)
+ #:use-module (guix download)
+ #:use-module (guix gexp)
+ #:use-module (guix packages))
+
+;; (define-public rofi
+;; (package
+;; (inherit gpx:rofi)
+;; (version "1.7.5")
+;; (source (origin
+;; (method url-fetch)
+;; (uri (string-append "https://github.com/davatorium/rofi/"
+;; "releases/download/"
+;; version "/rofi-" version ".tar.xz"))
+;; (sha256
+;; (base32
+;; "138c4bl60p7namsb2pk8q5cdlxbdkli7zny192vk5jv5s5kczzya"))
+;; (snippet
+;; #~(begin
+;; ;; Delete pre-generated files.
+;; (for-each delete-file
+;; (list "lexer/theme-lexer.c"
+;; "lexer/theme-parser.c"
+;; "lexer/theme-parser.h"
+;; "resources/resources.c"
+;; "resources/resources.h"))))))))