weather and leftwm_state variables
This commit is contained in:
parent
420abf483b
commit
5ba780343e
0
yuck/panel/panel_widgs/panel_workspaces.yuck
Normal file
0
yuck/panel/panel_widgs/panel_workspaces.yuck
Normal file
@ -31,4 +31,18 @@
|
|||||||
:interval "300ms"
|
:interval "300ms"
|
||||||
:initial "{\"level\":\"0\",\"status\":\"empty\",\"icon\":\"\"}"
|
:initial "{\"level\":\"0\",\"status\":\"empty\",\"icon\":\"\"}"
|
||||||
`sh/values/power/battery.sh`
|
`sh/values/power/battery.sh`
|
||||||
|
)
|
||||||
|
|
||||||
|
;Weather
|
||||||
|
(defpoll weather
|
||||||
|
:interval "5m"
|
||||||
|
:initial "{\"coord\":{\"lon\":0,\"lat\":0},\"weather\":[{\"id\":0,\"main\":\"Unknown\",\"description\":\"unknown\",\"icon\":\"00d\"},{\"id\":0,\"main\":\"Not available\",\"description\":\"not available\",\"icon\":\"00d\"}],\"base\":\"stations\",\"main\":{\"temp\":0,\"feels_like\":0,\"temp_min\":0,\"temp_max\":0,\"pressure\":0,\"humidity\":0,\"sea_level\":0,\"grnd_level\":0},\"visibility\":0,\"wind\":{\"speed\":0,\"deg\":0},\"rain\":{\"1h\":0},\"clouds\":{\"all\":0},\"dt\":978310800,\"sys\":{\"type\":0,\"id\":0,\"country\":\"UK\",\"sunrise\":978310800,\"sunset\":978310800},\"timezone\":0,\"id\":0,\"name\":\"Unknown\",\"cod\":0}"
|
||||||
|
`sh/values/weather/weather.sh`
|
||||||
|
)
|
||||||
|
|
||||||
|
;WIndow managers
|
||||||
|
(defpoll leftwm_state
|
||||||
|
:insterval "300ms"
|
||||||
|
:initial "{\"window_title\":\"None\",\"workspaces\":[{\"id\":1,\"output\":\"VGA-1\",\"h\":0,\"w\":0,\"x\":0,\"y\":0,\"layout\":\"Default\",\"index\":0,\"tags\":[{\"name\":\"1\",\"index\":0,\"mine\":false,\"visible\":false,\"focused\":false,\"urgent\":false,\"busy\":false}]}]}"
|
||||||
|
`leftwm state`
|
||||||
)
|
)
|
Loading…
Reference in New Issue
Block a user