raexera / yoru

A custom Linux environment built on AwesomeWM
GNU General Public License v3.0
3.48k stars 198 forks source link

[Question] How to change panel position to top? #82

Closed shivamnaik39 closed 2 years ago

shivamnaik39 commented 2 years ago

I moved the bottom panel/bar on top and accordingly changed other items such as notification, centre panel, dashboard on top... but I couldn't get the windows to move down, They overlap the newly moved top bar. What changes I need to make so that the windows are placed properly at bottom and do not overlap the top bar, right now there is empty space at bottom.

Deathemonic commented 2 years ago

edit this line

s.top_panel:struts({
        bottom = s.top_panel.maximum_height,
    })

from ui/panels/bottom-panel/init.lua to

s.top_panel:struts({
        top = s.top_panel.maximum_height,
    })
polsust commented 2 years ago

Hey @shivamnaik39 can you post all the modifications you had to make? I'm trying to do the same

gallantcrusader commented 2 years ago

Vouch @shivamnaik39 please post them

gallantcrusader commented 2 years ago

panel-fixes.zip Here @PolSust I have fixed them, just drop it into ~/.config/awesome/ui/panels also the battery widget is disabled within, so you'll have to uncomment that

dmguezjaviersnet commented 2 years ago

I was looking exactly for this, thank you guys !!

Deathemonic commented 2 years ago

@rxyhn this is now closed