dotfiles/scripts/toggle.sh

7 lines
118 B
Bash
Raw Normal View History

2024-05-24 00:20:58 +02:00
if [[ $(pgrep gpu-screen-reco) ]]; then
~/.config/scripts/stop_replay.sh
else
~/.config/scripts/start_replay.sh
fi