The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

How to make a window/container smaller then the workspace size?

asked 2014-04-24 12:35:43 +0000

abbot gravatar image

I've got a large monitor, and when I have just one open terminal window, I don't want it to occupy the whole monitor, I want it to take say only half of it. How can I do that? The best workaround so far I found is to open two terminal windows, one of which is used only as a space holder.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-04-24 12:36:53 +0000

badboy_ gravatar image

In i3 that would be the way to go. Another would be to use a floating window (I don't really recommend it). i3 is specifically designed to always use the whole screen.

edit flag offensive delete link more

answered 2014-04-24 19:52:44 +0000

KJ44 gravatar image

updated 2014-04-24 19:53:56 +0000

Make a (tabbed) terminal floating and use the scratchpad so you can bring it up over any workspace as needed.

# Scratchpad terminal.
# Using a custom title string with criteria is deliberate and keeps things simple. 
exec --no-startup-id terminator -l KJ -T "Life is beautiful."
for_window [instance="terminator" title="Life"] floating enable, move scratchpad, scratchpad show;
for_window [instance="terminator" title="Life"] resize grow left 300, resize grow right 300, resize grow down 150, resize grow up 100, move scratchpad;
bindsym Menu  [instance="terminator" title="Life"] scratchpad show
bindsym Print [instance="terminator" title="Life"] scratchpad show
edit flag offensive delete link more


I bind to both Menu and Print because Menu on a desktop keyboard and Print on my Thinkpad are in similar positions, hence I don't disturb my "muscle memory".

KJ44 gravatar imageKJ44 ( 2014-04-24 19:57:35 +0000 )edit

Question Tools


Asked: 2014-04-24 12:35:43 +0000

Seen: 3,669 times

Last updated: Apr 24 '14