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
- Autohide widgets
- Autostart applications
- Autostart windowless processes
- 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
- 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),
-- 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, }, "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 "))
-- Calendar
lain.widgets.calendar.attach(mytextclock, {
theme.cal = lain.widgets.calendar({
attach_to = { mytextclock },
notification_preset = {
font = "Terminus 10",
fg = theme.fg_normal,
bg = theme.bg_normal
}})
}
})
-- Weather
local weathericon = wibox.widget.imagebox(theme.widget_weather)

View File

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