chezmoi/dot_config/polybar/polybar-scripts/polybar-scripts/info-xampp
2020-07-13 14:31:48 +02:00
..
screenshots Started move to chezmoi managed .dotfiles. 2020-07-13 14:31:48 +02:00
info-xampp.sh Started move to chezmoi managed .dotfiles. 2020-07-13 14:31:48 +02:00
README.md Started move to chezmoi managed .dotfiles. 2020-07-13 14:31:48 +02:00

Script: info-xampp

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

info-xampp

Configuration

You may need to add 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