Add 'legitlink' script and remove unused 'rofi-keepassxc'
This commit is contained in:
parent
4308e0452c
commit
1c27b60514
16
.local/bin/scripts/legitlink
Executable file
16
.local/bin/scripts/legitlink
Executable 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!"
|
@ -1 +0,0 @@
|
|||||||
/home/samedamci/dev/rofi-keepassxc/rofi-keepassxc
|
|
Loading…
x
Reference in New Issue
Block a user