commit 608a17e

hovercats  ·  2023-01-16 18:51:17 +0000 UTC
parent abeadbb
fullscreen: nits. focus.sh has been renamed focus
1 files changed,  +3, -3
+3, -3
 1@@ -2,7 +2,7 @@
 2 #
 3 # z3bra - 2014 (c) wtfpl
 4 # toggle the fullscreen state of a window
 5-# depends on: focus.sh
 6+# depends on: focus
 7 
 8 # this file is used to store the previous geometry of a window
 9 FSFILE=${FSFILE:-~/.fwin}
10@@ -33,9 +33,9 @@ else
11     # geometry and id to $FSFILE we also remove any border from this window.
12     wattr xywhi $1 > $FSFILE
13     chwb -s 0 $1
14-    wtp $(wattr xywh `lsw -r`) $1
15+    wtp $(wattr xywh $(lsw -r)) $1
16 fi
17 
18 # now focus the window, and put it in front, no matter which state we're in, and
19 # put the cursor on its bottom-right corner (for consistency)
20-focus.sh $1
21+focus $1