configuration form the arch linux stored
This commit is contained in:
12
rofi/scripts/scholar-search.sh
Executable file
12
rofi/scripts/scholar-search.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
query=$( (echo ) | rofi -dmenu -i -lines 0 -matching fuzzy -location 0 -p " " )
|
||||
|
||||
if [[ -n "$query" ]]; then
|
||||
url=https://scholar.google.com/scholar?q=$query
|
||||
xdg-open "$url"
|
||||
else
|
||||
exit
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user