chore(wm): Fix hyprland keybinds
This commit is contained in:
parent
db861d807a
commit
2c218306b9
6 changed files with 25 additions and 18 deletions
|
|
@ -6,7 +6,7 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
defaultWmConf = import ../../lib/wm.nix {inherit lib;};
|
||||
defaultWmConf = import ../../lib/wm.nix;
|
||||
in {
|
||||
options.mods.niri = {
|
||||
enable = lib.mkOption {
|
||||
|
|
@ -66,7 +66,10 @@ in {
|
|||
|> lib.strings.concatStringsSep "";
|
||||
mkNiriArg = args:
|
||||
if args != []
|
||||
then "\"${(lib.strings.concatStringsSep " " args)}\""
|
||||
then let
|
||||
concatCommand = lib.strings.concatStringsSep " " args;
|
||||
validCommand = builtins.replaceStrings [''"''] [''\"''] concatCommand;
|
||||
in "\"${validCommand}\""
|
||||
else "";
|
||||
mkNiriCommand = bind: let
|
||||
args = bind.args or [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue