title: How to toggle the titlebar in AwesomeWM?
body: <p>I am trying to modify my rc.lua file the following way: when I press Mod4+R, AwesomeWM keybinding for running a command, I want Rofi to appear, blur my wallpaper and hide everything from my screen. I only want the Rofi prompt over a blurred wallpaper to be seen.</p>
  
  <p>To achieve this, I have the following code in my conf file. I am using AwesomeWM v3.5.9 (Mighty Ravendark) with Lua 5.3.3:</p>
  
  <pre><code>--From PROmpt COMmand:
  procom = "rofi -show run"
  
  awful.key({ modkey }, "r", function () awful.util.spawn(procom)
  
      for _,c in ipairs(client.get()) do
          if c:isvisible() then
              mywibox[mouse.screen].visible = not mywibox[mouse.screen].visible 
          else 
              mywibox[mouse.screen].visible = mywibox[mouse.screen].visible 
          end
      end
  
  end),
  </code></pre>
  
  <p>Restarting AwesomeWM won't complain at all, but my wibox won't disappear. If I change the code into something trivial (i.e. <code>if mywibox[mouse.screen],visible</code> as the conditional statement), the <em>widgets</em> will go away, but an empty black bar will stay there even if I quit Rofi, only returning to its initial state when summoning Rofi again (that is caused by the statement I initially made, that's why I considered as trivial).</p>