[rofi] Update web search with guru
This commit is contained in:
@ -297,7 +297,7 @@ bindsym Print exec --no-startup-id flameshot gui
|
||||
bindsym $mod+F6 exec --no-startup-id $qute https://15five.slack.com
|
||||
|
||||
bindsym F7 exec --no-startup-id $qute https://15five-dev.atlassian.net/secure/Dashboard.jspa
|
||||
bindsym $mod+F7 exec --no-startup-id $qute https://15five-sandbox.atlassian.net/
|
||||
bindsym $mod+F7 exec --no-startup-id $qute https://app.datadoghq.com/logs
|
||||
|
||||
bindsym F8 exec --no-startup-id $firefox https://15five.15five.com/report/current/
|
||||
bindsym $mod+F8 exec --no-startup-id $firefox
|
||||
|
||||
@ -31,6 +31,7 @@ URLS=(
|
||||
["jira"]="https://15five-dev.atlassian.net/browse/ENG-"
|
||||
["booty"]="https://thepiratebay.zone/search/"
|
||||
["search"]="https://search.unbl.ink/?q="
|
||||
["guru"]="https://app.getguru.com/search?q="
|
||||
["ebay"]="https://www.ebay.com/sch/i.html?LH_BIN=1&_nkw="
|
||||
["ffcompany"]="https://admin.cloud100.15five.com/admin/dj/company/company/"
|
||||
["ffuser"]="https://admin.cloud100.15five.com/admin/dj/ff/user/?q="
|
||||
@ -71,15 +72,7 @@ main() {
|
||||
|
||||
if [[ -n "$query" ]]; then
|
||||
URL=${URLS[$platform]}$(urlencode "$query")
|
||||
if [[ $platform = 'ffcompany' ]]; then
|
||||
surf $URL
|
||||
elif [[ $platform = 'ffuser' ]]; then
|
||||
surf $URL
|
||||
elif [[ $platform = 'ffsamlconf' ]]; then
|
||||
surf $URL
|
||||
else
|
||||
qutebrowser --target window $URL
|
||||
fi
|
||||
qutebrowser --target window $URL
|
||||
else
|
||||
exit
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user