From 561e17f615d8f396246c8187452c2dbe1988a885 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 20 Mar 2024 17:27:17 +0000 Subject: [PATCH] Add bind to open wiki.hyprland.org with current version number --- home/hyprland/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 7ecca4e8..ac6efb49 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -271,6 +271,9 @@ btm_args = "--autohide_time --battery --celsius --enable_cache_memory --enable_gpu_memory --group --hide_avg_cpu --hide_table_gap --retention=3m --show_table_scroll_position"; in [ # 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/$(hyprctl version -j | ${pkgs.jq}/bin/jq $args.commit | ${pkgs.gnused}/bin/sed s/v// | ${pkgs.gnused}/bin/sed s/\\\"//g)\"" + "SUPER, F1, exec, ${pkgs.hyprlock}/bin/hyprlock" "SUPER, Q, killactive," "SUPER SHIFT, Q, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show powermenu -modi powermenu:${pkgs.rofi-power-menu}/bin/rofi-power-menu"