diff --git a/home/.config/awesome/ui/notifications/init.lua b/home/.config/awesome/ui/notifications/init.lua index c1ed2e8..71ced5a 100644 --- a/home/.config/awesome/ui/notifications/init.lua +++ b/home/.config/awesome/ui/notifications/init.lua @@ -11,6 +11,10 @@ local beautiful = require('beautiful') local dpi = beautiful.xresources.apply_dpi local naughty = require("naughty") +-- # Libs : +-- ~~~~~~~~ +local helpers = require("libs.helpers") + naughty.config.defaults.ontop = true naughty.config.defaults.screen = awful.screen.focused() naughty.config.defaults.timeout = 5 @@ -69,7 +73,7 @@ local function create_notifcation(n) title.markup = n.title local message = wibox.widget.textbox() - message.font = "Roboto Mono 12" + message.font = "Roboto Medium 11" message.align = 'left' message.markup = n.message @@ -82,8 +86,8 @@ local function create_notifcation(n) widget = wibox.widget.imagebox, }, strategy = "max", - width = dpi(60), - height = dpi(60), + width = dpi(30), + height = dpi(30), widget = wibox.container.constraint, }, expand = 'none', @@ -110,9 +114,9 @@ local function create_notifcation(n) naughty.layout.box { notification = n, type = "notification", - bg = beautiful.bg, + bg = colors.black, border_width = 0, - shape = function(cr,w,h) gears.shape.rounded_rect(cr,w,h,8) end, + shape = helpers.rrect(theme.rounded), widget_template = { { { @@ -120,7 +124,7 @@ local function create_notifcation(n) widget = container, }, strategy = "max", - width = dpi(620), + width = dpi(420), widget = wibox.container.constraint, }, strategy = "min", @@ -128,7 +132,7 @@ local function create_notifcation(n) height = dpi(80), widget = wibox.container.constraint, }, - bg = colors.brightblack, + bg = colors.container, widget = wibox.container.background, } } diff --git a/home/.config/awesome/ui/sidebar/player.lua b/home/.config/awesome/ui/sidebar/player.lua index c5ac44b..52851f4 100644 --- a/home/.config/awesome/ui/sidebar/player.lua +++ b/home/.config/awesome/ui/sidebar/player.lua @@ -25,8 +25,8 @@ local music_art_filter = wibox.widget({ { bg = { type = "linear", - from = { 0, 0 }, - to = { 0, 150}, + from = { 0, 30 }, + to = { 0, 200}, stops = { { 0, colors.transparent}, { 1, colors.container } @@ -116,7 +116,7 @@ local prev_button = wibox.widget{ local music_bar = wibox.widget({ max_value = 100, value = 0, - background_color = colors.black, + background_color = colors.brightblack, -- shape = gears.shape.rounded_bar, color = colors.main_scheme, forced_height = dpi(6),