17 lines
392 B
Text
17 lines
392 B
Text
|
#!/usr/bin/bash
|
||
|
|
||
|
# Take as $1 the position (eg. bottom-left) as $2 and $3, the y and x pos, in px.
|
||
|
|
||
|
if [ "$1" == "" ]
|
||
|
then
|
||
|
pos="top-left"
|
||
|
else
|
||
|
pos="$1"
|
||
|
fi
|
||
|
|
||
|
|
||
|
# kill all others wlclocks that are still active.
|
||
|
pkill wlclock
|
||
|
|
||
|
wlclock --layer bottom --position "$pos" --margin $2 $3 $2 $3 --background-colour "#ffffff00" --border-colour "#00000000" --clock-colour "#ffa500" --hand-width 4
|