2024-01-30 12:22:04 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
|
2024-01-30 12:23:29 +01:00
|
|
|
Version="1.0"
|
|
|
|
Usage_jaaj="
|
|
|
|
wlclock-start [PARAMETTER]
|
|
|
|
|
|
|
|
PARAMETTER
|
|
|
|
-h, --help
|
|
|
|
-v, --version
|
|
|
|
"
|
|
|
|
|
|
|
|
|
2024-01-30 12:28:38 +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
|
|
|
|
|
|
|
|
|
2024-01-30 12:22:04 +01:00
|
|
|
wlclock --layer bottom --position bottom-left --margin 0 0 82 185 --background-colour "#ffffff00" --border-colour "#00000000" --clock-colour "#00ffff" --hand-width 4
|