all repos — zenUtils @ 7f9a4aa11d5177cd4f3efcd359b84485408747ba

misc utilities for computing zen

add a little documentation and give a spartan default while letting '-x' flag print random hex bytes
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAl93bMYACgkQO3+8IhRO
Y5jLsBAAkTVQQzx7bpU3qVtQ3o4fGEXzbYIdb3j/LEYCaBcmk5Ib1YNNM36Npsur
8jzWawda0tgfEW4M0kMUn7u8uepWGD3WdZuIIPQAJ8wFAwgMUmpEPj2ctrxAlCTA
ocn3h2Pfr7PnvtAaEKRFi6wo6B5vCCQjY5T6qgRcYMcfLLAQp0VYKciZCF/VdipP
m3g/4Edc97m+lfrhr34bvh/7CTBxMptuiRCEDkzaJjELmI4pw1qsqBk2jNOmqLUc
x1yNusTiuhyFXk7f+N3WEgdXiUy6bUQyADDa0bxx9V5FC0/jtuIvp0IzOWy51Akk
Y2hJNNma4nxsZruaspcPjvprf9v5OAspfAmhiplfm6wUnov3+lANfZEV0cIqIMck
gaA/lfL2Uud5cB8FPHxnFyY6OYnMVEMqBDtSAZVOowMniy+JC+PmRy8NBjvMvaxk
UvfUQotjC1tOLj5rF/WDcbztUzS0GpIGH/Rhej/kYHcpfKWm8uXs+IhwxHL2bFS3
QS80W4xie3nedZnUltSGwetTmY8FwI2ZL7ukHDKs6BEIxrXDNhj9e4WVOuYmLjzs
ijiIalvy79xi4qZo2DnVXI5IJy3nEvnIk4LUGDqf9iqqLTyjRM1Ufz1CQkhl2Xzx
Cod0H7GPhptRwkq8XCu3nWRlBPv4LA9CilaM2wO3++T4f6w1xlg=
=fwi6
-----END PGP SIGNATURE-----
commit

7f9a4aa11d5177cd4f3efcd359b84485408747ba

parent

2d8eff229896fe6e8d09de54062a63d1a331a104

1 files changed, 6 insertions(+), 0 deletions(-)

jump to
M desks.shdesks.sh

@@ -6,9 +6,15 @@ # on said executor.

# copyleft 2020 Derek Stevens <drkste@zoho.com> # MIT License - do whatever you want +# if we're feeling spartan, just print a simple string for the executor if [ -z $1 ]; then + echo " >>" + +# if we pass '-x', spit a few hexadecimal bytes into the executor for eye-candy +elif [ "$1" = "-x" ]; then od -vAn -N2 -x < /dev/urandom +# otherwise switch desks else currentDeskNum=$(wmctrl -d | grep -n [*] | awk '{print $1}' | awk -F : '{print $1}') numDesks=$(wmctrl -d | wc -l)