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:
Luca CPZ 2018-09-14 21:24:48 +02:00
parent ff4caa01b7
commit 09929eee2f
12 changed files with 13 additions and 13 deletions

2
lain

@ -1 +1 @@
Subproject commit 4073bd7cdf79e118e97c0b0f7dba08927bc31d46 Subproject commit c02fcdb2e9480927f7b0b21f38d20dd203b7d8bd

View file

@ -383,7 +383,7 @@ globalkeys = my_table.join(
{description = "dropdown application", group = "launcher"}), {description = "dropdown application", group = "launcher"}),
-- Widgets popups -- Widgets popups
awful.key({ altkey, }, "c", function () lain.widget.calendar.show(7) end, awful.key({ altkey, }, "c", function () beautiful.cal.show(7) end,
{description = "show calendar", group = "widgets"}), {description = "show calendar", group = "widgets"}),
awful.key({ altkey, }, "h", function () if beautiful.fs then beautiful.fs.show(7) end end, awful.key({ altkey, }, "h", function () if beautiful.fs then beautiful.fs.show(7) end end,
{description = "show filesystem", group = "widgets"}), {description = "show filesystem", group = "widgets"}),

View file

@ -82,7 +82,7 @@ local mytextclock = wibox.widget.textclock(" %H:%M ")
mytextclock.font = theme.font mytextclock.font = theme.font
-- Calendar -- Calendar
lain.widget.calendar({ theme.cal = lain.widget.cal({
attach_to = { mytextclock }, attach_to = { mytextclock },
notification_preset = { notification_preset = {
font = "Misc Tamsyn 11", font = "Misc Tamsyn 11",

View file

@ -99,14 +99,14 @@ local mytextclock = wibox.widget.textclock("<span font='Misc Tamzen 5'> </span>%
mytextclock.font = theme.font mytextclock.font = theme.font
-- Calendar -- Calendar
lain.widget.calendar { theme.cal = lain.widget.cal({
attach_to = { mytextclock }, attach_to = { mytextclock },
notification_preset = { notification_preset = {
font = "Misc Tamzen 11", font = "Misc Tamzen 11",
fg = theme.fg_normal, fg = theme.fg_normal,
bg = theme.bg_normal bg = theme.bg_normal
} }
} })
--[[ Mail IMAP check --[[ Mail IMAP check
-- commented because it needs to be set before use -- commented because it needs to be set before use

View file

@ -83,7 +83,7 @@ local mytextclock = wibox.widget.textclock(markup(gray, " %a")
mytextclock.font = theme.font mytextclock.font = theme.font
-- Calendar -- Calendar
lain.widget.calendar({ theme.cal = lain.widget.cal({
attach_to = { mytextclock }, attach_to = { mytextclock },
notification_preset = { notification_preset = {
font = "Misc Tamsyn 11", font = "Misc Tamsyn 11",

View file

@ -112,7 +112,7 @@ local mytextcalendar = wibox.widget.textclock(markup.fontfg(theme.font, "#FFFFFF
local calendar_icon = wibox.widget.imagebox(theme.calendar) local calendar_icon = wibox.widget.imagebox(theme.calendar)
local calbg = wibox.container.background(mytextcalendar, theme.bg_focus, gears.shape.rectangle) local calbg = wibox.container.background(mytextcalendar, theme.bg_focus, gears.shape.rectangle)
local calendarwidget = wibox.container.margin(calbg, 0, 0, 5, 5) local calendarwidget = wibox.container.margin(calbg, 0, 0, 5, 5)
lain.widget.calendar({ theme.cal = lain.widget.cal({
attach_to = { mytextclock, mytextcalendar }, attach_to = { mytextclock, mytextcalendar },
notification_preset = { notification_preset = {
fg = "#FFFFFF", fg = "#FFFFFF",

View file

@ -99,7 +99,7 @@ local mytextclock = wibox.widget.textclock(markup("#7788af", "%A %d %B ") .. mar
mytextclock.font = theme.font mytextclock.font = theme.font
-- Calendar -- Calendar
theme.cal = lain.widget.calendar({ theme.cal = theme.cal = lain.widget.cal({
attach_to = { mytextclock }, attach_to = { mytextclock },
notification_preset = { notification_preset = {
font = "xos4 Terminus 10", font = "xos4 Terminus 10",

View file

@ -100,7 +100,7 @@ local clock = awful.widget.watch(
) )
-- Calendar -- Calendar
theme.cal = lain.widget.calendar({ theme.cal = theme.cal = lain.widget.cal({
attach_to = { clock }, attach_to = { clock },
notification_preset = { notification_preset = {
font = "xos4 Terminus 10", font = "xos4 Terminus 10",

View file

@ -108,7 +108,7 @@ local binclock = require("themes.powerarrow.binclock"){
} }
-- Calendar -- Calendar
theme.cal = lain.widget.calendar({ theme.cal = theme.cal = lain.widget.cal({
--cal = "cal --color=always", --cal = "cal --color=always",
attach_to = { binclock.widget }, attach_to = { binclock.widget },
notification_preset = { notification_preset = {

View file

@ -92,7 +92,7 @@ local mytextclock = wibox.widget.textclock(markup(white, " %H:%M "))
mytextclock.font = theme.font mytextclock.font = theme.font
-- Calendar -- Calendar
lain.widget.calendar({ theme.cal = lain.widget.cal({
attach_to = { mytextclock }, attach_to = { mytextclock },
notification_preset = { notification_preset = {
font = "Misc Tamsyn 11", font = "Misc Tamsyn 11",

View file

@ -85,7 +85,7 @@ local mytextclock = wibox.widget.textclock(" %H:%M ")
mytextclock.font = theme.font mytextclock.font = theme.font
-- Calendar -- Calendar
lain.widget.calendar({ theme.cal = lain.widget.cal({
attach_to = { mytextclock }, attach_to = { mytextclock },
notification_preset = { notification_preset = {
font = "Misc Tamsyn 11", font = "Misc Tamsyn 11",

View file

@ -113,7 +113,7 @@ local markup = lain.util.markup
--os.setlocale(os.getenv("LANG")) -- to localize the clock --os.setlocale(os.getenv("LANG")) -- to localize the clock
local mytextclock = wibox.widget.textclock(markup("#FFFFFF", "%a %d %b, %H:%M")) local mytextclock = wibox.widget.textclock(markup("#FFFFFF", "%a %d %b, %H:%M"))
mytextclock.font = theme.font mytextclock.font = theme.font
lain.widget.calendar({ theme.cal = lain.widget.cal({
attach_to = { mytextclock }, attach_to = { mytextclock },
notification_preset = { notification_preset = {
fg = "#FFFFFF", fg = "#FFFFFF",