wlclock-start/wlclock-start.sh
2024-01-30 11:31:41 +00:00

32 lines
707 B
Bash
Executable file

#!/usr/bin/bash
Version="1.0"
Usage_jaaj="
wlclock-start [PARAMETTER]
PARAMETTER
-h, --help Print this help and quit
-v, --version Print the version and quit
"
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