diff --git a/.local/bin/scripts/= b/.local/bin/scripts/= new file mode 100755 index 0000000..713f38c --- /dev/null +++ b/.local/bin/scripts/= @@ -0,0 +1,7 @@ +#!/bin/sh +IFS=' ' +calc="${*//p/+}" +calc="${calc//./}" +calc="${calc//,/.}" +calc="${calc//x/*}" +bc -l <<<"scale=10;$calc" diff --git a/.local/bin/scripts/linkurl b/.local/bin/scripts/linkurl new file mode 100755 index 0000000..72059b9 --- /dev/null +++ b/.local/bin/scripts/linkurl @@ -0,0 +1,5 @@ +#!/bin/sh +echo "[Desktop Entry] +Icon=text-html +Type=Link +URL=$1">${2:-$1}.desktop