[I3wm]推荐使用i3blocks代替i3status

i3blocks可定制性更高一些, 同时功能也不弱, debian下直接安装i3blocks就好.
贴一下我的配置

# Global properties
#
# The top properties below are applied to every block, but can be overridden.
# Each block command defaults to the script name to avoid boilerplate.
command=/usr/share/i3blocks/$BLOCK_NAME
separator_block_width=15
markup=none

[bitcoin]
label= 
command=curl https://www.okcoin.cn/api/v1/ticker.do\?symbol\=btc_cny | jq -r ".ticker.last"
interval=10

# CPU usage
#
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
[cpu_usage]
label=CPU
interval=10
#min_width=CPU: 100.00%

[load_average]
label= 
interval=1

[temperature]
label= 
interval=1

# Memory usage
#
# The type defaults to "mem" if the instance is not specified.
[memory]
label=MEM
color=#00FF00
interval=1

[memory]
label=SWAP
instance=swap
interval=10
separator=false

# Disk usage
#
# The directory defaults to $HOME if the instance is not specified.
# The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%).
[disk]
label=HOME
#instance=/mnt/data
interval=30

# Network interface monitoring
#
# If the instance is not specified, use the interface used for default route.
# The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
[iface]
label= 
#instance=wlan0
color=#00FF00
interval=1

[wifi]
label= 
#instance=wlp3s0
color=#00FF00
interval=1

[bandwidth]
#instance=eth0
interval=5

# Battery indicator
# The battery instance defaults to 0.
[battery]
label= 
interval=1
#instance=1

# Volume indicator
#
# The first parameter sets the step (and units to display)
# The second parameter overrides the mixer selection
# See the script for details.
[volume]
label= 
#instance=Master
command=amixer get Master | grep -E -o '[0-9]{1,3}?%' | head -1
interval=once
signal=1
#instance=PCM

[time]
label= 
command=date '+%Y-%m-%d %H:%M:%S'
interval=1
2 个赞

像我这种直接用DE的人,貌似没这种需求

啊, 本意是给使用i3status的用户的建议

刚发现用conky不错,支持的变量多。参考这篇文章
https://i3wm.org/docs/user-contributed/conky-i3bar.html

需要按照说明包装一下,让conky输出符合i3bar 的格式

swaygrab_20171206_203229