Giter VIP home page Giter VIP logo

Comments (12)

japhir avatar japhir commented on August 23, 2024 1

I must have done something wrong, it works now!

I guess I already had the workspace open before reloading my config or something like that.

Thanks for the superfast reply!

from i3.

Airblader avatar Airblader commented on August 23, 2024

Probably a better idea would be

workspace $ws gaps …

similar to http://i3wm.org/docs/userguide.html#workspace_screen

from i3.

Airblader avatar Airblader commented on August 23, 2024

feature-workspace-gaps contains a first draft for workspace $ws gaps inner|outer <px>.

Problem: it currently only works correctly if the global gaps command was used before this directive.

from i3.

Airblader avatar Airblader commented on August 23, 2024

The branch should now hopefully work as intended. Was a bit more effort than I anticipated, but it's worth it. I'll use it for a while before merging it, though.

from i3.

Airblader avatar Airblader commented on August 23, 2024

Merged now.

from i3.

japhir avatar japhir commented on August 23, 2024

Sorry to open up this old issue, but is it possible to set both inner and outer gaps on a specific workspace?

i.e.

workspace 1 gaps inner 0
workspace 1 gaps outer 0

currently, it seems like it only takes the last option.

from i3.

Airblader avatar Airblader commented on August 23, 2024

This is supposed to work, yes, so if it doesn't that'd be a bug. Feel free to open one (and send a PR :-) )

from i3.

thexavier666 avatar thexavier666 commented on August 23, 2024

Sorry for replying on such an old post.
But to enable per workspace gap, I had to logout and login, instead of i3-msg restart. I was stuck with this for an hour.

Using i3 version 4.18.2-229-g234d6855

from i3.

Airblader avatar Airblader commented on August 23, 2024

@thexavier666 Logging out and in shouldn't be necessary, but you need to recreate the workspace, ie make sure it gets destroyed and then switch to it again. Logging out and in obviously achieves that as well.

from i3.

OopsYao avatar OopsYao commented on August 23, 2024

Sorry to reopen this again, is there any way to set gaps for a specific workspace from command? The current gap command only allows for setting of current and all workspaces, while the configuration file allows a specific workspace. Or is this on purpose?

from i3.

Airblader avatar Airblader commented on August 23, 2024

There's no command to set the gaps for a specific workspace at runtime, but you can always do

workspace --no-auto-back-and-forth foo, gaps inner current plus 5, workspace back_and_forth

from i3.

OopsYao avatar OopsYao commented on August 23, 2024

Thanks for the reply! It's a great workaround and satisfies my needs! But in my opinion it would be better to implement a command like that, it is more intuitive.

from i3.

Related Issues (20)

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.