WillPower3309 / awesome-dotfiles

Dotfiles for awesome people using the awesomewm linux environment
1.17k stars 68 forks source link

Make titlebar, sidebar and top-panel smaller #43

Closed Uzaaft closed 3 years ago

Uzaaft commented 3 years ago

Hi!

Great work with the config! I am just wondering if there is a way to make the width of some of the elements smaller? I find the elements to be too big for my taste.

WillPower3309 commented 3 years ago

Absolutely! Go to awesome/theme/WHATEVER_THEME_YOURE_USING.lua (i suspect mirage based on the titlebars), and lower the dpi values in:

-- Panel Sizing
theme.left_panel_width = dpi(60)
theme.top_panel_height = dpi(30)

For the titlebars, lower the dpi value in awesome/components/mirage/titlebar.lua:

   local titlebar = awful.titlebar(c, {
      size = dpi(30)
   })
WillPower3309 commented 3 years ago

I'll be updating the config to have the titlebar dpi in the theme file as well, thanks for making me realize this!

WillPower3309 commented 3 years ago

Might add a section to the README about this as well

Uzaaft commented 3 years ago

Sweet! Thank you for the help!

WillPower3309 commented 3 years ago

No problem, glad I was able to help

WillPower3309 commented 3 years ago

If the button sizing gets weird, you can change their dpi in the same awesome/components/mirage/titlebar.lua file.