✨ Added good quality of life espanso alias
This commit is contained in:
parent
9097435d4f
commit
80969729f6
3 changed files with 22 additions and 0 deletions
12
scripts/commons
Executable file
12
scripts/commons
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ "$#" -eq 0 ]]; then
|
||||
$BROWSER "https://commons.wikimedia.org/?useskin=vector"
|
||||
else
|
||||
search=""
|
||||
for i in "$@"; do
|
||||
search="+${i}"
|
||||
done
|
||||
search="${search:1}"
|
||||
$BROWSER "https://commons.wikimedia.org/w/index.php?search=${search}&title=Special%3AMediaSearch&fulltext=Search&useskin=vector"
|
||||
fi
|
||||
6
scripts/scrpt
Executable file
6
scripts/scrpt
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
filename=$1
|
||||
touch "$filename"
|
||||
chmod +x "$filename"
|
||||
echo "#!/usr/bin/env bash" >> "$filename"
|
||||
Loading…
Add table
Add a link
Reference in a new issue