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

@ -161,7 +161,7 @@ in {
bind: "${mkMods bind},${bind.key},${mkCommand bind}"
);
mkCommand = bind: let
inherit (bind) args;
args = bind.args or [];
in
if bind.command == "quit"
then "exit"