Commit 07654935 authored by nimrod's avatar nimrod
Browse files

clear_clipped.

Whem the database for clipped gets corrupted, it needs to be deleted and
the application restarted. Script that.
parent 21292e80
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
#!/bin/sh
set -eu

if pgrep -f com.github.davidmhewitt.clipped
then
  killall com.github.davidmhewitt.clipped
fi
rm ~/.config/clipped/ClipboardStore.sqlite
com.github.davidmhewitt.clipped > /dev/null 2>&1 &