This commit is contained in:
#root_informatica 2023-09-13 22:56:57 -03:00
parent 00c4b66b77
commit bce9589697

View file

@ -1,11 +1,17 @@
#!/bin/sh
. /tmp/wms_var
# check if there is variable file in /tmp for source. if it's not there, copy it
if [ -f /tmp/wms_var ]; then
. /tmp/wms_var
else
cp $HOME/.config/wms/wms_var /tmp/wms_var
. /tmp/wms_var
fi
FLAG=$1
RID=$(lsw -r) # root window id
FW=$(pfw)
WMSVAR="/tmp/wms_var"
FLAG=$1 # input
RID=$(lsw -r) # root window id
FW=$(pfw) # focused window
WMSVAR="/tmp/wms_var" # variable temporary file
usage() {
cat<<EOF
@ -14,7 +20,7 @@ wms_revalue.sh [ -b, -B, -g, -G, -m, -M, -w, -W]
-b) minimize borderwidth
-B) maximize borderwidth
-g) minimize gaps
-G) maximize gaps
-G) maximize
-m) minimize tiling master area
-M) maximize tiling master area
-w) minimize window percentage