Setting alarm from commandline

2021-11-08

Alarm · Cmdline · Commandline · Gnome · Linux

1 minute

This is just a quick one.

Although I use Gnome Clocks occassionally, most of the time I set an alarm via the commandline.

# OS is POP_OS!, using VLC:
$ sleep 10m && \
  cvlc ~/alarm.mp3 --play-and-exit && \
  notify-send 'alarm done'