summaryrefslogtreecommitdiff
path: root/awesome/rc.lua
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-04-25 19:05:24 -0500
committerzachir <zachir@librem.one>2023-04-25 19:05:24 -0500
commit6898f2fca2a64a262866ef70b432641bb8d1548c (patch)
tree2c76f0473a88016b31f2761122a14b9f669cf5f2 /awesome/rc.lua
parent1ea271f30039f3e411e2553b6e8d2a7e5c760b4a (diff)
Don't expect geo to exist in awesome rc.lua scratchpad cmds
Diffstat (limited to 'awesome/rc.lua')
-rw-r--r--awesome/rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua
index 7ae5a5e..70f6329 100644
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -136,7 +136,7 @@ function terminal_sp_cmd (spc, cmd, geo)
else
cl = ""
end
- if gflag then
+ if gflag and geo then
gl = " " .. gflag .. " " .. geo
else
gl = ""