fix: ui and widgets
This commit is contained in:
parent
e5902e2dfb
commit
c1e2eef2ba
|
@ -15,7 +15,7 @@ run_once("mpd")
|
||||||
run_once("mpDris2")
|
run_once("mpDris2")
|
||||||
|
|
||||||
-- picom
|
-- picom
|
||||||
run_once("picom --experimental-backends --config " .. theme_dir .. "picom.conf")
|
run_once("picom --config " .. theme_dir .. "picom.conf")
|
||||||
|
|
||||||
-- auth
|
-- auth
|
||||||
run_once("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1")
|
run_once("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1")
|
||||||
|
|
|
@ -29,12 +29,12 @@ awful.screen.connect_for_each_screen(function(s)
|
||||||
-- Mainmenu
|
-- Mainmenu
|
||||||
mymainmenu = awful.menu({
|
mymainmenu = awful.menu({
|
||||||
items = {
|
items = {
|
||||||
{"Terminal", function() awful.spawn.with_shell(terminal) end, beautiful.awesome_logo},
|
{"Terminal", function() awful.spawn.with_shell(terminal) end},
|
||||||
{"Code Editor", function() awful.spawn.with_shell(vscode) end},
|
{"Code Editor", function() awful.spawn.with_shell(vscode) end},
|
||||||
{"File Manager", function() awful.spawn.with_shell(file_manager) end},
|
{"File Manager", function() awful.spawn.with_shell(file_manager) end},
|
||||||
{"Web Browser", function() awful.spawn.with_shell(browser) end},
|
{"Web Browser", function() awful.spawn.with_shell(browser) end},
|
||||||
{"Music", function() awful.spawn.with_shell(music_client) end},
|
{"Music", function() awful.spawn.with_shell(music_client) end},
|
||||||
{"AwesomeWM", awesomemenu},
|
{"AwesomeWM", awesomemenu, beautiful.awesome_logo},
|
||||||
{"Power Menu", powermenu}
|
{"Power Menu", powermenu}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#========================= Shadows =========================#
|
#========================= Shadows =========================#
|
||||||
|
|
||||||
shadow = true;
|
shadow = true;
|
||||||
shadow-radius = 14;
|
shadow-radius = 14;
|
||||||
shadow-opacity = 0.50;
|
shadow-opacity = 0.50;
|
||||||
|
@ -14,7 +13,6 @@ shadow-exclude = [
|
||||||
];
|
];
|
||||||
|
|
||||||
#========================= Fading =========================#
|
#========================= Fading =========================#
|
||||||
|
|
||||||
fading = true;
|
fading = true;
|
||||||
fade-in-step = 0.03;
|
fade-in-step = 0.03;
|
||||||
fade-out-step = 0.03;
|
fade-out-step = 0.03;
|
||||||
|
@ -24,13 +22,19 @@ no-fading-openclose = false
|
||||||
no-fading-destroyed-argb = true
|
no-fading-destroyed-argb = true
|
||||||
|
|
||||||
fade-exclude = [
|
fade-exclude = [
|
||||||
];
|
"class_g = 'slop'" # maim
|
||||||
|
]
|
||||||
|
|
||||||
#========================= Corners =========================#
|
#========================= Corners =========================#
|
||||||
corner-radius: 12;
|
corner-radius: 12;
|
||||||
rounded-corners-exclude = [
|
rounded-corners-exclude = [
|
||||||
"!window_type = 'normal'",
|
# "!window_type = 'normal'",
|
||||||
"class_g ?= 'rofi'",
|
# "class_g ?= 'rofi'",
|
||||||
|
];
|
||||||
|
|
||||||
|
round-borders = 1;
|
||||||
|
round-borders-exclude = [
|
||||||
|
#"class_g = 'TelegramDesktop'",
|
||||||
];
|
];
|
||||||
|
|
||||||
#========================= Opacity =========================#
|
#========================= Opacity =========================#
|
||||||
|
@ -65,6 +69,8 @@ blur: {
|
||||||
}
|
}
|
||||||
|
|
||||||
blur-background-exclude = [
|
blur-background-exclude = [
|
||||||
|
"!window_type = 'splash'",
|
||||||
|
"class_g = 'slop'" # maim
|
||||||
];
|
];
|
||||||
|
|
||||||
#========================= General Settings =========================#
|
#========================= General Settings =========================#
|
||||||
|
@ -87,14 +93,14 @@ transparent-clipping = false;
|
||||||
|
|
||||||
wintypes:
|
wintypes:
|
||||||
{
|
{
|
||||||
normal = { fade = true; full-shadow = true; };
|
|
||||||
popup_menu = { fade = true; full-shadow = true; };
|
|
||||||
notification = { full-shadow = true; };
|
|
||||||
dropdown_menu = { fade = true; full-shadow = true; };
|
|
||||||
tooltip = { fade = true; shadow = false; focus = true; };
|
tooltip = { fade = true; shadow = false; focus = true; };
|
||||||
menu = { fade = true; full-shadow = true; };
|
menu = { full-shadow = true;};
|
||||||
utility = { fade = true; full-shadow = true; };
|
popup_menu = { full-shadow = true;};
|
||||||
toolbar = { full-shadow = true;};
|
utility = {full-shadow = true;};
|
||||||
dialog = { fade = true; full-shadow = true; };
|
toolbar = {full-shadow = true;};
|
||||||
dock = { fade = true; full-shadow = true;};
|
normal = {full-shadow = true;};
|
||||||
|
notification = {full-shadow = true;};
|
||||||
|
dialog = {full-shadow = true};
|
||||||
|
dock = {full-shadow = true;};
|
||||||
|
dropdown_menu = { full-shadow = true;};
|
||||||
};
|
};
|
||||||
|
|
|
@ -163,16 +163,16 @@ theme.playerctl_player = {"spotify", "mpd", "%any"}
|
||||||
theme.playerctl_update_on_activity = true
|
theme.playerctl_update_on_activity = true
|
||||||
theme.playerctl_position_update_interval = 1
|
theme.playerctl_position_update_interval = 1
|
||||||
|
|
||||||
-- Menu
|
-- Mainmenu
|
||||||
|
theme.menu_font = theme.font_name .. "10"
|
||||||
theme.menu_height = dpi(30)
|
theme.menu_height = dpi(30)
|
||||||
theme.menu_width = dpi(140)
|
theme.menu_width = dpi(150)
|
||||||
theme.menu_font = theme.font_name .. "medium 9"
|
|
||||||
theme.menu_bg_focus = theme.lighter_bg
|
|
||||||
theme.menu_bg_normal = theme.xbackground
|
theme.menu_bg_normal = theme.xbackground
|
||||||
theme.menu_fg_focus = theme.xforeground
|
theme.menu_bg_focus = theme.lighter_bg
|
||||||
theme.menu_fg_normal = theme.xforeground
|
theme.menu_fg_normal= theme.xforeground
|
||||||
theme.menu_border_color = theme.darker_bg
|
theme.menu_fg_focus= theme.xcolor4
|
||||||
theme.menu_border_width = theme.border_width / 2
|
theme.menu_border_width = dpi(0)
|
||||||
|
theme.menu_border_color = theme.xcolor0
|
||||||
theme.menu_submenu = "» "
|
theme.menu_submenu = "» "
|
||||||
theme.menu_submenu_icon = nil
|
theme.menu_submenu_icon = nil
|
||||||
|
|
||||||
|
|
|
@ -227,12 +227,13 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
||||||
|
|
||||||
-- Create the wibar
|
-- Create the wibar
|
||||||
s.mywibar = awful.wibar({
|
s.mywibar = awful.wibar({
|
||||||
|
type = "dock",
|
||||||
position = "left",
|
position = "left",
|
||||||
screen = s,
|
screen = s,
|
||||||
type = "dock",
|
|
||||||
width = dpi(50),
|
|
||||||
height = awful.screen.focused().geometry.height - dpi(50),
|
height = awful.screen.focused().geometry.height - dpi(50),
|
||||||
bg = "#0000000",
|
width = dpi(50),
|
||||||
|
shape = helpers.rrect(beautiful.border_radius),
|
||||||
|
bg = beautiful.transparent,
|
||||||
ontop = true,
|
ontop = true,
|
||||||
visible = true
|
visible = true
|
||||||
})
|
})
|
||||||
|
@ -299,7 +300,7 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
||||||
widget = wibox.container.margin
|
widget = wibox.container.margin
|
||||||
},
|
},
|
||||||
bg = beautiful.darker_bg,
|
bg = beautiful.darker_bg,
|
||||||
shape = helpers.rrect(beautiful.bar_radius),
|
shape = helpers.rrect(beautiful.border_radius),
|
||||||
widget = wibox.container.background
|
widget = wibox.container.background
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -93,14 +93,14 @@ local notifs_boxed = create_boxed_widget(notifs, dpi(260), dpi(190), beautiful.d
|
||||||
-- dashboard
|
-- dashboard
|
||||||
dashboard = wibox({
|
dashboard = wibox({
|
||||||
type = "dock",
|
type = "dock",
|
||||||
ontop = true,
|
|
||||||
screen = screen.primary,
|
screen = screen.primary,
|
||||||
height = screen_height - dpi(50),
|
height = screen_height - dpi(50),
|
||||||
width = beautiful.dashboard_width or dpi(300),
|
width = beautiful.dashboard_width or dpi(300),
|
||||||
|
shape = helpers.rrect(beautiful.border_radius),
|
||||||
|
ontop = true,
|
||||||
visible = false
|
visible = false
|
||||||
})
|
})
|
||||||
dashboard.y = dpi(25)
|
dashboard.y = dpi(25)
|
||||||
dashboard.bg = "#00000000"
|
|
||||||
|
|
||||||
local slide = rubato.timed{
|
local slide = rubato.timed{
|
||||||
pos = dpi(-300),
|
pos = dpi(-300),
|
||||||
|
|
|
@ -98,8 +98,7 @@ client.connect_signal("request::titlebars", function(c)
|
||||||
|
|
||||||
awful.titlebar(c, {
|
awful.titlebar(c, {
|
||||||
position = "top",
|
position = "top",
|
||||||
size = beautiful.titlebar_size,
|
size = beautiful.titlebar_size
|
||||||
bg = "#00000000",
|
|
||||||
}):setup{
|
}):setup{
|
||||||
{ -- left
|
{ -- left
|
||||||
wrap_widget({
|
wrap_widget({
|
||||||
|
@ -126,8 +125,7 @@ client.connect_signal("request::titlebars", function(c)
|
||||||
|
|
||||||
awful.titlebar(c, {
|
awful.titlebar(c, {
|
||||||
position = "bottom",
|
position = "bottom",
|
||||||
size = dpi(24),
|
size = dpi(24)
|
||||||
bg = "#00000000"
|
|
||||||
}):setup{
|
}):setup{
|
||||||
bg = beautiful.darker_bg,
|
bg = beautiful.darker_bg,
|
||||||
shape = helpers.prrect(beautiful.border_radius, false, false, true, true),
|
shape = helpers.prrect(beautiful.border_radius, false, false, true, true),
|
||||||
|
|
|
@ -297,7 +297,7 @@ stats_tooltip = wibox({
|
||||||
screen = screen.primary,
|
screen = screen.primary,
|
||||||
height = beautiful.tooltip_height,
|
height = beautiful.tooltip_height,
|
||||||
width = beautiful.tooltip_width,
|
width = beautiful.tooltip_width,
|
||||||
shape = helpers.rrect(beautiful.tooltip_box_border_radius),
|
shape = helpers.rrect(beautiful.tooltip_border_radius),
|
||||||
bg = beautiful.transparent,
|
bg = beautiful.transparent,
|
||||||
ontop = true,
|
ontop = true,
|
||||||
visible = false
|
visible = false
|
||||||
|
|
|
@ -51,7 +51,7 @@ local get_taglist = function(s)
|
||||||
screen = s,
|
screen = s,
|
||||||
filter = awful.widget.taglist.filter.all,
|
filter = awful.widget.taglist.filter.all,
|
||||||
style = {
|
style = {
|
||||||
shape = helpers.rrect(dpi(10))
|
shape = helpers.rrect(beautiful.border_radius)
|
||||||
},
|
},
|
||||||
layout = {spacing = 0, layout = wibox.layout.fixed.vertical},
|
layout = {spacing = 0, layout = wibox.layout.fixed.vertical},
|
||||||
widget_template = {
|
widget_template = {
|
||||||
|
|
Loading…
Reference in a new issue