Wednesday, October 30, 2019

GenMon: Date Script (2)

A little enhancement on the previous script to show the date using GenMon on the XFCE Panel.
The script is basically the same, but this one has a couple of benefits as well.
Here is the script:

#!/usr/bin/env bash
echo """ | "$(date +"%A %d %b %Y")""
echo """"
echo ""xterm -hold -e /usr/bin/cal""
## EoF ##

And these are the benefits:
It prints the date on the format I like (plus a pipe for separation with other indicators) but also disables popup message when mouse over it and also, when clicked, it executes an term with a calendar showing the current date and month.


Labels: , , , , , ,

0 Comments:

Post a Comment

<< Home