Page 1 of 1

[OPEN] How to remove title bar at browser in awesome window manager ?

Posted: Sat Jan 19, 2019 6:54 am
by yoyothomas
using Xfce Desktop Environment > awesome wm
google-chrome
chromium
firefox

Re: [OPEN] How to remove title bar at browser in awesome window manager ?

Posted: Sat Jan 19, 2019 9:34 am
by erikdubois
We will investigate.

The menu is part of your theme and of the lua code.

We will get back to you.

Re: [OPEN] How to remove title bar at browser in awesome window manager ?

Posted: Sat Jan 19, 2019 11:03 am
by nickpetrov
could you provide us with a screenshot for what exactly you are trying to get rid of?
it's not exactly clear and would help us understand the issue better

Re: [OPEN] How to remove title bar at browser in awesome window manager ?

Posted: Sat Jan 19, 2019 11:48 am
by yoyothomas
https://ibb.co/TKVpHqB

i only want to use google-chrome title bar

Re: [OPEN] How to remove title bar at browser in awesome window manager ?

Posted: Sat Jan 19, 2019 12:56 pm
by nickpetrov
in your rc.lua you have to create a rule to get rid of the title bar. under awful.rules.rules like this:

Code: Select all

-- Titlebars
    { rule_any = { type = { "dialog", "normal" } },
      properties = { titlebars_enabled = false } }

Re: [OPEN] How to remove title bar at browser in awesome window manager ?

Posted: Sat Jan 19, 2019 1:38 pm
by yoyothomas
nickpetrov wrote:
Sat Jan 19, 2019 12:56 pm
in your rc.lua you have to create a rule to get rid of the title bar. under awful.rules.rules like this:

Code: Select all

-- Titlebars
    { rule_any = { type = { "dialog", "normal" } },
      properties = { titlebars_enabled = false } }
that will make all windows > titlebars_enabled = false
but i just want titlebars > disable only in google-chrome

Re: [OPEN] How to remove title bar at browser in awesome window manager ?

Posted: Sun Jan 20, 2019 12:05 pm
by nickpetrov
try a rule like this:

for chromium:

Code: Select all

{ rule = { class = "Chromium" },
  properties = { titlebars_enabled = false } }
for google-chrome:

Code: Select all

{ rule = { class = "google-chrome-stable" },
  properties = { titlebars_enabled = false } }

you can use xprop to get the exact name of the application

Re: [OPEN] How to remove title bar at browser in awesome window manager ?

Posted: Sun Jan 20, 2019 12:38 pm
by yoyothomas
nickpetrov wrote:
Sat Jan 19, 2019 12:56 pm
in your rc.lua you have to create a rule to get rid of the title bar. under awful.rules.rules like this:

Code: Select all

-- Titlebars
    { rule_any = { type = { "dialog", "normal" } },
      properties = { titlebars_enabled = false } }
"dialog", "normal"> titlebars_enabled = false = all windows > no titlebars
i want only google-chrome > no titlebar
but other windows have titlebars

Re: [OPEN] How to remove title bar at browser in awesome window manager ?

Posted: Sun Jan 20, 2019 1:01 pm
by nickpetrov
try a rule like this:

for chromium:

Code: Select all

{ rule = { class = "Chromium" },
  properties = { titlebars_enabled = false } }
for google-chrome:

Code: Select all

{ rule = { class = "google-chrome-stable" },
  properties = { titlebars_enabled = false } }

you can use xprop to get the exact name of the application


my last post above is only to remove title bars for google chrome or chromium