mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 03:33:03 +03:00
feat(wego): add wego
This commit is contained in:
parent
fbed354c68
commit
5483eeb34e
2 changed files with 59 additions and 1 deletions
58
.wegorc
Normal file
58
.wegorc
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
# wego configuration
|
||||
#
|
||||
# This config has https://github.com/schachmat/ingo syntax.
|
||||
# Empty lines or lines starting with # will be ignored.
|
||||
# All other lines must look like "KEY=VALUE" (without the quotes).
|
||||
# The VALUE must not be enclosed in quotes as well!
|
||||
|
||||
# aat-frontend: Show geo coordinates (default false)
|
||||
aat-coords=true
|
||||
|
||||
# aat-frontend: Monochrome output (default false)
|
||||
aat-monochrome=false
|
||||
|
||||
# BACKEND to be used (default forecast.io)
|
||||
backend=openweathermap
|
||||
|
||||
# NUMBER of days of weather forecast to be displayed (default 3)
|
||||
days=7
|
||||
|
||||
# forecast backend: the api KEY to use (default )
|
||||
forecast-api-key=
|
||||
|
||||
# forecast backend: print raw requests and responses (default false)
|
||||
forecast-debug=false
|
||||
|
||||
# forecast backend: the LANGUAGE to request from forecast.io (default en)
|
||||
forecast-lang=en
|
||||
|
||||
# FRONTEND to be used (default ascii-art-table)
|
||||
frontend=ascii-art-table
|
||||
|
||||
# json frontend: do not indent the output (default false)
|
||||
jsn-no-indent=false
|
||||
|
||||
# LOCATION to be queried (default 40.748,-73.985)
|
||||
location=59.9311,30.3609
|
||||
|
||||
# openweathermap backend: the api KEY to use (default )
|
||||
owm-api-key=7e8baac361184a4b78facb3af5a64926
|
||||
|
||||
# openweathermap backend: print raw requests and responses (default false)
|
||||
owm-debug=false
|
||||
|
||||
# openweathermap backend: the LANGUAGE to request from openweathermap (default en)
|
||||
owm-lang=en
|
||||
|
||||
# UNITSYSTEM to use for output.
|
||||
# Choices are: metric, imperial, si, metric-ms (default metric)
|
||||
units=metric
|
||||
|
||||
# worldweatheronline backend: the api KEY to use (default )
|
||||
wwo-api-key=
|
||||
|
||||
# worldweatheronline backend: print raw requests and responses (default false)
|
||||
wwo-debug=false
|
||||
|
||||
# worldweatheronline backend: the LANGUAGE to request from worldweatheronline (default en)
|
||||
wwo-lang=en
|
||||
|
|
@ -24,7 +24,7 @@ $BUKU -f 4 -p | awk -F'\t' -v OFS='\t' '{
|
|||
if ($1 != "waiting for input") {
|
||||
printf "%-5s %-60s %-45s %s\n", $1, $3, url, joined
|
||||
}
|
||||
}' | sort -k 2 | rofi -dmenu -matching fuzzy -sort -sorting-method fzf -width 80 -l 20 | cut -d ' ' -f 1 | {
|
||||
}' | sort -k 2 | rofi -dmenu -matching normal -sort -sorting-method fzf -width 80 -l 20 | cut -d ' ' -f 1 | {
|
||||
read index;
|
||||
if [[ -z "$index" ]]; then
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue