From 255d70a5c0d5e18c76b23afc45dbfe5e780091bc Mon Sep 17 00:00:00 2001 From: Myned Date: Fri, 31 Jan 2025 07:59:20 -0600 Subject: [PATCH] search: modify niri issues shortcut Signed-off-by: Myned --- options/custom/programs/chromium.nix | 12 ++++++------ options/custom/programs/firefox.nix | 14 +++++++------- options/custom/programs/walker/search.sh | 12 ++++++------ 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/options/custom/programs/chromium.nix b/options/custom/programs/chromium.nix index f4207e2..e19584c 100644 --- a/options/custom/programs/chromium.nix +++ b/options/custom/programs/chromium.nix @@ -207,12 +207,6 @@ in { url = "https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+{searchTerms}"; } - { - name = "Niri Issues"; - shortcut = "niri"; - url = "https://github.com/YaLTeR/niri/issues?q=is%3Aissue+is%3Aopen+{searchTerms}"; - } - { name = "NixOS Options"; shortcut = "no"; @@ -237,6 +231,12 @@ in { url = "https://nixpk.gs/pr-tracker.html?pr={searchTerms}"; } + { + name = "Niri Issues"; + shortcut = "nri"; + url = "https://github.com/YaLTeR/niri/issues?q=is%3Aissue+is%3Aopen+{searchTerms}"; + } + { name = "NixOS Wiki"; shortcut = "nw"; diff --git a/options/custom/programs/firefox.nix b/options/custom/programs/firefox.nix index 9cf1ef7..cfb3c90 100644 --- a/options/custom/programs/firefox.nix +++ b/options/custom/programs/firefox.nix @@ -424,13 +424,6 @@ in { URLTemplate = "https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+{searchTerms}"; } - { - Name = "Niri Issues"; - Alias = "niri"; - IconURL = "https://github.com/favicon.ico"; - URLTemplate = "https://github.com/YaLTeR/niri/issues?q=is%3Aissue+is%3Aopen+{searchTerms}"; - } - { Name = "Nix PR"; Alias = "npr"; @@ -458,6 +451,13 @@ in { URLTemplate = "https://search.nixos.org/packages?channel=unstable&query={searchTerms}"; } + { + Name = "Niri Issues"; + Alias = "nri"; + IconURL = "https://github.com/favicon.ico"; + URLTemplate = "https://github.com/YaLTeR/niri/issues?q=is%3Aissue+is%3Aopen+{searchTerms}"; + } + { Name = "NixOS Wiki"; Alias = "nw"; diff --git a/options/custom/programs/walker/search.sh b/options/custom/programs/walker/search.sh index 35e837c..20b01bf 100644 --- a/options/custom/programs/walker/search.sh +++ b/options/custom/programs/walker/search.sh @@ -146,12 +146,6 @@ case "$1" in url="https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+" query="${1:3}" ;; - 'niri '*) - label="Niri Issues" - icon="com.github.zren.bugzilla" - url="https://github.com/YaLTeR/niri/issues?q=is%3Aissue+is%3Aopen+" - query="${1:3}" - ;; 'no '*) label="NixOS Options" icon="nix-snowflake" @@ -176,6 +170,12 @@ case "$1" in url="https://nixpk.gs/pr-tracker.html?pr=" query="${1:4}" ;; + 'nri '*) + label="Niri Issues" + icon="com.github.zren.bugzilla" + url="https://github.com/YaLTeR/niri/issues?q=is%3Aissue+is%3Aopen+" + query="${1:4}" + ;; 'nw '*) label="NixOS Wiki" icon="nix-snowflake"