dotfiles/.local/bin/scripts/linkurl

6 lines
130 B
Plaintext
Raw Normal View History

#!/bin/sh
echo "[Desktop Entry]
Icon=text-html
Type=Link
2021-10-08 10:28:22 +00:00
URL=$1" >"$(test -n "$2" && echo $2 || echo $1 | cut -d'/' -f3).desktop"