From f64dbb6475a25c7f27d2d6bcc626f80da9ab7b70 Mon Sep 17 00:00:00 2001 From: copycat-killer Date: Sun, 22 Jan 2017 01:56:49 +0100 Subject: [PATCH] lain: new commit --- lain | 2 +- rc.lua.blackburn | 8 +++++++- rc.lua.copland | 8 +++++++- rc.lua.dremora | 9 +++++++-- rc.lua.holo | 2 +- rc.lua.multicolor | 8 +++++++- rc.lua.powerarrow-darker | 9 ++++++++- rc.lua.rainbow | 10 +++++++--- rc.lua.steamburn | 10 ++++++++-- 9 files changed, 53 insertions(+), 13 deletions(-) diff --git a/lain b/lain index 9adaa9f..fadc722 160000 --- a/lain +++ b/lain @@ -1 +1 @@ -Subproject commit 9adaa9fa3290cc1f522bd85ba878de39c5fbde2a +Subproject commit fadc722655b2ba4ebe98eece3498da3c88f8b6fc diff --git a/rc.lua.blackburn b/rc.lua.blackburn index 197e3e4..76f2a06 100644 --- a/rc.lua.blackburn +++ b/rc.lua.blackburn @@ -142,7 +142,12 @@ gray = "#9E9C9A" local mytextclock = wibox.widget.textclock(" %H:%M ") -- Calendar -lain.widgets.calendar.attach(mytextclock) +lain.widgets.calendar.attach(mytextclock, { + notification_preset = { + font = "Tamsyn 10.5", + fg = beautiful.fg_normal, + bg = beautiful.bg_normal +}}) --[[ Mail IMAP check -- commented because it needs to be set before use @@ -187,6 +192,7 @@ local mpdwidget = lain.widgets.mpd({ local fshome = lain.widgets.fs({ partition = "/home", options = "--exclude-type=tmpfs", + notification_preset = { fg = beautiful.fg_normal, bg = beautiful.bg_normal, font = "Tamsyn 10.5" }, settings = function() fs_header = "" fs_p = "" diff --git a/rc.lua.copland b/rc.lua.copland index b88d8de..77bb183 100644 --- a/rc.lua.copland +++ b/rc.lua.copland @@ -146,7 +146,12 @@ local green = "#8FEB8F" local mytextclock = wibox.widget.textclock(" %H:%M ") -- Calendar -lain.widgets.calendar.attach(mytextclock) +lain.widgets.calendar.attach(mytextclock, { + notification_preset = { + font = "Tamsyn 10.5", + fg = beautiful.fg_normal, + bg = beautiful.bg_normal +}}) --[[ Mail IMAP check -- commented because it needs to be set before use @@ -258,6 +263,7 @@ local fsbar = wibox.widget { local fshome = lain.widgets.fs({ partition = "/home", options = "--exclude-type=tmpfs", + notification_preset = { fg = beautiful.fg_normal, bg = beautiful.bg_normal, font = "Tamsyn 10.5" }, settings = function() if tonumber(fs_now.used) < 90 then fsbar:set_color(beautiful.fg_normal) diff --git a/rc.lua.dremora b/rc.lua.dremora index 0ed1b78..01f6e7a 100644 --- a/rc.lua.dremora +++ b/rc.lua.dremora @@ -144,7 +144,12 @@ local mytextclock = wibox.widget.textclock(markup(gray, " %a") .. markup(white, " %d ") .. markup(gray, "%b ") .. markup(white, "%H:%M ")) -- Calendar -lain.widgets.calendar.attach(mytextclock, { fg = white }) +lain.widgets.calendar.attach(mytextclock, { + notification_preset = { + font = "Tamsyn 10.5", + fg = white, + bg = beautiful.bg_normal +}}) --[[ Mail IMAP check -- commented because it needs to be set before use @@ -191,7 +196,7 @@ local mpdwidget = lain.widgets.mpd({ local fshome = lain.widgets.fs({ partition = "/home", options = "--exclude-type=tmpfs", - notification_preset = { fg = white }, + notification_preset = { fg = white, bg = beautiful.bg_normal, font = "Tamsyn 10.5" }, settings = function() fs_header = "" fs_p = "" diff --git a/rc.lua.holo b/rc.lua.holo index 0b9020f..b7a3520 100644 --- a/rc.lua.holo +++ b/rc.lua.holo @@ -153,7 +153,7 @@ local mytextcalendar = wibox.widget.textclock(markup("#FFFFFF", space3 .. "%d %b local calendar_icon = wibox.widget.imagebox(beautiful.calendar) local calbg = wibox.container.background(mytextcalendar, beautiful.bg_focus, shape.rectangle) local calendarwidget = wibox.container.margin(calbg, 0, 0, 5, 5) -lain.widgets.calendar.attach(calendarwidget, { fg = "#FFFFFF", position = "bottom_right", font = "Monospace", font_size = 9 }) +lain.widgets.calendar.attach(calendarwidget, { notification_preset = { fg = "#FFFFFF", bg = beautiful.bg_normal, position = "bottom_right", font = "Monospace 10" } }) --[[ Mail IMAP check -- commented because it needs to be set before use diff --git a/rc.lua.multicolor b/rc.lua.multicolor index 8dc94d3..6401faf 100644 --- a/rc.lua.multicolor +++ b/rc.lua.multicolor @@ -156,7 +156,12 @@ local mytextclock = lain.widgets.base({ ]] -- Calendar -lain.widgets.calendar.attach(mytextclock, { font_size = 10 }) +lain.widgets.calendar.attach(mytextclock, { + notification_preset = { + font = "Terminus 10", + fg = beautiful.fg_normal, + bg = beautiful.bg_normal +}}) -- Weather local weathericon = wibox.widget.imagebox(beautiful.widget_weather) @@ -174,6 +179,7 @@ local myweather = lain.widgets.weather({ local fsicon = wibox.widget.imagebox(beautiful.widget_fs) local fsroot = lain.widgets.fs({ options = "--exclude-type=tmpfs", + notification_preset = { font = "Terminus 10", fg = beautiful.fg_normal }, settings = function() widget:set_markup(markup("#80d9d8", fs_now.used .. "% ")) end diff --git a/rc.lua.powerarrow-darker b/rc.lua.powerarrow-darker index 7407f16..ceb9112 100644 --- a/rc.lua.powerarrow-darker +++ b/rc.lua.powerarrow-darker @@ -149,7 +149,13 @@ local mytextclock = lain.widgets.abase({ }) -- calendar -lain.widgets.calendar.attach(mytextclock, { font_size = 10 }) +lain.widgets.calendar.attach(mytextclock, { + notification_preset = { + font = "Terminus 10", + fg = beautiful.fg_normal, + bg = beautiful.bg_normal + } +}) -- Mail IMAP check local mailicon = wibox.widget.imagebox(beautiful.widget_mail) @@ -222,6 +228,7 @@ local tempwidget = lain.widgets.temp({ local fsicon = wibox.widget.imagebox(beautiful.widget_hdd) local fsroot = lain.widgets.fs({ options = "--exclude-type=tmpfs", + notification_preset = { fg = beautiful.fg_normal, bg = beautiful.bg_normal, font = "Terminus 10" }, settings = function() widget:set_text(" " .. fs_now.used .. "% ") end diff --git a/rc.lua.rainbow b/rc.lua.rainbow index 6a82e23..97e2686 100644 --- a/rc.lua.rainbow +++ b/rc.lua.rainbow @@ -143,7 +143,12 @@ local gray = beautiful.fg_normal local mytextclock = wibox.widget.textclock(markup(white, " %H:%M ")) -- Calendar -lain.widgets.calendar.attach(mytextclock, { fg = beautiful.fg_focus }) +lain.widgets.calendar.attach(mytextclock, { + notification_preset = { + font = "Tamsyn 10.5", + fg = white, + bg = beautiful.bg_normal +}}) --[[ Mail IMAP check -- commented because it needs to be set before use @@ -192,9 +197,8 @@ local mpdwidget = lain.widgets.mpd({ local fshome = lain.widgets.fs({ partition = "/home", options = "--exclude-type=tmpfs", + notification_preset = { fg = white, bg = beautiful.bg_normal, font = "Tamsyn 10.5" }, settings = function() - notification_preset.fg = white - hdd = "" p = "" diff --git a/rc.lua.steamburn b/rc.lua.steamburn index d0eb79c..5c60d6a 100644 --- a/rc.lua.steamburn +++ b/rc.lua.steamburn @@ -141,7 +141,12 @@ local gray = "#94928F" local mytextclock = wibox.widget.textclock(" %H:%M ") -- Calendar -lain.widgets.calendar.attach(mytextclock) +lain.widgets.calendar.attach(mytextclock, { + notification_preset = { + font = "Tamsyn 10.5", + fg = white, + bg = beautiful.bg_normal +}}) -- Mail IMAP check local mailwidget = lain.widgets.imap({ @@ -196,7 +201,8 @@ local memwidget = lain.widgets.mem({ -- /home fs local fshome = lain.widgets.fs({ - partition = "/home" + partition = "/home", + notification_preset = { fg = beautiful.fg_normal, bg = beautiful.bg_normal, font = "Tamsyn 10.5" }, }) -- Battery