The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

full screen

asked 2014-09-03 11:05:07 +0000

anonymous user

Anonymous

Hi,

Is it possible to launch certain applications in full screen?

A bit more precisely: I use gitg to commit to git repos and the repeated steps I do are:

  1. type gitg in the root of the project I'm working on
  2. push Windows-F to put it in full screen, because it starts in tiling mode
  3. i have to adjust the border between the staging area and the commit message, because it gets shrinked while it was in tiling mode
  4. do the commit and exit

I would love to just type gitg and do the git commit, sparing the switchin to full screen and the border adjustment. All I need is to somehow tell i3 that gitg is an exception and it should be always launched in full screen mode.

Is this possible?

(Creating a key binding for gitg is not a solution here, because I have to launch it in the projects root directory. Once launching gitg and putting it to the scratchpad is also a nice thing, but not applicable here.)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-03 12:25:35 +0000

Adaephon gravatar image

You can use the for_window configuration to run commands automatically for windows that match certain criteria.

gitg windows for example have the WM_CLASS "Gitg". So if you add this to your ~/.i3/config:

for_window [class="^Gitg$"] fullscreen

any gitg window will be made fullscreen immediatelly.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-09-03 11:05:07 +0000

Seen: 158 times

Last updated: Sep 03 '14