diff --git a/.local/bin/scripts/legitlink b/.local/bin/scripts/legitlink new file mode 100755 index 0000000..8e1f83d --- /dev/null +++ b/.local/bin/scripts/legitlink @@ -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!" diff --git a/.local/bin/scripts/rofi-keepassxc b/.local/bin/scripts/rofi-keepassxc deleted file mode 120000 index bbb0bd5..0000000 --- a/.local/bin/scripts/rofi-keepassxc +++ /dev/null @@ -1 +0,0 @@ -/home/samedamci/dev/rofi-keepassxc/rofi-keepassxc \ No newline at end of file