1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-12-02 03:16:50 +00:00
Dotfiles/.config/polybar/polybar-scripts/info-xampp/README.md

25 lines
469 B
Markdown
Raw Normal View History

2020-07-27 04:59:00 +00:00
# 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
```