awesome
awesome copied to clipboard
Cant remove status bar
Output of awesome --version
:
awesome v4.3 (Too long)
• Compiled against Lua 5.3.6 (running with Lua 5.3)
• D-Bus support: ✔
• execinfo support: ✔
• xcb-randr version: 1.6
• LGI version: 0.9.2
How to reproduce the issue:
just make statusbar invisible in config for example
s.mywibox = awful.wibar({ position = "bottom", screen = s, visible = false})
or just comment this out
-- Create the wibox
s.mywibox = awful.wibar({ position = "bottom", screen = s, visible = true})
-- Add widgets to the wibox
s.mywibox:setup {
layout = wibox.layout.align.horizontal,
{ -- Left widgets
layout = wibox.layout.fixed.horizontal,
mylauncher,
s.mytaglist,
s.mypromptbox,
},
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
mykeyboardlayout,
wibox.widget.systray(),
mytextclock,
s.mylayoutbox,
},
}
so on my machine when i hiding statusbar all my ui is hidding completely (i still can interact with apps but they are invisible)
my machine:
Expected result:
this is expected result but i havent reloaded awesomewm yet
Actual result:
after reloading awesomewm:
this method is works tho:
awful.key({ modkey }, "b",
function() hideStatusBar() end,
{description = "toggle statusbar"}
)
function hideStatusBar ()
myscreen = awful.screen.focused()
myscreen.mywibox.visible = not myscreen.mywibox.visible
end
but only on key press.but i want to make statusbar hidden on startup (same result ^ when just invoking hideStatusBar function) sorry for terrible english :)
Speak Spanish?
I seem to have a somewhat relevant problem. When I try to hide the "status bar" or wibar using these said methods without key press, on startup I see an empty greyish screen (not the wallpaper), but as soon as I open an app with a keyboard shortcut (e.g. terminal) everything starts working normally.
Hello, sorry for the late reply.
@Blu3cr0ss, can you please post your rc.lua
before and after the "statusbar removal" modifications?
@lyh970817, are you sure you removed the whole s.mywibox
code from your config file?
Note that for this kind of support, it's sometime easier to join communities on Reddit and/or Discord. The people on these platforms provide a good help to new users :)
try restarting awesome with --no-argb - as it could be a redraw issue