mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-08 10:06:49 -05:00
opt: spawn_on_empty and toggle_named_scratchapd use spawn_shell
This commit is contained in:
parent
6146b1a3b6
commit
e06dd6ed67
1 changed files with 2 additions and 2 deletions
|
|
@ -808,7 +808,7 @@ int spawn_on_empty(const Arg *arg) {
|
|||
return 0;
|
||||
} else {
|
||||
view(arg, true);
|
||||
spawn(arg);
|
||||
spawn_shell(arg);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -1091,7 +1091,7 @@ int toggle_named_scratchpad(const Arg *arg) {
|
|||
|
||||
if (!target_client && arg->v3) {
|
||||
Arg arg_spawn = {.v = arg->v3};
|
||||
spawn(&arg_spawn);
|
||||
spawn_shell(&arg_spawn);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue