chore(wm): Conditionally check for args

This commit is contained in:
DashieTM 2025-10-07 12:34:48 +02:00
parent 6f90f67384
commit 65e21a7d00
3 changed files with 3 additions and 3 deletions

View file

@ -69,7 +69,7 @@ in {
then "\"${(lib.strings.concatStringsSep " " args)}\""
else "";
mkNiriCommand = bind: let
inherit (bind) args;
args = bind.args or [];
in
if bind.command == "quit"
then "quit;"