Created
July 23, 2025 02:36
-
-
Save MrPowerGamerBR/a6fab8cf9e66c169d1c2330cc10e3ddc to your computer and use it in GitHub Desktop.
A script that converts the x.com link in the clipboard to vxtwitter.com (KDE Plasma + Wayland)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| CLIPBOARD_CONTENT=$(wl-paste) | |
| REPLACED=${CLIPBOARD_CONTENT/x.com/vxtwitter.com} | |
| echo $REPLACED | |
| wl-copy $REPLACED | |
| kdialog --title "x.com to vxtwitter.com converter" --passivepopup $REPLACED 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment