Skip to content

Latest commit

 

History

History
78 lines (44 loc) · 1.71 KB

buzz.sh.pod

File metadata and controls

78 lines (44 loc) · 1.71 KB

NAME

buzz.sh - displays a predefined message at a given time

SYNOPSIS

buzz.sh time

OPTIONS

time absolute or relative time, as required by at(1) :
H day-part
HH:MM [month-name DD [YY[YY]]]
HH:MM DD.MM.YY
now + count time-unit

DESCRIPTION

Schedules an at(1) job to pop up a message using various commands.

Currently the following commands are supported : xmessage(1), Xdialog(1), kdialog(1), gdialog(1), zenity(1), yad(1), gxmessage(1), gtkdialog(1), xterm(1), eterm(1), aterm(1), terminal(1), konsole(1), vte(1), rxvt(1), gnome-terminal(1). If none of the commands is found, the message be simply written to stdout, letting the daemon to deliver it to the local mailbox.

This script was optimized for simplicity, there is no explicit configuration. However the order of checking for the above commands and the predefined message can be easily modified in the script itself.

ENVIRONMENT

DISPLAY

The value of the current DISPLAY is set for the job. If not set, displaying the message by the atd(8) will probably fail.

SEE ALSO

bash(1), at(1); xmessage(1), Xdialog(1), kdialog(1), gdialog(1), zenity(1), yad(1), gxmessage(1), gtkdialog(1), xterm(1), eterm(1), aterm(1), terminal(1), konsole(1), vte(1), rxvt(1), gnome-terminal(1)

TO DO

Add more commands to display the messages.

Better configuration for the currently used commands.

BUGS

No bugs until now. Found bugs can be reported to the author.

COPYRIGHT

Use it healthy.

AUTHOR

Feherke