Browse Source

xmobar weather: s/KDEN/KLMO/

master
Brennen Bearnes 2 years ago
parent
commit
c9d406b1a4
1 changed files with 17 additions and 3 deletions
  1. +17
    -3
      home/.xmobarrc

+ 17
- 3
home/.xmobarrc View File

@ -3,16 +3,30 @@ Config { font = "xft:Bitstream Vera Sans Mono:size=14:antialias=true"
, fgColor = "grey"
, position = BottomW L 90
, lowerOnStart = False
, commands = [ Run Weather "KDEN" ["-t", " <tempF>F", "-L", "64", "-H", "77", "--normal", "green", "--high", "red", "--low", "blue"] 36000
-- Recent notes on weather data: https://p1k3.com/2019/2/16
-- Source of Weather plugin: https://github.com/jaor/xmobar/blob/master/src/Xmobar/Plugins/Monitors/Weather.hs
-- Weather stations are pulled from: https://tgftp.nws.noaa.gov/data/observations/metar/decoded/
-- HTML list of METAR stations: https://www.aviationweather.gov/metar/info
-- Text list of METAR stations: https://www.aviationweather.gov/docs/metar/stations.txt
-- Denver International Airport is KDEN; was using that previously.
-- KLMO is Vance Brand Airport in Longmont, CO.
-- If you change the station, remember that you also have to update the
-- template string belong to use the new station name, otherwise you'll
-- just get an "Updating..." notice instead of the temperature.
, commands = [ Run Weather "KLMO" ["-t", " <tempF>F/<skyCondition>", "-L", "64", "-H", "77", "--normal", "green", "--high", "red", "--low", "blue"] 36000
, Run Cpu ["-t", "cpu <total>%", "-L", "3", "-H", "50", "--normal", "green", "--high", "red"] 10
, Run Memory ["-t", "mem <usedratio>%"] 10
, Run DynNetwork ["-L", "0", "-H", "32", "--normal", "green", "--high", "red"] 300
-- , Run Swap ["-t", "swap: <usedratio>%"] 10
, Run Date "%a %b %_d %l:%M (%s)" "date" 10
, Run Date "%a %Y-%m-%_d %l:%M (%s)" "date" 10
, Run BatteryP ["BAT0"] ["-t", "AC <acstatus> (<left>%)"] 500
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{ %cpu%|%dynnetwork%|%memory%|%battery%|<fc=#a3ddf0>%date%</fc>|%KDEN%"
, template = "%StdinReader% }{ %cpu%|%dynnetwork%|%memory%|%battery%|<fc=#a3ddf0>%date%</fc>|%KLMO%"
}

Loading…
Cancel
Save