📝 Adjusted shortcuts and made teddit links script
This commit is contained in:
parent
55296c53b3
commit
858dc780e0
4 changed files with 19 additions and 5 deletions
|
|
@ -130,11 +130,11 @@ matches:
|
|||
replace: "ping 8.8.8.8"
|
||||
|
||||
# Prepares Odysee search
|
||||
- trigger: "!od"
|
||||
- trigger: "!ody"
|
||||
replace: "https://odysee.com/$/search?q="
|
||||
|
||||
# Prepares Quetre search
|
||||
- trigger: "!qu"
|
||||
- trigger: "!que"
|
||||
replace: "https://quetre.iket.me/search?q="
|
||||
|
||||
# Returns public ip address
|
||||
|
|
|
|||
3
aliases
3
aliases
|
|
@ -77,7 +77,7 @@ alias bluepill="neo-matrix --bold=2 -D --color=cyan --density=0.75 --charset=kat
|
|||
# alias btop="kitty -o font_size=12 -o background_opacity=0.50 -e btop; fullscreen enable"
|
||||
alias tshift='doas timeshift --delete && notify-send " Previous Backup Deleted!" && doas timeshift --create && notify-send " New Backup Created!" && doas timeshift --list'
|
||||
alias btop="bst -e btop"
|
||||
alias {librewolf,firefox}="librewolf"
|
||||
alias firefox="librewolf"
|
||||
alias tor-browser="tor-browser &"
|
||||
alias leetcode="brave https://leetcode.com/accounts/login &"
|
||||
alias gimp="gimp --no-splash"
|
||||
|
|
@ -120,6 +120,7 @@ alias {maria-cli,mariacli}="mycli"
|
|||
alias {psql-cli,psqlcli}="pgcli"
|
||||
alias rsm="doas rsm"
|
||||
alias quora="quetre"
|
||||
alias ted="teddit"
|
||||
alias updatedb="doas updatedb"
|
||||
alias iftop-w="doas iftop -i wlan0 -P"
|
||||
alias wmon="wavemon"
|
||||
|
|
|
|||
|
|
@ -130,11 +130,11 @@ matches:
|
|||
replace: "ping 8.8.8.8"
|
||||
|
||||
# Prepares Odysee search
|
||||
- trigger: "!od"
|
||||
- trigger: "!ody"
|
||||
replace: "https://odysee.com/$/search?q="
|
||||
|
||||
# Prepares Quetre search
|
||||
- trigger: "!qu"
|
||||
- trigger: "!que"
|
||||
replace: "https://quetre.iket.me/search?q="
|
||||
|
||||
# Returns public ip address
|
||||
|
|
|
|||
13
scripts/teddit
Executable file
13
scripts/teddit
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
lastarg=("${@: -1}")
|
||||
|
||||
search=""
|
||||
for ARG in "${@}" ; do
|
||||
if [[ $ARG == "${lastarg[1]}" ]] ; then
|
||||
search+="${ARG}"
|
||||
else
|
||||
search+="${ARG}+"
|
||||
fi
|
||||
done
|
||||
|
||||
links "https://teddit.pussthecat.org/r/all/search?q=${search}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue