From d8f74495db5df73d6ce10d881fbdd0c5cc83504c Mon Sep 17 00:00:00 2001 From: Yessiest Date: Fri, 14 Jan 2022 13:40:09 +0400 Subject: [PATCH] Fixed audio panel width --- themes/unity/theme.lua | 12 +++++++++++- themes/unity2/theme.lua | 1 + themes/unity_simplified/theme.lua | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/themes/unity/theme.lua b/themes/unity/theme.lua index 60ddd24..4db7712 100644 --- a/themes/unity/theme.lua +++ b/themes/unity/theme.lua @@ -9,7 +9,9 @@ theme.name = "unity" theme.font = "Ubuntu Regular 10" theme.unitybar_width = dpi(60) theme.unitybar_bg = "#0D0D09AA" +theme.unitybar_border_width = 0 theme.icon_rounding = 5 +theme.volume_slider_width = 60 theme.tasklist_button_shape_border_width = dpi(1) theme.tasklist_button_shape_border_color = "#262626AA" theme.launcher_button_shape_border_width = dpi(1) @@ -105,13 +107,21 @@ theme.titlebar_bg_focus = { } theme.titlebar_bg_normal = { + type = "linear", + from = { 0, 15 }, + to = { 0, 0 }, + stops = { { 0, "#2A2A26"} , { 1 , "#454440"} } + +} + +theme.topbar_bg = { type = "linear", from = { 0, 15 }, to = { 0, 0 }, stops = { { 0, "#3A3A36"} , { 1 , "#454440"} } } -theme.topbar_bg = "#3C3B37" + theme.titlebar_rounding = 6 theme.bg_systray = "#3A3A36" theme.prompt_bg = theme.titlebar_bg_normal diff --git a/themes/unity2/theme.lua b/themes/unity2/theme.lua index dd578bf..a25d343 100644 --- a/themes/unity2/theme.lua +++ b/themes/unity2/theme.lua @@ -12,6 +12,7 @@ theme.unitybar_bg = "#1D1D1DFF" theme.unitybar_border_width = 0 theme.icon_rounding = 5 theme.username_container_spacing_horizontal = 3 +theme.volume_slider_width = 60 theme.launcher_button_size = 44 theme.tasklist_button_size = 44 theme.macbar_rounding = 5 diff --git a/themes/unity_simplified/theme.lua b/themes/unity_simplified/theme.lua index c8d2d7c..8b928c8 100644 --- a/themes/unity_simplified/theme.lua +++ b/themes/unity_simplified/theme.lua @@ -10,6 +10,7 @@ theme.font = "Ubuntu Regular 10" theme.unitybar_width = dpi(60) theme.unitybar_bg = "#0D0D09AA" theme.icon_rounding = 5 +theme.volume_slider_width = 60 theme.tasklist_button_shape_border_width = dpi(1) theme.tasklist_button_shape_border_color = "#262626AA" theme.launcher_button_shape_border_width = dpi(1)