summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.lua b/rc.lua
index c71df5d..7da589a 100644
--- a/rc.lua
+++ b/rc.lua
@@ -74,6 +74,8 @@ mypromptbox = {}
local wsp = workspace.Workspace:new(layouts)
for s in screen do
+ local panel_width = beautiful.xresources.apply_dpi(128, s)
+
wsp:view(s, s.index, 1)
-- Create a promptbox for each screen
@@ -114,7 +116,7 @@ for s in screen do
layout:set_bottom(layout_bottom)
-- Create the wibox
- mywibox[s] = awful.wibar({ position = "right", screen = s, width = 128 })
+ mywibox[s] = awful.wibar({ position = "right", screen = s, width = panel_width })
mywibox[s]:set_widget(layout)
end