#!/bin/bash ###################################################### #### #### #### Fixes the issue making Clipboard Indicator #### #### (by Tudmotu) show "Text will be here" #### #### after restarting. #### #### HoneyBadger/MH 06-26-2024 #### ###################################################### PURDYDATE=$(date +'%m-%d-%Y_%I-%M-%S%P') #Clipboard Inidcator's cache path: CACHEPATH=~/.cache/clipboard-indicator@tudmotu.com #Clipboard Indicator's cache file: CACHEFILE=registry.txt function Disable { gnome-extensions disable clipboard-indicator@tudmotu.com sleep 1 } function Enable { gnome-extensions enable clipboard-indicator@tudmotu.com } function ReplaceUTF8 { sed -i.backup_$PURDYDATE 's/UTF8_STRING/text\/plain\;charset\=utf-8/g' $CACHEPATH/$CACHEFILE } Disable ReplaceUTF8 Enable