1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-09-19 13:57:49 +00:00
Dotfiles/.config/polybar/themes/spacefull-dracula/polybar-scripts/info-xampp/README.md
2020-09-05 14:43:37 +03:00

25 lines
469 B
Markdown

# Script: info-xampp
The Script prints the status of [XAMPP](https://www.apachefriends.org/de/index.html) services (Apache, MySQL, ProFTPD) if they are running.
![info-xampp](screenshots/1.png)
## Configuration
You have to add the `xampp` command to the `/etc/sudoers` NOPASSWD of your user:
```ini
user ALL=(ALL) NOPASSWD: /opt/lampp/xampp
```
## Module
```ini
[module/info-xampp]
type = custom/script
exec = ~/polybar-scripts/info-xampp.sh
interval = 10
```