i3fyra - a few questions after using it #219

Open
opened 2025-04-26 12:49:32 +00:00 by TimRegeant · 2 comments
TimRegeant commented 2025-04-26 12:49:32 +00:00 (Migrated from github.com)

I am trying out i3fyra and it seems pretty convenient so far. I have a few questions:

  1. Is there a way to show the container id on the title bar of a window? For example if Thunar is on container D it would show "D: Thunar" instead of simply "Thunar". Then if I moved it to say container A the title bar would change to "A: Thunar". This would help me get a handle of which containers are in use as I experiment with how i3fyra handles container/window movements.

  2. Could windows be "locked: to containers somehow? Say I want firefox to always be in container C so it will never move from that container.

  3. Is it best to use i3-save-tree and append-layout to save/restore layouts at i3 start? Will this work to setup the i3fyra layout or is there another method?

Thanks!

I am trying out i3fyra and it seems pretty convenient so far. I have a few questions: 1) Is there a way to show the container id on the title bar of a window? For example if Thunar is on container D it would show "D: Thunar" instead of simply "Thunar". Then if I moved it to say container A the title bar would change to "A: Thunar". This would help me get a handle of which containers are in use as I experiment with how i3fyra handles container/window movements. 2) Could windows be "locked: to containers somehow? Say I want firefox to always be in container C so it will never move from that container. 3) Is it best to use i3-save-tree and append-layout to save/restore layouts at i3 start? Will this work to setup the i3fyra layout or is there another method? Thanks!
budRich commented 2025-04-26 22:27:27 +00:00 (Migrated from github.com)

Thanks for trying i3fyra!

  1. There is always a way. One could write a script that gets triggered when a new window is getting focused and update the title_format. But i3 ipc subscribe is not notified when one simply moves a window, so it will not be bullet proof. A simpler approach would be to make a script that updates the title_format on all visible windows when triggered (from a keybinding or similar). You can achieve this by using the output of i3list .

  2. no

  3. i3fyra is an alternative to i3-save-tree/append-layout and i don't think they will work well together. I would recommend using i3king to automatically place windows in i3fyra containers when they are created.

# ~/.config/i3king/rules

set $TC exec --no-startup-id i3fyra --conid $CONID --move 

class=firefox-developer-edition
  $TC C

To keep the same layout add something like this to your i3 config:

exec --no-startup-id i3fyra --layout 'AB=1461 AC=127 BD=461'
Thanks for trying i3fyra! 1. There is always a way. One could write a script that gets triggered when a new window is getting focused and update the title_format. But i3 ipc subscribe is not notified when one simply moves a window, so it will not be bullet proof. A simpler approach would be to make a script that updates the title_format on all visible windows when triggered (from a keybinding or similar). You can achieve this by using the output of `i3list` . 2. no 3. i3fyra is an alternative to i3-save-tree/append-layout and i don't think they will work well together. I would recommend using `i3king` to automatically place windows in i3fyra containers when they are created. ``` # ~/.config/i3king/rules set $TC exec --no-startup-id i3fyra --conid $CONID --move class=firefox-developer-edition $TC C ``` To keep the same layout add something like this to your i3 config: ``` exec --no-startup-id i3fyra --layout 'AB=1461 AC=127 BD=461' ```
TimRegeant commented 2025-04-28 13:02:12 +00:00 (Migrated from github.com)

Thanks for the replies. I'll continue to look into everything. I need to rewatch all the youtube videos after using the i3ass system for a bit.

Thanks for the replies. I'll continue to look into everything. I need to rewatch all the youtube videos after using the i3ass system for a bit.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bud/i3ass#219
No description provided.