chezmoi/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-xampp
2021-02-25 09:38:16 +01:00
..
screenshots Added links and polybar. 2020-07-14 15:19:48 +02:00
info-xampp.sh Updated polybar-scripts. 2021-02-25 09:38:16 +01:00
README.md Updated polybar-scripts. 2021-02-25 09:38:16 +01:00

Script: info-xampp

The Script prints the status of XAMPP services (Apache, MySQL, ProFTPD) if they are running.

info-xampp

Configuration

You have to add the xampp command to the /etc/sudoers NOPASSWD of your user:

user ALL=(ALL) NOPASSWD: /opt/lampp/xampp

Module

[module/info-xampp]
type = custom/script
exec = ~/polybar-scripts/info-xampp.sh
interval = 10