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-28 15:41:34 +01:00
parent 035fce49b3
commit d79dedd635
5 changed files with 9 additions and 6 deletions

View file

@ -20,7 +20,7 @@ Features
- Modularity - Modularity
- Autohide widgets - Autohide widgets
- Autostart applications - Autostart windowless processes
- Fast MPD and volume shortcuts (first time this trick has been used in Awesome) - Fast MPD and volume shortcuts (first time this trick has been used in Awesome)
- Shortcuts for copying to the clipboard (no need for clipboard managers), toggle wiboxes, widgets popups, screenshots capture, moving and magnifying clients - Shortcuts for copying to the clipboard (no need for clipboard managers), toggle wiboxes, widgets popups, screenshots capture, moving and magnifying clients
- Quake drop-down terminal - Quake drop-down terminal

2
lain

@ -1 +1 @@
Subproject commit 555b872d16393774089df3b3453000571a73a3dd Subproject commit 1b428513fdede06ef54679edbfd267534f49659e

View file

@ -339,7 +339,7 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, }, "z", function () awful.screen.focused().quake:toggle() end), awful.key({ modkey, }, "z", function () awful.screen.focused().quake:toggle() end),
-- Widgets popups -- Widgets popups
awful.key({ altkey, }, "c", function () lain.widgets.calendar.show(7) end), awful.key({ altkey, }, "c", function () beautiful.cal.show(7) end),
awful.key({ altkey, }, "h", function () beautiful.fs.show(7) end), awful.key({ altkey, }, "h", function () beautiful.fs.show(7) end),
awful.key({ altkey, }, "w", function () beautiful.weather.show(7) end), awful.key({ altkey, }, "w", function () beautiful.weather.show(7) end),

View file

@ -99,12 +99,14 @@ local clockicon = wibox.widget.imagebox(theme.widget_clock)
local mytextclock = wibox.widget.textclock(markup("#7788af", "%A %d %B ") .. markup("#535f7a", ">") .. markup("#de5e1e", " %H:%M ")) local mytextclock = wibox.widget.textclock(markup("#7788af", "%A %d %B ") .. markup("#535f7a", ">") .. markup("#de5e1e", " %H:%M "))
-- Calendar -- Calendar
lain.widgets.calendar.attach(mytextclock, { theme.cal = lain.widgets.calendar({
attach_to = { mytextclock },
notification_preset = { notification_preset = {
font = "Terminus 10", font = "Terminus 10",
fg = theme.fg_normal, fg = theme.fg_normal,
bg = theme.bg_normal bg = theme.bg_normal
}}) }
})
-- Weather -- Weather
local weathericon = wibox.widget.imagebox(theme.widget_weather) local weathericon = wibox.widget.imagebox(theme.widget_weather)

View file

@ -101,7 +101,8 @@ local clock = lain.widgets.abase({
}) })
-- Calendar -- Calendar
lain.widgets.calendar.attach(clock.widget, { theme.cal = lain.widgets.calendar({
attach_to = { clock.widget },
notification_preset = { notification_preset = {
font = "Terminus 10", font = "Terminus 10",
fg = theme.fg_normal, fg = theme.fg_normal,