🩹 fix(awesome): Awesome tweaks
This commit is contained in:
parent
2b632ca6a6
commit
f2327000cb
4 changed files with 5 additions and 21 deletions
|
@ -104,7 +104,7 @@ local create_exit_screen = function(s)
|
|||
type = "splash",
|
||||
visible = false,
|
||||
ontop = true,
|
||||
bg = theme.transparent,
|
||||
bg = theme.color.transparent,
|
||||
fg = theme.fg_normal,
|
||||
height = s.geometry.height,
|
||||
width = s.geometry.width,
|
||||
|
|
|
@ -15,7 +15,7 @@ local theme = {}
|
|||
theme.color = {}
|
||||
|
||||
-- Transparent Color --
|
||||
theme.transparent = "#00000000"
|
||||
theme.color.transparent = "#00000000"
|
||||
|
||||
-- Base --
|
||||
theme.color.crust = palette.crust.hex
|
||||
|
@ -117,8 +117,8 @@ theme.snap_shape = helpers.ui.rrect(0)
|
|||
theme.hotkeys_shape = helpers.ui.rrect(12)
|
||||
theme.hotkeys_border_color = theme.color.accent1
|
||||
theme.hotkeys_modifiers_fg = theme.color.overlay2
|
||||
theme.hotkeys_font = helpers.ui.set_font("9", theme.font)
|
||||
theme.hotkeys_description_font = helpers.ui.set_font("9", theme.font)
|
||||
theme.hotkeys_font = helpers.ui.set_font("10", theme.font)
|
||||
theme.hotkeys_description_font = helpers.ui.set_font("10", theme.font)
|
||||
|
||||
-- Layoutlist
|
||||
theme.layoutlist_shape_selected = helpers.ui.rrect(7)
|
||||
|
|
|
@ -139,7 +139,7 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
|||
width = volume_osd_width,
|
||||
maximum_height = volume_osd_height,
|
||||
maximum_width = volume_osd_width,
|
||||
bg = theme.transparent,
|
||||
bg = theme.color.transparent,
|
||||
offset = dpi(5),
|
||||
border_width = dpi(3),
|
||||
border_color = theme.color.surface0,
|
||||
|
|
|
@ -5,22 +5,6 @@ local xresources = require("beautiful.xresources")
|
|||
|
||||
local dpi = xresources.apply_dpi
|
||||
|
||||
--- Rounded Corners Client Side ---
|
||||
-- Use Picom If you Can --
|
||||
local function shapemanager(c)
|
||||
c.shape = function(cr, w, h)
|
||||
if not c.fullscreen and not c.maximized then
|
||||
gears.shape.rounded_rect(cr, w, h, 15)
|
||||
else
|
||||
gears.shape.rounded_rect(cr, w, h, 0)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
client.connect_signal("property::fullscreen", function(c)
|
||||
shapemanager(c)
|
||||
end)
|
||||
|
||||
-- Add a titlebar if titlebars_enabled is set to true in the rules.
|
||||
client.connect_signal("request::titlebars", function(c)
|
||||
-- buttons for the titlebar
|
||||
|
|
Loading…
Reference in a new issue