Litle changes.

This commit is contained in:
#root_informatica 2023-10-28 00:03:51 -03:00
parent 286bfb1a9a
commit e93aed5a4e
3 changed files with 5 additions and 6 deletions

View file

@ -11,8 +11,8 @@ RID=$(lsw -r) # root widnow id
BID=$(lsw -o) # bachground window id
RW=$(wattr w $RID) # root width
RH=$(wattr h $RID) # root height
SW=$((RW - 2 * BW)) # usable screen width
SH=$((RH - 2 * BW)) # usable screen height
SW=$((RW - 2 * BW)) # usable screen width
SH=$((RH - 2 * BW)) # usable screen height
# send windows to background
background() {
@ -20,7 +20,7 @@ background() {
chwso -l $FW # put on bottom in window stack order
wtp 0 0 $SW $SH $FW # fullsize
ignw -s $FW # ignore focused window
chwb -c 000000 $FW # change border color to ignore
chwb -c $BC $FW # change border color to ignore
wms_mainrole.sh -p # focus prev window
}
@ -39,4 +39,3 @@ if [ -n "$BID" ]; then
else
background
fi

View file

@ -1,6 +1,6 @@
#!/bin/sh
. $HOME/.config/wms/wms_var
. /tmp/wms_var
FONT=$(cat .Xresources | grep XTerm.faceName | cut -d ' ' -f 2)

View file

@ -18,7 +18,7 @@ wid) window id
EOF
}
# docus next window in server's window stack order
# focus next window in server's window stack order
next() {
wid=$(lsw | grep -v $FW | sed '1 p;d')
chwso -r $wid