Skip to content

Instantly share code, notes, and snippets.

@starkers
Created July 12, 2017 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save starkers/73ebe1cfbcb313c1776a95dca71b78ef to your computer and use it in GitHub Desktop.
Save starkers/73ebe1cfbcb313c1776a95dca71b78ef 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
# background
# border
# command
# full_text
# instance
# interval
# label
# min_width
# name
# separator
# separator_block_width
# short_text
# signal
# urgent
align=center
# color=#666666
separator=false
separator_block_width=12
border_top=0
border_left=0
border_right=0
border_bottom=2
# 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=15
markup=none
[separator]
# 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=VOL
label=♪⁣
instance=Master
#instance=PCM
interval=once
signal=10
color=#f7f7ef
border=#e75959
[separator]
[brightness]
label=
command=printf "%.0f " $(xbacklight -get)
interval=10
signal=2
color=#f7f7ef
border=#638bd0
[separator]
# [temperature]
# label=
# command=echo "$($HOME/.config/i3/scripts/temperature.sh cpu) "
# interval=5
# [separator]
[wireless]
label= 
command=[[ -z "$(iwgetid -r)" ]] || echo "$(iwgetid -r) "
interval=2
color=#f7f7ef
border=#68c799
[separator]
[battery]
label= 
command=$HOME/.config/i3/scripts/battery.sh
interval=persist
color=#f7f7ef
border=#9a7cd1
#border=#458588
# Memory usage
#
# The type defaults to "mem" if the instance is not specified.
[memory]
label=MEM:
separator=false
interval=10
color=#f7f7ef
border=#e75959
# 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=
#instance=/mnt/data
interval=30
color=#f7f7ef
border=#638bd0
[separator]
# CPU usage
#
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
[cpu_usage]
label=:
interval=3
min_width=CPU: 100.00%
#separator=false
color=#f7f7ef
border=#68c799
[separator]
#[load_average]
#interval=10
# Date Time
#
[time]
command=date '+%Y-%m-%d %H:%M:%S'
interval=5
color=#f7f7ef
border=#9a7cd1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment