wlclock-start/wlclock-start.sh

33 lines
707 B
Bash
Raw Normal View History

#!/usr/bin/bash
2024-01-30 12:23:29 +01:00
Version="1.0"
Usage_jaaj="
wlclock-start [PARAMETTER]
PARAMETTER
-h, --help Print this help and quit
-v, --version Print the version and quit
2024-01-30 12:23:29 +01:00
"
for i in $@; do
case "$i" in
"-h" | "--help")
echo "$Usage_jaaj"
exit 0
;;
"-v" | "--version")
echo "$Version"
exit 0
;;
*)
echo "Error, arg $i not find."
echo "$Usage_jaaj"
exit 127
;;
esac
done
wlclock --layer bottom --position bottom-left --margin 0 0 82 185 --background-colour "#ffffff00" --border-colour "#00000000" --clock-colour "#00ffff" --hand-width 4