Skip to content

Instantly share code, notes, and snippets.

@mekhami
Last active March 12, 2016 16:28
Show Gist options
  • Select an option

  • Save mekhami/f5cf9700740d14ee717d to your computer and use it in GitHub Desktop.

Select an option

Save mekhami/f5cf9700740d14ee717d to your computer and use it in GitHub Desktop.
#i3blocks config file
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# command
# full_text
# instance
# interval
# label
# min_width
# name
# separator
# separator_block_width
# short_text
# signal
# urgent
# 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/lib/i3blocks/$BLOCK_NAME
separator_block_width=10
markup=none
# Spotify
[music]
label=
command=php ~/.config/i3/spotify.php
interval=10
# Volume indicator
[volume]
label=
instance=Master
interval=1
signal=10
[wifi]
instance=wlp2s0
interval=10
separator=false
[iface]
instance=wlp2s0
#instance=eno1
interval=10
separator=false
[load_average]
label=
interval=10
# CPU usage
[cpu_usage]
interval=1
min_width=50
separator=false
# temperature
[cpu_temp]
label=
command=sensors | grep 'CPU:' | awk '{print $2}' | sed -e 's/\+//g' -e 's/C//g'
interval=10
# Date Time
[date]
label=
command=date '+%a %m/%d'
interval=1
separator=false
[time]
command=date '+%H:%M:%S'
interval=1
separator=false
[battery]
interval=30
[lock]
full_text=Lock
command=i3lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment