hyprland: edit config shortcut

This commit is contained in:
NullBite 2024-04-22 16:49:46 -04:00
parent 3e1b60d7c3
commit b17bc19cfd
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -298,7 +298,12 @@ in
"$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")
("$mod, slash, exec, ${terminal} -e ${pkgs.neovim}/bin/nvim '+set nomodifiable' '+noremap q :q<CR>' "
+ lib.escapeShellArg (args.vars.self.outPath + "/home/sessions/hyprland/default.nix"))
# edit this file
("$mod SHIFT, slash, exec, ${terminal} -e ${pkgs.neovim}/bin/nvim "
+ lib.escapeShellArg (config.nixfiles.path + "/home/sessions/hyprland/default.nix"))
];
# repeat, ignore mods