Fix tag preview closing + Update autorun, default layouts, tag-preview theme

This commit is contained in:
Hydroxycarbamide 2023-03-20 13:43:31 +01:00
parent 2401cfcee2
commit 8d0abe603d
6 changed files with 55 additions and 47 deletions

View file

@ -4,13 +4,13 @@ local beautiful = require "beautiful"
local bling = require "libs.bling"
bling.widget.tag_preview.enable {
show_client_content = true, -- Whether or not to show the client content
x = 10, -- The x-coord of the popup
y = 10, -- The y-coord of the popup
scale = 0.25, -- The scale of the previews compared to the screen
honor_padding = true, -- Honor padding when creating widget size
honor_workarea = true, -- Honor work area when creating widget size
placement_fn = function(c) -- Place the widget using awful.placement (this overrides x & y)
show_client_content = true, -- Whether or not to show the client content
x = 10, -- The x-coord of the popup
y = 10, -- The y-coord of the popup
scale = 0.25, -- The scale of the previews compared to the screen
honor_padding = true, -- Honor padding when creating widget size
honor_workarea = true, -- Honor work area when creating widget size
placement_fn = function(c) -- Place the widget using awful.placement (this overrides x & y)
awful.placement.bottom_left(c, {
margins = {
bottom = 45,
@ -19,10 +19,11 @@ bling.widget.tag_preview.enable {
parent = awful.screen.focused()
})
end,
background_widget = wibox.widget { -- Set a background image (like a wallpaper) for the widget
image = beautiful.wallpaper,
background_widget = wibox.widget { -- Set a background image (like a wallpaper) for the widget
image = "/home/eric/Pictures/wallpapers/96300930_p0_x4_esrgan.jpg",
horizontal_fit_policy = "fit",
vertical_fit_policy = "fit",
widget = wibox.widget.imagebox
widget = wibox.widget.imagebox
}
}
}