61 lines
1.4 KiB
Markdown
61 lines
1.4 KiB
Markdown
# Reminder Script
|
|
|
|
This script allows you to set reminders from the command line on a Linux system. It uses the `notify-send` command to display pop-up notifications and the `at` command to schedule these notifications at specified times.
|
|
|
|
## Features
|
|
|
|
- Set reminders with custom messages.
|
|
- Schedule reminders for specific times or intervals.
|
|
- Display notifications as pop-ups on your desktop.
|
|
|
|
## Requirements
|
|
|
|
- `libnotify-bin` package for `notify-send` command.
|
|
- `at` command for scheduling tasks.
|
|
|
|
## Installation
|
|
|
|
1. **Clone the Repository**:
|
|
Clone this repository to your local machine:
|
|
```bash
|
|
git clone <repository-url>
|
|
cd <repository-directory>
|
|
```
|
|
|
|
2. **Install Necessary Packages**:
|
|
Ensure you have the `libnotify-bin` package installed. For Fedora, you can install it using:
|
|
```bash
|
|
sudo dnf install libnotify
|
|
```
|
|
|
|
3. **Make the Script Executable**:
|
|
Make the script executable by running:
|
|
```bash
|
|
chmod +x remind.sh
|
|
```
|
|
|
|
## Usage
|
|
|
|
- **Set a Reminder**:
|
|
Use the script to set reminders with a message and time. For example:
|
|
```bash
|
|
./remind.sh "Time to take a break" in 5 minutes
|
|
```
|
|
|
|
- **Set a Reminder for a Specific Time**:
|
|
```bash
|
|
./remind.sh "Meeting starts" at 14:00
|
|
```
|
|
|
|
- **Immediate Reminder**:
|
|
```bash
|
|
./remind.sh "Check emails" now
|
|
```
|
|
|
|
## Notes
|
|
|
|
- Ensure your desktop environment's notification system is enabled.
|
|
- The `at` command must be running on your system to schedule tasks.
|
|
|
|
|