mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2026-03-23 14:05:11 +00:00
Weather widget
This commit is contained in:
parent
964a8a6b5b
commit
f48f119fab
|
|
@ -326,6 +326,13 @@ local arrl_ld = separators.arrow_left("alpha", theme.arrows)
|
|||
-- LogOut widget
|
||||
local logout_menu_widget = require("awesome-wm-widgets.logout-menu-widget.logout-menu")
|
||||
|
||||
-- Weatherwidget
|
||||
local weather_widget = require("awesome-wm-widgets.weather-widget.weather")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function theme.at_screen_connect(s)
|
||||
-- Quake application
|
||||
s.quake = lain.util.quake({ app = awful.util.terminal })
|
||||
|
|
@ -404,6 +411,20 @@ function theme.at_screen_connect(s)
|
|||
logout_menu_widget(),
|
||||
arrl_ld,
|
||||
arrl_dl,
|
||||
weather_widget({
|
||||
api_key='aeec45216dbe6d619167d2e9c9380fd7',
|
||||
coordinates = {45.95, 24.14},
|
||||
time_format_12h = true,
|
||||
units = 'metric',
|
||||
both_units_widget = true,
|
||||
font_name = 'Carter One',
|
||||
icons = 'VitalyGorbachev',
|
||||
icons_extension = '.svg',
|
||||
show_hourly_forecast = true,
|
||||
show_daily_forecast = true,
|
||||
}),
|
||||
arrl_ld,
|
||||
arrl_dl,
|
||||
clock,
|
||||
spr,
|
||||
arrl_ld,
|
||||
|
|
|
|||
Loading…
Reference in a new issue