https://github.com/dotdot0/polybar-warp
Cloudfare Warp status module for polybar
https://github.com/dotdot0/polybar-warp
Last synced: 10 days ago
JSON representation
Cloudfare Warp status module for polybar
- Host: GitHub
- URL: https://github.com/dotdot0/polybar-warp
- Owner: dotdot0
- Created: 2023-11-19T10:13:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-19T10:40:04.000Z (over 1 year ago)
- Last Synced: 2025-02-22T21:26:50.864Z (5 months ago)
- Language: Shell
- Size: 1.38 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# polybar-warp
This polybar module show the current status of Cloudflare Warp VPN

## Dependencies
- [warp-cli](https://developers.cloudflare.com/warp-client/get-started/linux/) - To connect and disconnect to warp and get current status
- [nerd-fonts](https://www.nerdfonts.com/) - Download a nerd font## Setup
- Download warp.sh file and paste the contents of example.ini in your config.ini
```sh
#Configure the displayed message
if [ "$STATUS" = "$OUTPUT" ]; then
echo " WARP"
else
echo " WARP"
fi
```- Add the following lines in your config.ini
```ini
[module/warp]
type = custom/script
exec = "path to warp.sh"
```