1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

feat: Add Fedora Copr Systemd Support

- Updated distro filestructure
This commit is contained in:
purian23
2025-10-31 21:08:47 -04:00
parent 0ba982b271
commit 9c2fc570e6
5 changed files with 45 additions and 0 deletions

View File

@@ -342,6 +342,41 @@ sudo sh -c "curl -L https://github.com/AvengeMedia/dgop/releases/latest/download
A lot of options are subject to personal preference, but the below sets a good starting point for most features.
### Systemd Autostart
**Alternative to compositor-specific autostart**: If you installed DMS from the Fedora Copr repository, you can use systemd to manage DMS autostart instead of adding `dms run` to your compositor config.
**Benefits:**
- Works across all Wayland compositors (niri, Hyprland, sway, dwl, etc.)
- Centralized control via systemctl
- Automatic restart on failure
- Integrated logging via journalctl
**Enable autostart:**
```bash
systemctl --user enable dms.service
```
**Manual control:**
```bash
# Start DMS now
systemctl --user start dms.service
# Check status
systemctl --user status dms.service
# View logs
journalctl --user -u dms.service -f
# Restart DMS
systemctl --user restart dms.service
# Disable autostart
systemctl --user disable dms.service
```
**Note:** If using systemd autostart, remove `dms run` / `spawn "dms" "run"` from your compositor's configuration to avoid running DMS twice.
### niri Integration
Add to your niri config