python-clipboard-speaker

Unnamed repository; edit this file 'description' to name the repository.
git clone https://kaka.farm/~git/python-clipboard-speaker
Log | Files | Refs | README | LICENSE

clipboard-speaker-kill (196B)


      1 #!/bin/sh
      2 
      3 clipboard_speaker_directory="$HOME/.clipboard-speaker/"
      4 pid_file_path="$clipboard_speaker_directory/pid"
      5 
      6 [ -f "$pid_file_path" ] && kill "$(cat "$pid_file_path")"
      7 
      8 rm "$pid_file_path"