Installation
python -m pip install alarmix
⚠️ MPV must be installed and accessible ⚠️
At first, you need to start alarmd daemon:
# Run alarmd-server as a daemon
alarmd -s "path/to/sound/to/play" -d
# To kill it you need to run
alarmd kill
# Of course you can see help
alarmd -h
Then you can manage your alarms with alarmc command.
alarmc # Show scheduled alarms for today
alarmc -f # Show all scheduled alarms
alarmc stop # Stop buzzing alarm
alarmc add 20:00 19:30 14:00 # Add alarms
alarmc add +30 +2:40 # Add alarms with relative time
alarmc delete 20:00 # Remove alarm from schedule
alarmc
alarmc -h # Show help
Also alarmc can display information about your schedule in different formats:
➜ ~ alarmc # Default schedule information
+------------+----------------+
| alarm time | remaining time |
+------------+----------------+
| 09:30:00 | 9:01:28 |
+------------+----------------+
➜ ~ alarmc -r # Raw data without table formatting (separated by '\t' character)
alarm time remaining time
09:30:00 9:00:43
➜ ~ alarmc -w # Show "When" column
+------------+----------------+----------+
| alarm time | remaining time | when |
+------------+----------------+----------+
| 09:30:00 | 8:58:58 | weekdays |
+------------+----------------+----------+
➜ ~ alarmc -c # Show "Cancelled" column
+------------+----------------+-----------+
| alarm time | remaining time | cancelled |
+------------+----------------+-----------+
| 09:30:00 | 8:57:35 | False |
+------------+----------------+-----------+
# All options can be combined
➜ ~ alarmc -rwc
alarm time remaining time when cancelled
09:30:00 8:58:15 weekdays False
Metadata
Release files for alarmix 0.8.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| alarmix-0.8.11.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alarmix-0.8.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.3 kB
Release files / alarmix-0.8.11.tar.gz
| Download URL | alarmix-0.8.11.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3a16973b329079aa58f51ec69df2e894ccfbbf433d715bfec84569bdf3a226a
|
|
BLAKE2b-256 checksum How to use checksums |
8a37880caddff8e73d821a15c8dc651df5f6e4a7f8b2ab14e87dfdaf010e7052
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-1032-azure
|
Release files / alarmix-0.8.11-py3-none-any.whl
| Download URL | alarmix-0.8.11-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7dc7c47a88ead8830ebb53096312db1f006b6f783228f968d23d4bd0f4ba507
|
|
BLAKE2b-256 checksum How to use checksums |
bc4cc8d51351835e64def87db9f207a08893b034817ae7eda7ccdf89ee83de6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-1032-azure
|