From c227ad68f4fc0ab0fccdfe38e17e8997fce55950 Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Fri, 12 Jan 2024 17:38:29 +0100 Subject: [PATCH] add keybind to view them all --- modules/home/hyprland/config.nix | 2 +- modules/home/scripts/default.nix | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 5f97911..1c32b38 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -133,7 +133,7 @@ in # ---------------------------------------------------------------- # show keybinds list - bind = $mainMod, F1, exec, ~/.config/hypr/keybind + bind = $mainMod, F1, exec, show-keybinds # keybindings bind = $mainMod, Return, exec, kitty diff --git a/modules/home/scripts/default.nix b/modules/home/scripts/default.nix index 22d2d1b..83d5b78 100644 --- a/modules/home/scripts/default.nix +++ b/modules/home/scripts/default.nix @@ -19,6 +19,8 @@ extract = pkgs.writeScriptBin "extract" (builtins.readFile ./scripts/extract.sh); shutdown-script = pkgs.writeScriptBin "shutdown-script" (builtins.readFile ./scripts/shutdown-script.sh); + + show-keybinds = pkgs.writeScriptBin "show-keybinds" (builtins.readFile ./scripts/keybinds.sh); in { home.packages = with pkgs; [ wall-change @@ -41,5 +43,7 @@ in { extract shutdown-script + + show-keybinds ]; }