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