Morgenlichtctl is a simple client for morgenlichtd, written in C. It is also currently the official one.
A package for Arch Linux is available in the AUR.
Dependencies:
- pandoc
- argtable2
Get them in Debian or it's derivatives with sudo apt-get install pandoc libargtable2-dev
.
This project uses the GNU autotools. Simply download the latest release and execute ./configure
, make
and sudo make install
in the project root to install it. Autoconf will complain if any libraries are missing.
Note that while automake does add a make uninstall
target, it would be wise for you to use checkinstall, if available.
morgenlichtctl [-hv]
-h, --help Print help and exit.
-v, --version Print version and exit.
morgenlichtctl alarm list [--csv]
--csv Use machine-readable csv format
morgenlichtctl alarm enable <ALARM>
<ALARM> The alarm to enable
morgenlichtctl alarm disable <ALARM>
<ALARM> The alarm to disable
morgenlichtctl alarm delete <ALARM>
<ALARM> The alarm to delete
morgenlichtctl alarm add <HH:MM:SS> -n <ALARM> -d DayDay [-c <COLOR>] [-s <SOUND>]
<HH:MM:SS> The ringing time
-n, --name=<ALARM> The name of the alarm
-d, --days=DayDay The weekdays at which the alarm is enabled. String of MonTueWedThuFriSatSun.
-c, --color=<COLOR> The color profile to use.
-s, --sound=<SOUND> The sound to play
morgenlichtctl set-leds R1 R2 G1 G2 B1 B2
R1 Red channel 1 value (0-255)
R2 Red channel 2 value (0-255)
G1 Green channel 1 value (0-255)
G2 Green channel 2 value (0-255)
B1 Blue channel 1 value (0-255)
B2 Blue channel 2 value (0-255)