bin: add linkurl and calculator shortcut
This commit is contained in:
parent
e535bb0420
commit
8b62dbb677
2 changed files with 12 additions and 0 deletions
7
.local/bin/scripts/=
Executable file
7
.local/bin/scripts/=
Executable 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
5
.local/bin/scripts/linkurl
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
echo "[Desktop Entry]
|
||||
Icon=text-html
|
||||
Type=Link
|
||||
URL=$1">${2:-$1}.desktop
|
Loading…
Add table
Reference in a new issue