From 315f8a7676d9e6e1109faa0dda3f1b6980b7e21b Mon Sep 17 00:00:00 2001 From: Xinhao Yuan Date: Thu, 22 Aug 2019 19:05:07 -0400 Subject: [PATCH] adjust colors in switcher --- switcher.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/switcher.lua b/switcher.lua index f86985c..ebb2962 100644 --- a/switcher.lua +++ b/switcher.lua @@ -50,8 +50,8 @@ function module.start(c) local font_color = with_alpha(api.gears.color(api.beautiful.fg_normal), 1) local font_color_hl = with_alpha(api.gears.color(api.beautiful.fg_focus), 1) local label_size = api.dpi(30) - local border_color = with_alpha(api.gears.color(api.beautiful.border_focus), 0.75) - local fill_color = with_alpha(api.gears.color(api.beautiful.bg_normal), 0.5) + local border_color = with_alpha(api.gears.color(api.beautiful.border_focus), 0.25) + local fill_color = with_alpha(api.gears.color(api.beautiful.bg_normal), 0.25) local fill_color_hl = with_alpha(api.gears.color(api.beautiful.bg_focus), 1) -- for comparing floats local threshold = 0.1 @@ -168,9 +168,9 @@ function module.start(c) cr:rectangle(a.x - start_x, a.y - start_y, a.width, a.height) cr:clip() - -- cr:set_source(fill_color) - -- cr:rectangle(a.x, a.y, a.width, a.height) - -- cr:fill() + cr:set_source(fill_color) + cr:rectangle(a.x, a.y, a.width, a.height) + cr:fill() cr:set_source(border_color) cr:rectangle(a.x - start_x, a.y - start_y, a.width, a.height) cr:set_line_width(10.0)