diff --git a/yuck/panel/panel_widgs/panel_workspaces.yuck b/yuck/panel/panel_widgs/panel_workspaces.yuck new file mode 100644 index 0000000..e69de29 diff --git a/yuck/vars/vars.yuck b/yuck/vars/vars.yuck index 82c3623..3987b40 100644 --- a/yuck/vars/vars.yuck +++ b/yuck/vars/vars.yuck @@ -31,4 +31,18 @@ :interval "300ms" :initial "{\"level\":\"0\",\"status\":\"empty\",\"icon\":\"\"}" `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` ) \ No newline at end of file