Re: [i3] How to restart i3bar?

2012-03-27 Thread Axel Wagner
Hi, how about $ i3 restart or (if you don't want to restart the whole of i3) $ i3 reload $ BARS=$(ps -C i3bar -o args=) $ killall i3bar And then execute every line of $BARS again (I'm not that good in shellscripting, sorry)? Regards, Axel signature.asc Description: PGP signature

[i3] How to restart i3bar?

2012-03-27 Thread i3 . thegrue
Hello, what's the right way to restart i3bar? I would like to play with the colours... That's what I came up with, but it's ugly: i3-msg -t command reload killall i3bar bar_id=$(i3-msg -t get_bar_config) i3bar --bar_id=${bar_id:2:10} --socket=/tmp/i3-gru.G1lmRw/ipc-socket.2387 & btw. I'm