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

Creating a custom i3status

asked 2015-07-31 08:16:35 +0000

a_flamethrowing_duck gravatar image

updated 2015-07-31 09:38:05 +0000

Right, now I've read trough the man page of i3status and I'm a little confused.

If I wanted to add a few things, not implemented by i3status (Current up/download speed, ram usage, custom openvpn status) I need to use some other tool?

I hoped to just have scripts which produce the desired stdout, which again is appended to i3status.

I've come across a nice configuration, which uses conky to display the custom bar, but then I'd have the problem that (I assume) I would be missing the workspaces on the left and the tray icons on the right. And I still haven't fully understood the functionality of the my_i3status.sh mentioned in the man pages.

Let's say I have scripts producing a minimal stdout, how can I append these to the i3status?

edit: I'd also like to know how I may use a custom font (e.g awesome)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-07-31 10:49:49 +0000

Airblader gravatar image

This is a common misunderstanding. There are two tools involved:

  • i3bar is the bar that comes with i3. It's responsible for displaying workspace buttons, the system tray and a status line. How the status line data is fed to it can be configured.
  • i3status is a tool that simply spits out system information in a few different formats. Its output can be fed to i3bar.

So what you want to do is keep using i3bar, but replace i3status. For example, you could use i3blocks which allows you to define the individual blocks based on scripts. You'll still have workspace buttons and a system tray.

edit flag offensive delete link more

Comments

thank you very much! Can you recommend a nice i3blocks guide and possibly scripts to imitate the classic i3status output?

a_flamethrowing_duck gravatar imagea_flamethrowing_duck ( 2015-07-31 12:47:31 +0000 )edit
1

i3blocks comes with a bunch of ready-to-go blocklets and has a good wiki on Github. I'd just look at that. :)

Airblader gravatar imageAirblader ( 2015-07-31 13:13:57 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2015-07-31 08:16:35 +0000

Seen: 333 times

Last updated: Jul 31