Comments (12)
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.
Probably a better idea would be
workspace $ws gaps …
similar to http://i3wm.org/docs/userguide.html#workspace_screen
from i3.
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.
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.
Merged now.
from i3.
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.
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.
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.
@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.
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.
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.
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)
- keybinding to make new workspace independent of mod+1,2,3,4 etc.
- Google Chrome tab dragging creates a new window HOT 1
- firefox not opening in configured workspaces when opened with startup scripts HOT 2
- High CPU usage of i3bar when using i3xrocks
- Focusing a floating window causes smart gaps to appear HOT 1
- Ubuntu/PopOs 22.04 installation not working HOT 1
- No man pages in Debian package HOT 1
- Outdated Fedora 36 repo package HOT 2
- Gaps disappear after switching layouts back to split HOT 1
- Looking for a maintainer HOT 9
- i3-msg exit is not logging out of X session.
- Child container loses gaps HOT 2
- Feature Request: Extension to hide_edge_borders to hide gaps too HOT 4
- i3-Gaps Static build. HOT 2
- pure mouse resizing from the gaps (like when dragging from the window borders) HOT 1
- After a new release, some apps show titlebars when they shouldn't HOT 1
- exec_always not working HOT 1
- `default_border` setting no longer works HOT 1
- Thicker border on top of alacritty HOT 1
- Project status
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3.