tiny repairs.
This commit is contained in:
parent
ed75143bf4
commit
2cce073ed4
1 changed files with 3 additions and 5 deletions
|
@ -10,15 +10,13 @@ CL=$(atomx WM_CL $FW) # clearrer atom
|
|||
AMW=$(lsw) # all maped windows
|
||||
UW=$(atomx WM_CL $(lsw -u)) # unmaped windows
|
||||
|
||||
|
||||
|
||||
if [ -n "$UW" ]; then # if unmaped windows
|
||||
mapw -m $UW # map them
|
||||
atomx -d WM_CL $UW # create atom
|
||||
atomx -d WM_CL $UW # delete atom
|
||||
|
||||
else # if no unmaped windows
|
||||
for wid in $(lsw); do
|
||||
atomx WM_CL=$wid $wid
|
||||
done # unmap the maped windows
|
||||
mapw -u $AMW
|
||||
done # create atom
|
||||
mapw -u $AMW # unmap windows
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue