bin: add linkurl and calculator shortcut
This commit is contained in:
parent
e535bb0420
commit
8b62dbb677
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
IFS=' '
|
||||
calc="${*//p/+}"
|
||||
calc="${calc//./}"
|
||||
calc="${calc//,/.}"
|
||||
calc="${calc//x/*}"
|
||||
bc -l <<<"scale=10;$calc"
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
echo "[Desktop Entry]
|
||||
Icon=text-html
|
||||
Type=Link
|
||||
URL=$1">${2:-$1}.desktop
|
Loading…
Reference in New Issue