bin: add linkurl and calculator shortcut

This commit is contained in:
xeruf 2021-09-29 18:38:34 +02:00
parent e535bb0420
commit 8b62dbb677
2 changed files with 12 additions and 0 deletions

7
.local/bin/scripts/= Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
IFS=' '
calc="${*//p/+}"
calc="${calc//./}"
calc="${calc//,/.}"
calc="${calc//x/*}"
bc -l <<<"scale=10;$calc"

5
.local/bin/scripts/linkurl Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
echo "[Desktop Entry]
Icon=text-html
Type=Link
URL=$1">${2:-$1}.desktop