all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: "53274@debbugs.gnu.org" <53274@debbugs.gnu.org>
Subject: [bug#53274] [PATCH 1/2] gnu: rofi: Add a search path for plugins.
Date: Fri, 14 Jan 2022 23:20:19 +0000	[thread overview]
Message-ID: <hwDiLlvqfI72qMdNFijL9NP7mIgZuNM1lpRWhFNJtUuk3Rj529WFuY00Q5OVMAX1z1HnMNsI1ZGJ8C0uLm7bRPlUi90vnG2w3Bn3JUVe7R0=@protonmail.com> (raw)
In-Reply-To: <0TXkuQadzYQwj-0foNplpHZWW0BgPOtSnJ8rkZVBv41Y9wyWOIk4unT9d9nomiuoVcvoKK_P5JiXVvUNb7gIcJ-ro1jWuisYB8eEKxnbWGM=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-rofi-Add-a-search-path-for-plugins.patch --]
[-- Type: text/x-patch; name=0001-gnu-rofi-Add-a-search-path-for-plugins.patch, Size: 1275 bytes --]

From bae5766b9c3eff33aa6ec069936e919cfe079f19 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Fri, 14 Jan 2022 17:28:54 -0500
Subject: [PATCH 1/2] gnu: rofi: Add a search path for plugins.

* gnu/packages/xdisorg.scm (rofi)[native-search-paths]: Add ROFI_PLUGIN_PATH.
---
 gnu/packages/xdisorg.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 74a6ea38b8..65cb1c947c 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -52,6 +52,7 @@
 ;;; Copyright © 2021 ikasero <ahmed@ikasero.com>
 ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1718,6 +1719,11 @@ (define-public rofi
            xcb-util-cursor
            xcb-util-wm
            xcb-util-xrm))
+    (native-search-paths
+     ;; This is where rofi will search for plugins by default.
+     (list (search-path-specification
+            (variable "ROFI_PLUGIN_PATH")
+            (files '("lib/rofi")))))
     (arguments
      `(#:parallel-tests? #f             ; fails in some circumstances
        #:phases
-- 
2.34.0


  reply	other threads:[~2022-01-14 23:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-14 23:18 [bug#53274] [PATCH 0/2] Add rofi ROFI_PLUGIN_PATH search-path and rofi-calc John Kehayias via Guix-patches via
2022-01-14 23:20 ` John Kehayias via Guix-patches via [this message]
2022-01-14 23:22 ` [bug#53274] [PATCH 2/2] gnu: Add rofi-calc John Kehayias via Guix-patches via
2022-01-23 22:26 ` bug#53274: [PATCH 0/2] Add rofi ROFI_PLUGIN_PATH search-path and rofi-calc Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hwDiLlvqfI72qMdNFijL9NP7mIgZuNM1lpRWhFNJtUuk3Rj529WFuY00Q5OVMAX1z1HnMNsI1ZGJ8C0uLm7bRPlUi90vnG2w3Bn3JUVe7R0=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=53274@debbugs.gnu.org \
    --cc=john.kehayias@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.