Add 'legitlink' script and remove unused 'rofi-keepassxc'

This commit is contained in:
samedamci 2020-05-11 20:37:40 +02:00
parent 26d5711577
commit b951f7b4c8
No known key found for this signature in database
GPG Key ID: FCB4A9A20D00E894
2 changed files with 16 additions and 1 deletions

16
.local/bin/scripts/legitlink Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env sh
# Script to change links to sites into cursed links looks like this URL:
# 1337.verylegit.link/RkqaouwwADpPNkd653ip-stealer_.pdf.exe
m() { rofi -dmenu -l 0 -width 50 "$@"; }
url="$(m -p "Paste URL")"
[ ! "$url" ] && exit
cursed_url="$(curl -s verylegit.link/sketchify -d long_url="$url")"
[ "$cursed_url" ] && {
echo "$cursed_url" | xclip -sel clip
notify-send "Cursed URL copied to clipboard."
} || notify-send "Error! URL has not been copied to clipboard correctly!"

View File

@ -1 +0,0 @@
/home/samedamci/dev/rofi-keepassxc/rofi-keepassxc