diff --git a/README.md b/README.md index 2026fcc..2140558 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@
git clone https://github.com/ztpnk/gotify-dunst && cd gotify-dunst
-2. Create a python venv `python3 -m venv .env`
-3. Install python requirements
-./.env/bin/pip install -r requirements.txt
-4. Change the domain and token in main.py
-5. Test if it runs
-./.env/bin/python main.py
-6. Customize the gotify-dunst.service and copy it to /etc/systemd/system
-7. Start and enable the Systemd Unit
-sudo systemd start gotify-dunst && sudo systemd enable gotify-dunst
+### Debian (Ubuntu, Mint, etc.)
+
+```bash
+sudo apt install git make libnotify-bin python3-websocket
+git clone https://github.com/ztpnk/gotify-dunst
+cd gotify-dunst
+sudo make install
+```
+
+### Arch (Manjaro)
+
+```bash
+sudo pacman -Syu make git libnotify python-websocket-client
+git clone https://github.com/ztpnk/gotify-dunst
+cd gotify-dunst
+sudo make install
+```
+
+## Usage
+
+1. Run `systemctl --user enable --now gotify-dunst.service` (**no sudo**)
+2. Open `~/.config/gotify-dunst/gotify-dunst.conf` in your favorite text editor. Modify the domain to your instance of Gotify and modify the token to a client token you get from the Gotify web app.
+3. Run `systemctl --user restart gotify-dunst.service`.
+4. (optionally) You can check the status of the service with `systemctl --user status gotify-dunst.service`.