From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qP0BOiPlOWMYpQAAbAwnHQ (envelope-from ) for ; Sun, 02 Oct 2022 21:23:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UEjxOSPlOWOyoAAAauVa8A (envelope-from ) for ; Sun, 02 Oct 2022 21:23:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A73AA8918 for ; Sun, 2 Oct 2022 21:23:14 +0200 (CEST) Received: from localhost ([::1]:46632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1of4YT-0002Vw-So for larch@yhetil.org; Sun, 02 Oct 2022 15:23:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of4YN-0002Vn-TM for guix-patches@gnu.org; Sun, 02 Oct 2022 15:23:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1of4YI-0005ns-Ab for guix-patches@gnu.org; Sun, 02 Oct 2022 15:23:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1of4YH-0001Nr-Vf for guix-patches@gnu.org; Sun, 02 Oct 2022 15:23:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58179] [PATCH] gnu: Add rofi-switch-browser-tabs. References: <87edvuynaw.fsf@ngraves.fr> In-Reply-To: <87edvuynaw.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 02 Oct 2022 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58179 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 58179@debbugs.gnu.org Received: via spool by 58179-submit@debbugs.gnu.org id=B58179.16647385715289 (code B ref 58179); Sun, 02 Oct 2022 19:23:01 +0000 Received: (at 58179) by debbugs.gnu.org; 2 Oct 2022 19:22:51 +0000 Received: from localhost ([127.0.0.1]:48090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1of4Y7-0001NE-FL for submit@debbugs.gnu.org; Sun, 02 Oct 2022 15:22:51 -0400 Received: from 6.mo582.mail-out.ovh.net ([87.98.177.69]:54897) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1of4Y4-0001N5-OE for 58179@debbugs.gnu.org; Sun, 02 Oct 2022 15:22:50 -0400 Received: from player734.ha.ovh.net (unknown [10.110.171.31]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 559222302D for <58179@debbugs.gnu.org>; Sun, 2 Oct 2022 19:22:47 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player734.ha.ovh.net (Postfix) with ESMTPSA id E751A2F0A8C27 for <58179@debbugs.gnu.org>; Sun, 2 Oct 2022 19:22:46 +0000 (UTC) X-OVh-ClientIp: 213.44.161.47 Date: Sun, 02 Oct 2022 21:22:46 +0200 Message-ID: <87r0zqvxmh.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 16503159363660735006 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeehjedgudefjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvufffkfggtgfgsehtqhertddttdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepledtffejieegvdejuefgiedtkefggfelkeeltddtheegtdelffeiveetieetleegnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeefgedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehkedujeelseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedv X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664738595; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=PUFE2026GPezENCq53SD9wBzNOaPSmJfsjwwBmfTs68=; b=r66kXRzMQykzxWgbYGwa/YuJhCI8ywn+R056rE8e+VpxxZl8pswhmWcq48GenBtnnUqdUl 1Vf/togeeVLVTBAHiMMYVy2z5QhwT7+h0ldDOWJrkGBg9+j9QHCGmaTQTQjJZavsIKvePU +mv60Eso0WY48lOmv4uACCRjTBU8k/ajO0E0Os0sxtnr9L0lJ0qoumIzW81vE/o+/fIpVe 6MIE5So/M+Nn+HDMNAlahxduLkRdr0dyKDNhzpgA+t6Z/MM8JFdrc+z8kVpzaJpflYW20p ocZ7Vb7dwkIA3mbOanZl8cJp90FzuW3F8xZcIC2X8OxJ0DmEOTOfwv4tIn4FgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664738595; a=rsa-sha256; cv=none; b=hYM7w3ZFxI48Dj7S5D6uwxR8zm6+TuLqfD7l+lstRgZunSlBHdvljX4QleplG5s/wtIpCk IpX0K1HoIVrEqjdtjIrBrPYrkJiAHyLunTWtD5v0KbBm+pdBOzrxuhzk8rkd4oAmKWtUrB ymH3mBgh0Izvx+NiqUo11QQF8XJ3E4WKdyhojCnRI8U1DLJsGmoZqS0Ocu2W71Xf125zs9 wvehzSRK8hv1Lj9sjExWlhq4ZSZ3DTmZ2vslHVosu5gmCDtatET+m5U72pEURpkFaWIw9L qMtCH42NleJfUQFBdkrAfP7qN+eh8E6AQgNP9TAlNaqXYP5+ZcNS6HS/vxRyGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.84 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A73AA8918 X-Spam-Score: -2.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: YrnN5ALhduhy * gnu/packages/xdisorg.scm (rofi-switch-browser-tabs): New variable. --- gnu/packages/xdisorg.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 9908f29191..e8c201f375 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -56,6 +56,7 @@ ;;; Copyright =C2=A9 2022 Jai Vetrivelan ;;; Copyright =C2=A9 2022 Derek Chuank ;;; Copyright =C2=A9 2022 Wamm K. D. +;;; Copyright =C2=A9 2022 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -126,6 +127,7 @@ (define-module (gnu packages xdisorg) #:use-module (gnu packages sphinx) #:use-module (gnu packages tcl) #:use-module (gnu packages terminals) + #:use-module (gnu packages wget) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (gnu packages) @@ -1905,6 +1907,38 @@ (define-public rofi-calc natural language input and provide results.") (license license:expat))) +(define-public rofi-switch-browser-tabs + (let* ((commit "e1516cc2cb824fb9bdfe45680429e36d6e3789c5") + (revision "0")) + (package + (name "rofi-switch-browser-tabs") + (version (git-version "0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nicolas-graves/rofi-switch-browser= -tabs") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15r3ajf60vgirrlapqf10xlklmwpj4k39sii9ji6djm16anpqwsm"))= )) + (build-system copy-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'install 'exe + (lambda _ (chmod "switch-browser-tabs" #o555)))) + #:install-plan + (list '("switch-browser-tabs" "bin/")))) + (propagated-inputs (list wget jq)) + (home-page "https://github.com/nicolas-graves/rofi-switch-browser-ta= bs") + (synopsis "Use rofi to switch between browser tabs") + (description "This packages provides a simple rofi mode to switch be= tween +tabs in Chromium-based browsers. Once installed, just run your browser wi= th +@code{--remote-debugging-port=3D9222} and use +@code{rofi -modi 'switch-tabs:switch-browser-tabs' -show switch-tabs}.") + (license license:expat)))) + (define-public tint2 (package (name "tint2") -- 2.37.3 Sorry for the double send. In a few words, I forked the project and made it work with minimal changes without node-chrome-remote-interface. The first commits aren't useful for this final package anymore, although they are correct and could still be added if wanted. -- Best regards, Nicolas Graves