@ -4,15 +4,17 @@ local dpi = xresources.apply_dpi
local theme = { }
theme.name = " unity2 "
theme.name = " unity "
theme.font = " Ubuntu Regular 9 "
theme.unitybar_width = dpi ( 55 )
theme.font = " Ubuntu Regular 10 "
theme.unitybar_width = dpi ( 60 )
theme.unitybar_bg = " #0D0D09AA "
theme.icon_rounding = 5
theme.tasklist_button_shape_border_width = dpi ( 1 )
theme.tasklist_button_shape_border_color = " #262626AA "
theme.launcher_button_shape_border_width = dpi ( 1 )
theme.launcher_button_shape_border_color = " #262626AA "
theme.username_container_spacing_horizontal = 3
theme.launcher_button_size = 44
theme.tasklist_button_size = 44
theme.macbar_rounding = 5
@ -20,7 +22,7 @@ theme.macbar_height = 45
theme.menu_button_inner_margin = 2
theme.container_rounding = 4
theme.button_rounding = 4
theme.bg_normal = " #181819 "
theme.bg_normal = " #19191D "
theme.bg_focus = " #3E3E3E "
theme.bg_urgent = " #2E2E2E "
theme.bg_minimize = " #2E2E2E "
@ -33,11 +35,54 @@ theme.fg_minimize = "#e1dec7"
theme.useless_gap = dpi ( 10 )
theme.border_width = dpi ( 1 )
theme.border_normal = theme.bg_normal
theme.border_normal = theme.bg_focus
theme.border_focus = theme.bg_focus
theme.border_marked = theme.bg_marked
theme.tasklist_bg_focus = {
type = " radial " ,
from = { 25 , - 20 , 7 } ,
to = { 25 , 5 , 55 } ,
stops = {
{ 0 , " #8c8c8cBB " } ,
{ 0.5 , " #414141AA " } ,
{ 1 , " #535353FF " }
}
}
theme.tasklist_bg_normal = {
type = " radial " ,
from = { 25 , - 20 , 7 } ,
to = { 25 , 5 , 55 } ,
stops = {
{ 0 , " #8c8c8cBB " } ,
{ 0.5 , " #232323AA " } ,
{ 1 , " #313131FF " }
}
}
-- There are other variable sets
theme.launcher_button_bg_focus = {
type = " radial " ,
from = { 25 , - 20 , 7 } ,
to = { 25 , 5 , 55 } ,
stops = {
{ 0 , " #8c8c8cBB " } ,
{ 0.5 , " #414141AA " } ,
{ 1 , " #535353FF " }
}
}
theme.launcher_button_bg_normal = {
type = " radial " ,
from = { 25 , - 20 , 7 } ,
to = { 25 , 5 , 55 } ,
stops = {
{ 0 , " #8c8c8cBB " } ,
{ 0.5 , " #232323AA " } ,
{ 1 , " #313131FF " }
}
}
-- overriding the default one when
-- defined, the sets are:
-- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile]
@ -56,19 +101,20 @@ theme.titlebar_bg_focus = {
type = " linear " ,
from = { 0 , 15 } ,
to = { 0 , 0 } ,
stops = { { 0 , " #3C3C3C " } , { 1 , " #424242 " } }
stops = { { 0 , " #3C3B37 " } , { 1 , " #5C5B56 " } }
}
theme.titlebar_bg_normal = {
type = " linear " ,
from = { 0 , 15 } ,
to = { 0 , 0 } ,
stops = { { 0 , " #161617 " } , { 1 , " #222223 " } }
stops = { { 0 , " #3A3A36 " } , { 1 , " #454440 " } }
}
theme.topbar_bg = theme.titlebar_bg_normal
theme.topbar_bg = " #3C3B37 "
theme.titlebar_rounding = 6
theme.bg_systray = " #3A3A36 "
theme.prompt_bg = theme.titlebar_bg_normal
-- Generate taglist squares:
local taglist_square_size = dpi ( 4 )
theme.taglist_squares_sel = theme_assets.taglist_squares_sel (
@ -143,12 +189,12 @@ theme.layout_cornernw = global.themes_dir..theme.name.."/layouts/cornernww.png"
theme.layout_cornerne = global.themes_dir .. theme.name .. " /layouts/cornernew.png "
theme.layout_cornersw = global.themes_dir .. theme.name .. " /layouts/cornersww.png "
theme.layout_cornerse = global.themes_dir .. theme.name .. " /layouts/cornersew.png "
theme_assets.recolor_layout ( theme , theme.fg_normal )
-- Generate Awesome icon:
theme.awesome_icon = theme_assets.awesome_icon (
theme.menu_height , theme.bg_focus , theme.fg_focus
)
-- Define the icon theme for application icons. If not set then the icons
-- from /usr/share/icons and /usr/share/icons/hicolor will be used.
theme.icon_theme = " Adwaita "