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:
parent
be321c25e7
commit
e6f01aca91
2
lain
2
lain
|
@ -1 +1 @@
|
|||
Subproject commit 272844030a05df1807406245b84930ea4740e61b
|
||||
Subproject commit 8ba5f4a7ef8c86c58a90433fa781dda2f444f47c
|
|
@ -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 .. " ")
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 }
|
||||
})
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
--[[
|
||||
|
||||
Blackburn Awesome WM config 2.0
|
||||
Blackburn Awesome WM config 3.0
|
||||
github.com/copycat-killer
|
||||
|
||||
--]]
|
||||
|
|
BIN
themes/copland/icons/stop.png
Normal file
BIN
themes/copland/icons/stop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 206 B |
|
@ -1,9 +1,9 @@
|
|||
|
||||
--[[
|
||||
|
||||
Copland Awesome WM config
|
||||
github.com/copycat-killer
|
||||
|
||||
|
||||
Copland Awesome WM config 2.0
|
||||
github.com/copycat-killer
|
||||
|
||||
--]]
|
||||
|
||||
local theme = {}
|
||||
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue