-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Borders don't work in Dashboard #160
Comments
If anyone has any better solutions or any idea why |
Hi there, I believe the problem is that diff --git a/config/awesome/elemental/dashboard/amarena.lua b/config/awesome/elemental/dashboard/amarena.lua
index ff761c7..11c3b5a 100644
--- a/config/awesome/elemental/dashboard/amarena.lua
+++ b/config/awesome/elemental/dashboard/amarena.lua
@@ -55,6 +55,8 @@ local function create_boxed_widget(widget_to_be_boxed, width, height, bg_color)
box_container.forced_height = height
box_container.forced_width = width
box_container.shape = helpers.rrect(box_radius)
+ box_container.border_width = 10
+ box_container.border_color = "#FF0000"
-- box_container.shape = helpers.prrect(20, true, true, true, true)
-- box_container.shape = helpers.prrect(30, true, true, false, true) |
Hello, |
I have been putting together my own rice and I wanted to incorporate a dashboard into it. I had never programmed in lua before and I wasn't too familiar with all of the functions of the awesome libraries so I used elenapan's dashboard configuration as a base.
The thing is that my theme has borders on almost all windows and wibar components and I was looking to add borders to the dashboard widget boxes as well, but they do not show up. I used the
border_width
andborder_color
properties ofwibox.container.background()
, which I have used for all of my other borders, but again they simply do not show up. I also tried adding them to some widgets inside the box containers, such as around the profile picture, and I have the same issue. I have no idea why this happens.Here is my code for the
create_boxed_widget()
function, all I have added are lines 62 and 63, and a screenshot of how my dashboard looks with the respective code.(ignore the uneven spacing and margins on the weather and uptime widgets, im still working on those)
This is my entire code btw, it is still a mess, but just in case it clarifies anything.
config.txt
The text was updated successfully, but these errors were encountered: