Skip to content

Commit

Permalink
refactor: bar
Browse files Browse the repository at this point in the history
  • Loading branch information
saimoomedits authored May 19, 2022
1 parent 57dfb99 commit 4d0fc6a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .config/awesome/layout/bar/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ local dpi = beautiful.xresources.apply_dpi
-- misc/vars
-- ~~~~~~~~~

-- screen width
local screen_height = awful.screen.focused().geometry.height



Expand All @@ -25,6 +23,10 @@ local screen_height = awful.screen.focused().geometry.height
-- ~~~~~~~~~~~~~~~~~
awful.screen.connect_for_each_screen(function(s)

-- screen width
local screen_height = s.geometry.height




-- widgets
Expand Down Expand Up @@ -264,4 +266,4 @@ awful.screen.connect_for_each_screen(function(s)
margins = {top = dpi(10), bottom = dpi(14)}
}

end)
end)

0 comments on commit 4d0fc6a

Please sign in to comment.