oxwm

https://git.tonybtw.com/oxwm.git git://git.tonybtw.com/oxwm.git

Change test-config to use spawn_terminal

Commit
8d7d57ff464190db5944f22a1336af026a2693c2
Parent
6d25131
Author
Zif <Zif>
Date
2025-12-16 20:10:13

Diff

diff --git a/resources/test-config.lua b/resources/test-config.lua
index 7f6ab4a..15e0468 100644
--- a/resources/test-config.lua
+++ b/resources/test-config.lua
@@ -60,9 +60,9 @@ oxwm.bar.set_scheme_selected(colors.cyan, colors.bg, colors.purple)
 oxwm.key.chord({
     { { modkey }, "Space" },
     { {},         "T" }
-}, oxwm.spawn("st"))
+}, oxwm.spawn_terminal())
 
-oxwm.key.bind({ modkey }, "Return", oxwm.spawn("st"))
+oxwm.key.bind({ modkey }, "Return", oxwm.spawn_terminal())
 oxwm.key.bind({ modkey }, "D", oxwm.spawn({ "sh", "-c", "dmenu_run -l 10" }))
 oxwm.key.bind({ modkey }, "S", oxwm.spawn({ "sh", "-c", "maim -s | xclip -selection clipboard -t image/png" }))
 oxwm.key.bind({ modkey }, "Q", oxwm.client.kill())