fixes.
This commit is contained in:
parent
00c4b66b77
commit
bce9589697
1 changed files with 12 additions and 6 deletions
18
wms_value.sh
18
wms_value.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue