From 5e5c0783b9385aef5382b4183daf39db3b9a3432 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 14 Jan 2025 08:01:04 +0000 Subject: [PATCH] Fix version selection for bind to open hyprland wiki --- system/home/hyprland.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/home/hyprland.nix b/system/home/hyprland.nix index 895a13a1..6dcb0bfe 100644 --- a/system/home/hyprland.nix +++ b/system/home/hyprland.nix @@ -322,7 +322,7 @@ ++ [ # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Open Hyprland wiki at correct version number - "CTRL_SHIFT, H, exec, xdg-open \"https://wiki.hyprland.org/$(${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl version -j | ${pkgs.jq}/bin/jq $args.tag | ${pkgs.gnused}/bin/sed s/v// | ${pkgs.gnused}/bin/sed s/\\\"//g)\"" + "CTRL_SHIFT, H, exec, xdg-open \"https://wiki.hyprland.org/$(${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl version -j | ${pkgs.jq}/bin/jq $args.tag | ${pkgs.gnused}/bin/sed s/v// | ${pkgs.gnused}/bin/sed s/\\\"//g | ${pkgs.gnugrep}/bin/grep -Po \"[0-9]+\.[0-9]+\").0\"" "SUPER, F1, exec, ${config.programs.hyprlock.package}/bin/hyprlock" "SUPER, P, exec, ${config.programs.wlogout.package}/bin/wlogout"