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 eFtgIbz3NWOyaQEAbAwnHQ (envelope-from ) for ; Thu, 29 Sep 2022 21:53:32 +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 8HZtIbz3NWP8OQAAauVa8A (envelope-from ) for ; Thu, 29 Sep 2022 21:53:32 +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 4CD9B3B198 for ; Thu, 29 Sep 2022 21:53:32 +0200 (CEST) Received: from localhost ([::1]:38314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odzb9-0004td-HN for larch@yhetil.org; Thu, 29 Sep 2022 15:53:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odzah-0004DR-BT for guix-patches@gnu.org; Thu, 29 Sep 2022 15:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odzah-0003N3-3u for guix-patches@gnu.org; Thu, 29 Sep 2022 15:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odzag-000757-V3 for guix-patches@gnu.org; Thu, 29 Sep 2022 15:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58179] [PATCH 4/4] gnu: Add rofi-switch-browser-tabs/chromium. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Sep 2022 19:53:02 +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 Cc: ngraves@ngraves.fr Received: via spool by 58179-submit@debbugs.gnu.org id=B58179.166448117527186 (code B ref 58179); Thu, 29 Sep 2022 19:53:02 +0000 Received: (at 58179) by debbugs.gnu.org; 29 Sep 2022 19:52:55 +0000 Received: from localhost ([127.0.0.1]:39662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odzaY-00074P-G1 for submit@debbugs.gnu.org; Thu, 29 Sep 2022 15:52:54 -0400 Received: from 20.mo561.mail-out.ovh.net ([178.33.47.94]:33611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odzaT-000746-UL for 58179@debbugs.gnu.org; Thu, 29 Sep 2022 15:52:51 -0400 Received: from player772.ha.ovh.net (unknown [10.108.4.253]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 30E8122B76 for <58179@debbugs.gnu.org>; Thu, 29 Sep 2022 19:52: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 player772.ha.ovh.net (Postfix) with ESMTPSA id 037592F2EE0F8; Thu, 29 Sep 2022 19:52:45 +0000 (UTC) X-OVh-ClientIp: 213.44.161.47 Date: Thu, 29 Sep 2022 21:52:27 +0200 Message-Id: <20220929195227.11018-4-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220929195227.11018-1-ngraves@ngraves.fr> References: <20220929195227.11018-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 17838476653245752034 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeehtddgudeggecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdernecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnheptdfhfeeijeeifefgueduudejjeegkeeilefgffekvdetkedvgeduvedvhfffjeetnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeejvddrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehkedujeelseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedu 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=1664481212; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=rBf26Ohxk76Fd090sdhPNE8TD5mf7divImvYyxMO8lc=; b=e8uFKGJO3UeImGDeBQkSU4EqBoXP9R/8uz1ZAloPAdMJ2ACpaiIsrDHdJPJvNPd2GiW5zi TGYlEHzqSv3YN0scL5RZ/Lgn5vdOarA2EunyaYGP6hspNhZ5pZzX5n+ZXytQinpg10mryn Yq+XHNceilk8DllCJSe4gMdxmLgRZ1HvBVDUdhtLeNhitPu23PYX++8Z4id//e73rVOlfI r9bE/x2vKM2zojd/IEwvf+Z4O21x32LRDXqwamhOQrWauFZUrrEnnaOQ533ZD735e3CnhW sZQRyPTupJcfzNrAwlO6BuiYD2ogu23B81FVEOJw9VxUze/p43iiIesEI1kAxg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664481212; a=rsa-sha256; cv=none; b=mlWnyBYXVmbpGtcNrIKdkTRhGft+0ivqCZMkPoE3ytOy4O/UuAvDUVmDs+EzRlbmJrlZt6 Ntmozxsjwci9GAFAI7r2Jyo9GiQTYByzjwharrduLgq2opROc72gPkHaul2j19oRgvX3J2 NeGjblV7jxfHfcZvZ7Au2jvVqQtCnex7bESXOs9NIxhQDHIvGaDE6Yen4ge/fd0k+CMaJI iCtbQddsq2kAxfKVbOypc1KqRuQax3yxLdue1RxnunLnjw7Q8m2SOoMahgJkzebjRDFAdd K9/VSn8xzbphYi+nNOLBhbgQF1eCQKhUB0CEqTE7mShbAFVolPAXXA3OGGJS6Q== 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: -3.14 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: 4CD9B3B198 X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: D3eywMdROJtA * gnu/packages/xdisorg.scm (rofi-switch-browser-tabs/chromium): New variable. --- gnu/packages/xdisorg.scm | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 9908f29191..2fa12ba220 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -56,6 +56,7 @@ ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022 Derek Chuank ;;; Copyright © 2022 Wamm K. D. +;;; Copyright © 2022 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -118,6 +119,7 @@ (define-module (gnu packages xdisorg) #:use-module (gnu packages man) #:use-module (gnu packages maths) #:use-module (gnu packages ncurses) + #:use-module (gnu packages node-xyz) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -128,6 +130,7 @@ (define-module (gnu packages xdisorg) #:use-module (gnu packages terminals) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) + #:use-module (gnu packages web) #:use-module (gnu packages) #:use-module (ice-9 match)) @@ -1905,6 +1908,45 @@ (define-public rofi-calc natural language input and provide results.") (license license:expat))) +(define-public rofi-switch-browser-tabs/chromium + (let* ((commit "788cce881ba8c3891175fbbe62b9c799aa47652b") + (revision "0")) + (package + (name "rofi-switch-browser-tabs-chromium") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kevinmorio/rofi-switch-browser-tabs") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0m4vldx9k6wxx7s7zkkwbj11r7vckvdky8fypf73qzmgl0yn4vmi")) + ;; The firefox version is strongly outdated. + ;; Firefox and firefox-based browsers will soon (and partially do) + ;; support this feature using this same package. + ;; Not working for firefox v105.0 + (modules '((guix build utils))) + (snippet '(delete-file-recursively "firefox-switch-tabs")))) + (build-system copy-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'install 'chmod + (lambda _ + (chmod "chrome-switch-tabs/chrome-switch-tabs" #o555)))) + #:install-plan + (list '("chrome-switch-tabs/chrome-switch-tabs" "bin/")))) + (propagated-inputs (list jq node-chrome-remote-interface)) + (home-page "https://github.com/kevinmorio/rofi-switch-browser-tabs") + (synopsis "Use rofi to switch between browser tabs") + (description "This packages provides a simple rofi mode to switch between +tabs in Chromium-based browsers. It also has experimental support for +firefox-based browsers. Once installed, simply run +@code{rofi -modi 'chrome:chrome-switch-tabs' -show chrome}.") + (license license:expat)))) + (define-public tint2 (package (name "tint2") -- 2.37.3