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

Custom layout for Pidgin

asked Jul 16 '12

0x000000 gravatar image

I'm trying to figure out how to make the Pidgin windows into a dock-style thing. Conversation window on the left of a workspace, taking up about 80%. Buddy list on the right taking up the remaining 20%. These are the rules I've come up with, but nothing seems to happen when I launch Pidgin:

for_window [window_role="buddy_list"] focus; resize shrink width 50 ppt
for_window [window_role="conversation"] focus; move absolute left

I should note that the i3 user guide doesn't explicitly say what "absolute" does, but it seems to make another 50/50 layout work for me (or maybe I'm just lucky).

3 answers

Sort by » oldest newest most voted
0

answered Aug 11 '12

psvo gravatar image

Following works for me. I have only Pidgin on desktop and only one conversation window with tabs.

for_window [class="^Pidgin$" window_role="^conversation$"] resize grow width 0 px or 30 ppt

Comments

Ahhh thanks, this fixes the size problem, but how can i force the buddy list window to be on the right side?

styx gravatar imagestyx (Aug 20 '12)edit

for_window [class="^Pidgin$" window_role="^conversation$"] resize grow width 0 px or 30 ppt; move left I *think* this should work, but I feel like if the conversation window pops up while you're focused on another window, it might move the focused window left instead of the convo window.

0x000000 gravatar image0x000000 (Aug 31 '12)edit

for_window [class="^Pidgin$" window_role="^conversation$"] resize grow width 0 px or 30 ppt; move left

0x000000 gravatar image0x000000 (Aug 31 '12)edit
0

answered Aug 8 '12

styx gravatar image

Im also very interested in this. Does someone have a solution?

0

answered Jul 16 '12

Michael gravatar image

move absoluteis only for floating windows (and it emits a warning in the logfile, see http://i3wm.org/docs/debugging.html ). In general, there is something fishy going on with for_window and these kinds of commands, but I haven’t looked into it yet.

Comments

Right on, thanks. But is there a way to do what I want to do?

0x000000 gravatar image0x000000 (Jul 31 '12)edit

Question Tools

Stats

Asked: Jul 16 '12

Seen: 2,664 times

Last updated: Aug 11 '12