Files
dotfiles/env/.local/scripts/clear-clipboard-history

9 lines
172 B
Bash
Executable File

#!/bin/bash
#wl-copy --clear >/dev/null 2>&1 && \
if [ -n "$WAYLAND_DISPLAY" ]; then
wl-copy --clear
fi
rm ~/.local/share/clipse/clipboard_history.json >/dev/null 2>&1