Add a help keybind to hyprland that opens the config

This commit is contained in:
NullBite 2024-01-22 00:24:03 +01:00
parent c163b34a2c
commit 0e1a5953fc
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -1,4 +1,4 @@
{ lib, pkgs, osConfig, ... }:
{ lib, pkgs, osConfig, ... }@args:
let
mkd = lib.mkDefault;
terminal = "${pkgs.kitty}/bin/kitty";
@ -187,6 +187,9 @@ in
# Scroll through existing workspaces with mod + scroll
"$mod, mouse_down, workspace, e+1"
"$mod, mouse_up, workspace, e-1"
# show this file (help)
("$mod, slash, exec, ${terminal} -e ${pkgs.neovim}/bin/nvim '+set nomodifiable' '+noremap q :q<CR>' " + args.vars.self.outPath + "/home/hyprland.nix")
];
bindm = [