awesome-wm-widgets/secrets.lua

19 lines
753 B
Lua
Raw Normal View History

2018-01-21 03:52:04 +01:00
-------------------------------------------------
-- Allows to store client specific settings in one place
2018-01-21 03:52:04 +01:00
--
-- @author Pavel Makhov
-- @copyright 2019 Pavel Makhov
2018-01-21 03:52:04 +01:00
--------------------------------------------
2018-01-21 03:42:28 +01:00
local secrets = {
2018-01-21 03:52:04 +01:00
-- Yandex.Translate API key - https://tech.yandex.com/translate/
2019-07-11 19:31:46 +02:00
translate_widget_api_key = os.getenv('AWW_TRANSLATE_API_KEY') or 'API_KEY',
2018-01-21 03:52:04 +01:00
-- OpenWeatherMap API key - https://openweathermap.org/appid
2019-07-11 19:31:46 +02:00
weather_widget_api_key = os.getenv('AWW_WEATHER_API_KEY') or 'c3d7320b359da4e48c2d682a04076576',
weather_widget_city = os.getenv('AWW_WEATHER_CITY') or 'Montreal,ca',
weather_widget_units = os.getenv('AWW_WEATHER_UNITS') or 'metric' -- for celsius, or 'imperial' for fahrenheit
2018-01-21 03:42:28 +01:00
}
2018-01-21 03:52:04 +01:00
return secrets