From 7abe73f4656f650dd9c8f12323d6dab11973f8fe Mon Sep 17 00:00:00 2001 From: Yessiest Date: Sun, 13 Feb 2022 03:47:44 +0000 Subject: [PATCH] made unity more unity-like --- themes/unity/theme.lua | 2 +- themes/unity_simplified/theme.lua | 42 +++++++++++++++---------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/themes/unity/theme.lua b/themes/unity/theme.lua index 5c52b11..4c6ed68 100644 --- a/themes/unity/theme.lua +++ b/themes/unity/theme.lua @@ -37,7 +37,7 @@ theme.unitybar_width = dpi(60) theme.unitybar_bg = "#0D0D0966" theme.unitybar_border_width = 1 theme.unitybar_border_color = "#26262666" -theme.unitybar_inner_margin = 5 +theme.unitybar_inner_margin = 3 local bsize = theme.unitybar_width - (theme.unitybar_inner_margin*2) theme.tasklist_button_shape_border_width = dpi(1) diff --git a/themes/unity_simplified/theme.lua b/themes/unity_simplified/theme.lua index 7a521d1..7bc92f8 100644 --- a/themes/unity_simplified/theme.lua +++ b/themes/unity_simplified/theme.lua @@ -37,7 +37,7 @@ theme.unitybar_width = dpi(60) theme.unitybar_bg = "#0D0D0966" theme.unitybar_border_width = 1 theme.unitybar_border_color = "#26262666" -theme.unitybar_inner_margin = 5 +theme.unitybar_inner_margin = 3 local bsize = theme.unitybar_width - (theme.unitybar_inner_margin*2) theme.tasklist_button_shape_border_width = dpi(1) @@ -46,8 +46,8 @@ theme.tasklist_button_shape_border_color = { from = {bsize/2,0}, to = {bsize/2,bsize}, stops = { - { 0 , "#FFFFFF66"}, - { 1, "#43434366"}, + { 0 , "#FFFFFF33"}, + { 1, "#43434333"}, } } @@ -56,24 +56,24 @@ theme.launcher_button_shape_border_color = theme.tasklist_button_shape_border_co theme.tasklist_bg_focus = { type = "linear", - from = {bsize/2,0*bsize}, - to = {bsize/2,1*bsize}, + from = {bsize/2,-0.125*bsize}, + to = {bsize/2,1.125*bsize}, stops = { - { 0 , "#FFFFFFBB"}, - { 0.3, "#E9542055"}, - { 0.6, "#E9542055"}, - { 1, "#FFFFFF44"} + { 0 , "#FFFFFF99"}, + { 0.3, "#E9542066"}, + { 0.6, "#E9542066"}, + { 1, "#FFFFFF22"} } } theme.tasklist_bg_normal = { type = "linear", - from = {bsize/2,0*bsize}, + from = {bsize/2,-0.125*bsize}, to = {bsize/2,1*bsize}, stops = { - { 0 , "#FFFFFF55"}, + { 0 , "#FFFFFF66"}, { 0.5, "#33333333"}, - { 1, "#FFFFFF22"} + { 1, "#FFFFFF11"} } } @@ -85,24 +85,24 @@ theme.launcher_container_spacing = 5 theme.launcher_button_bg_focus = { type = "linear", - from = {bsize/2,0*bsize}, - to = {bsize/2,1*bsize}, + from = {bsize/2,-0.125*bsize}, + to = {bsize/2,1.125*bsize}, stops = { - { 0 , "#FFFFFFBB"}, - { 0.3, "#E9542055"}, - { 0.6, "#E9542055"}, - { 1, "#FFFFFF44"} + { 0 , "#FFFFFF99"}, + { 0.3, "#E9542066"}, + { 0.6, "#E9542066"}, + { 1, "#FFFFFF22"} } } theme.launcher_button_bg_normal = { type = "linear", - from = {bsize/2,0*bsize}, + from = {bsize/2,-0.125*bsize}, to = {bsize/2,1*bsize}, stops = { - { 0 , "#FFFFFF55"}, + { 0 , "#FFFFFF66"}, { 0.5, "#33333333"}, - { 1, "#FFFFFF22"} + { 1, "#FFFFFF11"} } } -- overriding the default one when