Giter Club home page Giter Club logo

Comments (4)

intrntbrn avatar intrntbrn commented on June 6, 2024

smart_borders is currently ignoring titlebars_enabled or request_no_titlebar client properties.
Please post your rules.

from smart_borders.

intrntbrn avatar intrntbrn commented on June 6, 2024

I've just pushed an update.

titlebars_enabled property changes are now handled by smart_borders.

It's now to possible to toggle titlebars dynamically:

echo "client.focus.titlebars_enabled = false" | awesome-client

Please let me know if the update fixes your issue.

from smart_borders.

aberwenig avatar aberwenig commented on June 6, 2024

Hi, thanks for the update. I applied it but I see no difference. This is what happens:

(In my original post I mentioned the "new e-mail" notifier I use, but it's difficult to test with that, so I tested with 'xcalc'.)

If I type 'xcalc' in a terminal to start an 'xcalc' client, it shows up initially with smart_borders. If I use the keyboard shortcut to show the titlebar, the titlebar is shown and the smart_borders are gone. If I use the same keyboard shortcut again, then the titlebar is gone but the smart_borders do not reappear, so the 'xcalc' window is left with no borders at all. This is the state I would like the window to appear in the first place: no borders at all.

The behavior described above is the same on a machine where I did not apply the update, so I don't know what the update does.

I have these lines in my 'rc.lua':

{ rule = { class = "XCalc" },
  properties = { border_width = 0 },
    callback = function (c)
        awful.placement.centered(c, nil)
        awful.titlebar.add(c, { modkey = modkey})
        awful.titlebar.show(c)
    end },

I tried commenting out one or the other or both of the 2 lines with 'titlebar' in them, but I see no change.

Thanks.

from smart_borders.

intrntbrn avatar intrntbrn commented on June 6, 2024

Please pull the latest update.
Instead of the titlebars_enabled property there is now a disable_smart_borders client property.

If you want to disable smart_borders for a certain client, you just have to set the client property disable_smart_borders to true.
You can verify this by running the following command in your terminal:

echo "client.focus.disable_smart_borders = true" | awesome-client

I've also added an example in README.md on how to define rules:
https://github.com/intrntbrn/smart_borders/blob/master/README.md#disable

from smart_borders.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.