diff options
author | Tim Keller <tjkeller.xyz> | 2025-04-12 19:32:19 -0500 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2025-04-12 19:32:19 -0500 |
commit | 6a4e7e1e90e53fd7b4af50b971814fa290d2f5f2 (patch) | |
tree | 6d8c2648b24afbe7acda65fb3b8e8024e75a39e0 /lib | |
parent | 507b819c9c9f6e77e8137f7a663e08da5e38908e (diff) | |
download | awesome-6a4e7e1e90e53fd7b4af50b971814fa290d2f5f2.tar.xz awesome-6a4e7e1e90e53fd7b4af50b971814fa290d2f5f2.zip |
add beautiful margins
Diffstat (limited to 'lib')
-rw-r--r-- | lib/wiboxtooltip.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/wiboxtooltip.lua b/lib/wiboxtooltip.lua index c101f92..be56a1f 100644 --- a/lib/wiboxtooltip.lua +++ b/lib/wiboxtooltip.lua @@ -3,9 +3,6 @@ local wibox = require("wibox") local beautiful = require("beautiful") local gears = require("gears") -local margin_leftright = beautiful.xresources.apply_dpi(5) -local margin_topbottom = beautiful.xresources.apply_dpi(3) - -- TODO more args -- TODO use tooltip theme vars function create_wibox_tooltip(parent, widget) @@ -14,8 +11,8 @@ function create_wibox_tooltip(parent, widget) popup = awful.popup { widget = wibox.container.margin ( widget, - margin_leftright, margin_leftright, - margin_topbottom, margin_topbottom + beautiful.margin_leftright, beautiful.margin_leftright, + beautiful.margin_topbottom, beautiful.margin_topbottom ), ontop = true, visible = false, |