awesome icon indicating copy to clipboard operation
awesome copied to clipboard

Cant remove status bar

Open Blu3cr0ss opened this issue 2 years ago • 4 comments

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: image

Expected result: this is expected result but i havent reloaded awesomewm yet image Actual result: after reloading awesomewm: image 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 :)

Blu3cr0ss avatar Jan 26 '23 06:01 Blu3cr0ss

Speak Spanish?

kry16 avatar Feb 18 '23 21:02 kry16

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.

lyh970817 avatar Mar 10 '23 16:03 lyh970817

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 :)

Aire-One avatar Apr 02 '23 17:04 Aire-One

try restarting awesome with --no-argb - as it could be a redraw issue

actionless avatar May 06 '23 02:05 actionless