anyrun: fix config and restore toggle behavior
terminal field still expects Option<T> wrapper (Some("ghostty")).
Restore close-or-open toggle for Super+R — with the daemon running,
`anyrun close` correctly fails when no window is open.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
76bef27ac7
commit
0519efdf01
1 changed files with 2 additions and 2 deletions
|
|
@ -292,7 +292,7 @@ in
|
|||
-- Apps
|
||||
hl.bind(mod .. " + T", hl.dsp.exec_cmd("ghostty"))
|
||||
hl.bind(mod .. " + E", hl.dsp.exec_cmd("nemo"))
|
||||
hl.bind(mod .. " + R", hl.dsp.exec_cmd("anyrun"))
|
||||
hl.bind(mod .. " + R", hl.dsp.exec_cmd("anyrun close || anyrun"))
|
||||
hl.bind(mod .. " + Q", hl.dsp.window.close())
|
||||
hl.bind(mod .. " + SHIFT + E", hl.dsp.exit())
|
||||
|
||||
|
|
@ -429,7 +429,7 @@ in
|
|||
Config(
|
||||
desktop_actions: false,
|
||||
max_entries: 8,
|
||||
terminal: "ghostty",
|
||||
terminal: Some("ghostty"),
|
||||
)
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue