#!/bin/sh if [ -n "$(pgrep xray)" ]; then pkill xray notify-send "Proxy disabled" else xray -c $HOME/.config/xray/config.json & notify-send "Proxy enabled" fi