1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00

lain: new commit

This commit is contained in:
copycat-killer 2017-01-24 18:45:45 +01:00
parent be321c25e7
commit e6f01aca91
12 changed files with 15 additions and 15 deletions

2
lain

@ -1 +1 @@
Subproject commit 272844030a05df1807406245b84930ea4740e61b
Subproject commit 8ba5f4a7ef8c86c58a90433fa781dda2f444f47c

View file

@ -232,7 +232,7 @@ local volume = lain.widgets.alsa({
})
local myweather = lain.widgets.weather({
city_id = 123456, -- placeholder
city_id = 2643743, -- placeholder (London)
settings = function()
units = math.floor(weather_now["main"]["temp"])
widget:set_markup(" " .. units .. " ")

View file

@ -279,7 +279,7 @@ local fswidget = wibox.container.margin(fsbg, 2, 7, 4, 4)
-- ALSA volume bar
local volicon = wibox.widget.imagebox(beautiful.vol)
local volume = lain.widgets.alsabar({
width = 59, border_width = 0, ticks = true, ticks_size = 6, step = "2%",
width = 59, border_width = 0, ticks = true, ticks_size = 6
notification_preset = { font = beautiful.font },
settings = function()
if volume_now.status == "off" then
@ -303,7 +303,7 @@ local volumewidget = wibox.container.margin(volumebg, 2, 7, 4, 4)
-- Weather
local myweather = lain.widgets.weather({
city_id = 123456 -- placeholder
city_id = 2643743, -- placeholder (London)
})
-- Separators

View file

@ -238,7 +238,7 @@ local volume = lain.widgets.alsa({
-- Weather
local myweather = lain.widgets.weather({
city_id = 123456, -- placeholder
city_id = 2643743, -- placeholder (London)
notification_preset = { fg = white }
})

View file

@ -292,8 +292,8 @@ local networkwidget = wibox.container.margin(netbg, 0, 0, 5, 5)
-- Weather
local myweather = lain.widgets.weather({
city_id = 2643743, -- placeholder (London)
notification_preset = { font = "Monospace 9" },
city_id = 123456 -- placeholder
})
-- Separators

View file

@ -166,7 +166,7 @@ lain.widgets.calendar.attach(mytextclock, {
-- Weather
local weathericon = wibox.widget.imagebox(beautiful.widget_weather)
local myweather = lain.widgets.weather({
city_id = 123456, -- placeholder
city_id = 2643743, -- placeholder (London)
weather_na_markup = markup("#eca4c4", "N/A "),
settings = function()
descr = weather_now["weather"][1]["description"]:lower()

View file

@ -579,7 +579,6 @@ globalkeys = awful.util.table.join(
-- Widgets popups
awful.key({ altkey, }, "c", function () lain.widgets.calendar.show(7) end),
awful.key({ altkey, }, "h", function () fsroot.show(7) end),
awful.key({ altkey, }, "w", function () myweather.show(7) end),
-- ALSA volume control
awful.key({ altkey }, "Up",

View file

@ -221,7 +221,7 @@ local volumewidget = wibox.container.margin(volumebg, 7, 7, 5, 5)
-- Weather
local myweather = lain.widgets.weather({
city_id = 123456, -- placeholder
city_id = 2643743, -- placeholder (London)
settings = function()
w_notification_preset.fg = white
end

View file

@ -241,7 +241,7 @@ local volume = lain.widgets.alsa({
-- Weather
local myweather = lain.widgets.weather({
city_id = 123456 -- placeholder
city_id = 2643743, -- placeholder (London)
})
-- Separators

View file

@ -1,7 +1,7 @@
--[[
Blackburn Awesome WM config 2.0
Blackburn Awesome WM config 3.0
github.com/copycat-killer
--]]

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

View file

@ -1,7 +1,7 @@
--[[
Copland Awesome WM config
Copland Awesome WM config 2.0
github.com/copycat-killer
--]]
@ -46,6 +46,7 @@ theme.bat_low = theme.dir .. "/icons/bat_low.p
theme.bat_no = theme.dir .. "/icons/bat_no.png"
theme.play = theme.dir .. "/icons/play.png"
theme.pause = theme.dir .. "/icons/pause.png"
theme.stop = theme.dir .. "/icons/stop.png"
theme.layout_tile = theme.dir .. "/icons/tile.png"
theme.layout_tileleft = theme.dir .. "/icons/tileleft.png"