Skip to content

i3 users: Which status bar are you using and why?

I've been using i3status so far, but since it doesn't really seem to support colors, I'm considering a switch.

47 points27 comments
Open on Reddit
About this post
Posted
Archived
Score
47 · 100% up
Kind
Text
ID
37da4o

Author

18
posts
90
comments
1
media
View profile

33 comments

I'm running i3 bar with i3 blocks which makes it easy to write or use different modules for the bar and they can be clickable. I have mine set up so my volume can be changed by mousing over the part of the bar that shows my current volume and scrolling. Also modules are language agnostic so they can be written in pretty much any scripting language. You can look at some examples and check out the documentation here https://github.com/vivien/i3blocks

19 points

I'm also using i3blocks. It was really easy to make a custom memory monitor with colors when it gets too high. (It's on a tiny VM.) I haven't played with the mouse functionality yet, because I'm lazy, but it's solid. :)

8 points

+1, also the creator is really open-minded when it comes to contributions, so you can provide your new block ideas either as contrib scripts or on the wiki. You should indeed check the bar examples of some of its users.

3 points

You have mentioned the Arch Linux wiki page Blocklets.

No article with this name could be found.


You have mentioned the Arch Linux wiki page Users.

Users and groups

Users and groups are used on GNU/Linux for access control — that is, to control access to the system's files, directories, and peripherals. Linux offers relatively simple/coarse access control mechanisms by default. For more advanced options, see ACL and LDAP Authentication.


This is an /r/ArchLinux link bot [v1.0.3]. More info: http://redd.it/2snl5x

1 points

You have mentioned the Arch Linux wiki page Blocklets.

No article with this name could be found.


You have mentioned the Arch Linux wiki page Users.

Users and groups

Users and groups are used on GNU/Linux for access control — that is, to control access to the system's files, directories, and peripherals. Linux offers relatively simple/coarse access control mechanisms by default. For more advanced options, see ACL and LDAP Authentication.


This is an /r/ArchLinux link bot [v1.0.3]. More info: http://redd.it/2snl5x

1 points

I might switch from i3pystatus for this one... I'll give it a go in a few.

1 points

bar-aint-recursive because i3bar doesn't/didn't support background colors; together with powerline (I wrote the powerline bindings just for this).

I do it this way because powerline is awesome and I can have a streamlined system like this. Also the colors are synced via the same powerline config. It's also really easy to extend and configure.

Here are screenshots from my setup a few months back: http://imgur.com/a/wPwnE

9 points

In case you are wondering: https://i.imgur.com/yKBQ4YQ.png this is pretty much what I want to do with the bar.

3 points

I am running normal i3bar with just piped conky. Very easy to implement and supports colors. Looks the same as the pic you posted but with the volume meter and with memory usage meter , different font and colors.

4 points

I'm also using i3bar + conky.

Colored stuff change colors for visual feedback:

  • C and R for the CPU/RAM use (green <= 25%, yellow <=75%, red >75%).
  • /, ~, S and WS represent used space in different partitions (again, green <= 25%, yellow <=75%, red >75%).
2 points

Anyone know what the font used in the screenshot is?

1 points

i3pystatus because it is so modular. I highly recommend it. It is much better than piping conky and it can do everything you need. And even if it can't, someone can just write a module to give it the ability you need

3 points

Screenshot

Wrote my own in bash:

#!/usr/bin/env bash

# Colour names
WHITE=ffffff
LIME=00ff00
GRAY=666666
YELLOW=ffff00
MAROON=cc3300

# Set delimiter to just newlines, instead of any white space
IFS=$'\n'

# text <string> <colour_name>
function text { output+=$(echo -n '{"full_text": "'${1//\"/\\\"}'", "color": "#'${2-$WHITE}'", "separator": false, "separator_block_width": 1}, ') ;}
# sensor <device> <sensor>
function sensor { echo "$SENSORS" | awk '/^'${1}'/' RS='\n\n' | awk -F '[:. ]' '/'${2}':/{print$5}' ;}

echo -e '{ "version": 1 }\n['
while :; do
    WINDOW=( $(xprop -id $(xprop -root _NET_ACTIVE_WINDOW | cut -d\  -f5) _NET_WM_NAME WM_CLASS | sed 's/.*\ =\ "\|\",\ \".*\|"$//g;s/\\\"/"/g') )
    MPD=( $(mpc -f ' [%title%|%file%]\n %artist%\n %album%') )
    STATE=$([[ ${MPD[3]/ *} == '[playing]' ]] && echo ' ♪ ▸' || echo ' ♪ װ')
    VOLUME=$(echo ${MPD[4]} | cut -d\  -f2)
    SENSORS="$(sensors -Au)"
    CPU=$(sensor k10 temp1_input) # amdk10
    RAM=$(awk '/MemTotal:/{total=$2}/MemAvailable:/{free=$2;print int(100-100/(total/free))}' /proc/meminfo)
    GPU=$(nvidia-smi -q -d TEMPERATURE | awk '/GPU Current Temp/{print$5}') # nvidia
    #GPU=$(sensor nouveau temp1_input)  # nouveau
    MB1=$(sensor w83627dhg temp1_input)
    MB2=$(sensor w83627dhg temp2_input)
    MB3=$(sensor w83627dhg temp3_input)
    #FPS=$(tail -1 /tmp/voglperf.steam.*.csv) # Need to find an ideal way to setup vogl to run on demand
    DATE=$(date '+%F %T')

    output=''
    text ${WINDOW[1]}\  $GRAY
    text ${WINDOW[0]}
    if [[ ${MPD[0]} != ' ' ]]; then
        text $STATE  $LIME
        text ${MPD[0]}
        if [[ ${MPD[1]} != ' ' ]]; then
            text ' by'   $GRAY
            text ${MPD[1]}
        fi
        if [[ ${MPD[2]} != ' ' ]]; then
            text ' on'   $GRAY
            text ${MPD[2]}
        fi
        text ' for ' $GRAY
        text ${MPD[3]/*  }
        text ' at '  $GRAY
        text $VOLUME
    fi
    text ' ⚡' $YELLOW
    text ' CPU ' $GRAY
    text "$CPU°c"
    text ' RAM ' $GRAY
    text "$RAM%"
    text ' MB ' $GRAY
    text "$MB1"
    text '|' $GRAY
    text "$MB2"
    text '|' $GRAY
    text "$MB3°c"
    text ' GPU ' $GRAY
    text "$GPU°c"
    #text ' FPS ' $GRAY
    #text "$FPS"
    text ' ☕ ' $MAROON
    text "$DATE"
    echo -e "[${output%??}],"
    sleep 0.1
done
2 points

I use i3bar with i3pystatus. There are quite a few handy modules already and it is dead easy to write your own. i3pystatus also supports clickable and scrollable modules which is great for volume etc. Another awesome thing is the unicode graphs as I missed having graphs to keep an eye on the system state.

1 points
unknown author

Deleted before we saved it.

1 points

I'm using i3bar with py3status so that I can write my own modules.

i3bar does support colours, though. (Although I wish it supported an alpha channel specification for the background. There is a patch out there somewhere, but I've never got around to trying it.)

1 points

I use i3blocks, I like it so far but I'm thinking of trying out lemon bar because of the look

1 points

I recently started using lemonbar, due to the fact that my conky setup was too clunky. Its really nice to use, and quite configurable.

1 points

i3pystatus as well. Very easy configuration, I like Python, more colors and I can do everything with it that I need.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.