small QL changes
This commit is contained in:
parent
87c59a23fe
commit
be4db3b8e2
|
@ -5,7 +5,11 @@ owm(){
|
|||
# IPINFO=$(curl -s ipinfo.io/loc)
|
||||
# LAT=$(echo $IPINFO | cut -d, -f1 | cut -d. -f1)
|
||||
# LON=$(echo $IPINFO | cut -d, -f2 | cut -d. -f1)
|
||||
CITY=$(curl -s ipinfo.io/city)
|
||||
INFO=$(curl -s ipinfo.io)
|
||||
CITY=$(echo $INFO | jq -r '.city')
|
||||
REGI=$(echo $INFO | jq -r '.region')
|
||||
COUN=$(echo $INFO | jq -r '.country')
|
||||
QUERY="$CITY, $REGI, $COUN"
|
||||
APPID="fd68c0fe7951f5ab7e24a240eb0942b8"
|
||||
|
||||
http get http://api.openweathermap.org/data/2.5/forecast\?APPID\=${APPID}\&q="${CITY}"\&units\=metric
|
||||
|
|
|
@ -224,6 +224,14 @@
|
|||
bindsym $mod+Shift+x exec musmenu delete
|
||||
bindsym $mod+Shift+s exec musmenu search
|
||||
|
||||
# }}}
|
||||
# Special Keys{{{
|
||||
|
||||
bindsym XF86Calculator exec $term ipython
|
||||
bindsym XF86Mail exec $term neomutt
|
||||
bindsym XF86Explorer exec nemo
|
||||
bindsym XF86HomePage exec xdg-open http://start.duckduckgo.com
|
||||
|
||||
# }}}
|
||||
# }}}
|
||||
# Visual: {{{
|
||||
|
|
Reference in New Issue