code changes.
This commit is contained in:
parent
b066deff90
commit
6d97e652c4
|
@ -14,12 +14,17 @@ https://git.disroot.org/root_sti/nowm.git (dead at birth)
|
|||
|
||||
This one is designed to maintain and incorporate from that one, things that are essential for my workflow. Also, this must contain future experiments around the configuration of my scripts, using and taking advantage of the modification and addition of atoms in root window.
|
||||
I am learning, discovering, experimenting. This makes these scripts very volatile.
|
||||
Some of the scripts have other crap as dependencies which I have made available at:
|
||||
https://git.disroot.org/root_sti/others.git
|
||||
|
||||
**My thanks and credits to the wmutils project. I wish you luck on your way.**
|
||||
|
||||
**FEATURES:**
|
||||
|
||||
|
||||
**[wms_batlarm.sh]
|
||||
alternate color borders according to the state of the battery (only on laptops, depends on power.sh)
|
||||
|
||||
**[wms_switcher.sh]**
|
||||
switch windows with menú. (dmenu, fzfmenu, etc.)
|
||||
-next / prev / wid.
|
||||
|
|
|
@ -11,7 +11,7 @@ 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
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## use the windows on the desktop as screensavers by moving them randomly
|
||||
|
||||
. $HOME/.config/rootwm/rwm_var
|
||||
. $HOME/.config/wms/wms_var
|
||||
|
||||
INPUT=$1 # input
|
||||
FW=$(pfw) # focused window
|
||||
|
@ -25,8 +25,8 @@ wms_screensaver.sh [ -a, -f ]
|
|||
all_win() {
|
||||
while true; do
|
||||
for wid in $(lsw); do
|
||||
x=$(shur -i 0-$MAXX -n 1) # random x coordinate
|
||||
y=$(shur -i 0-$MAXY -n 1) # random y coordinate
|
||||
x=$(shuf -i 0-$MAXX -n 1) # random x coordinate
|
||||
y=$(shuf -i 0-$MAXY -n 1) # random y coordinate
|
||||
wtp $x $y $WW $WH $wid
|
||||
done
|
||||
sleep $FREQ
|
||||
|
|
Loading…
Reference in a new issue