Re: [i3] tray_output for primary display

  • From: José Luis Pereira <onaips@xxxxxxxxx>
  • To: i3-discuss@xxxxxxxxxxxxx
  • Date: Sun, 18 Mar 2012 13:34:43 +0000

Thanks for your anwer. I would like to implement the feature, i have fairly
good C knowledge for this. Would you give me some guidelines?
I have been looking into the code and i found out that the modification
should be in xbc.c on i3bar source, am i right?
I realized i3bar uses ipc to communicate with i3wm, therefore i'm not sure
if this is the right place to modify... Also, i do not know how should i
get the primary display from xrandr..

Best


On Sat, Mar 17, 2012 at 9:45 PM, José Luis Pereira <onaips@xxxxxxxxx> wrote:

Hello all,

I'm a new user of i3wm, and i am very pleased with it, thank you for
writing such a good piece of software!
However, i want to use the same config file for my pcs, and some of them
do not feature the same display name, i cannot have a generic file for
i3bar.
Is it easy to implement something like:

bar {
tray_output primary
}
Instead of the former "none" or display name?

Best Regards

------
José Pereira
Personal blog <http://www.onaips.com>




Other related posts: