4a47277c86
Add systemd service to bridge the Pi Unix socket over SSH, make fan.py fall back to the TCP tunnel, and rename the module from `custom/fan` to `custom/cooling_pad`. Update README install steps and connection details.
10 lines
285 B
JSON
10 lines
285 B
JSON
{
|
|
"custom/cooling_pad": {
|
|
"return-type": "json",
|
|
"exec": "~/.config/waybar/scripts/fan.py",
|
|
"interval": 5,
|
|
"on-click": "python3 ~/.config/waybar/scripts/fan.py cycle",
|
|
"on-right-click": "python3 ~/.config/waybar/scripts/fan.py auto"
|
|
}
|
|
}
|