✨ 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
|
|
@ -152,6 +152,9 @@ matches:
|
|||
- trigger: ";<h5"
|
||||
replace: "<h5> </h5>"
|
||||
|
||||
- trigger: ";href"
|
||||
replace: '<a aria-label="" target="_blank" rel="noopener noreferrer" role="link" href=""></a>'
|
||||
|
||||
- trigger: ";<d"
|
||||
replace: '<div class=""> </div>'
|
||||
|
||||
|
|
@ -222,6 +225,7 @@ matches:
|
|||
params:
|
||||
cmd: "curl ifconfig.me ; echo ''"
|
||||
|
||||
# returns current time in US format
|
||||
- trigger: ";btime"
|
||||
replace: "{{output}}"
|
||||
vars:
|
||||
|
|
|
|||
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