From 06b6ebef92bab7f498e6774ce1feffeecd8f6434 Mon Sep 17 00:00:00 2001 From: elenapan Date: Sun, 5 Apr 2020 16:34:02 +0300 Subject: [PATCH] Tweak amarena theme --- config/awesome/elemental/dashboard/amarena.lua | 8 ++++---- config/awesome/themes/amarena/theme.lua | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/awesome/elemental/dashboard/amarena.lua b/config/awesome/elemental/dashboard/amarena.lua index 0800bd2..31b0816 100644 --- a/config/awesome/elemental/dashboard/amarena.lua +++ b/config/awesome/elemental/dashboard/amarena.lua @@ -446,8 +446,8 @@ local petal_font = "Sans Bold 11" local function create_url_petal(text, bg_color, hover_color, url, tl, tr, br, bl) local petal_container = wibox.widget { bg = bg_color, - forced_height = dpi(45), - forced_width = dpi(45), + forced_height = dpi(65), + forced_width = dpi(65), shape = helpers.prrect(99, tl, tr, br, bl), widget = wibox.container.background() } @@ -464,7 +464,7 @@ local function create_url_petal(text, bg_color, hover_color, url, tl, tr, br, bl }, -- Put the petal container inside a rounded container. Why? -- Because I want the unrounded petal corner to not be pointy! - shape = helpers.rrect(box_radius / 2), + shape = helpers.rrect(dpi(4)), widget = wibox.container.background() } @@ -513,7 +513,7 @@ local url_petals = wibox.widget { layout = wibox.layout.grid } -local url_petals_box = create_boxed_widget(url_petals, dpi(150), dpi(150), x.background) +local url_petals_box = create_boxed_widget(url_petals, dpi(150), dpi(150), "#00000000") local icon_size = dpi(40) -- Uptime diff --git a/config/awesome/themes/amarena/theme.lua b/config/awesome/themes/amarena/theme.lua index 9a1fea2..2dc6aa7 100644 --- a/config/awesome/themes/amarena/theme.lua +++ b/config/awesome/themes/amarena/theme.lua @@ -130,7 +130,7 @@ theme.wibar_bg = x.foreground theme.wibar_border_color = x.color0 theme.wibar_border_width = dpi(0) theme.wibar_border_radius = dpi(0) -theme.wibar_width = dpi(390) +theme.wibar_width = dpi(380) theme.prefix_fg = x.color8 @@ -186,7 +186,7 @@ theme.exit_screen_font = "sans 20" theme.exit_screen_icon_size = dpi(180) -- Lock screen -theme.lock_screen_bg = x.color0 +theme.lock_screen_bg = x.color0.."CC" theme.lock_screen_fg = x.color7 -- Icon taglist