Skip to content

Instantly share code, notes, and snippets.

@Igglybuff
Created July 30, 2015 16:54
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 Igglybuff/172bd85ff06a6d33fdfe to your computer and use it in GitHub Desktop.
Save Igglybuff/172bd85ff06a6d33fdfe to your computer and use it in GitHub Desktop.
config file for i3blocks
# 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
separator_block_width=15
#[memory]
#label=MEM
#command=/usr/share/i3blocks/memory
#interval=30
#[swap]
#label=SWAP
#instance=swap
#command=/usr/share/i3blocks/memory
#interval=30
[bandwidth]
instance=wlan0
command=/home/wigglytuff/code/i3blocks-scripts/bandwidth
interval=2
color=#875fd7
#[cpu]
#label=ꖛ
#command=/usr/share/i3blocks/cpu_usage
#interval=2
#min_width=CPU: 100.00%
#color=#00afff
#[load]
#command=/usr/share/i3blocks/load_average
#interval=3
#color=#875fd7
[gpu]
label=GPU
command=/home/wigglytuff/code/i3blocks-scripts/temperature
interval=3
color=#875fd7
[disk-home]
label=⛁
command=/home/wigglytuff/code/i3blocks-scripts/disk
interval=30
color=#875fd7
[icinga]
command=/home/wigglytuff/code/i3blocks-scripts/icingaflume
interval=300
color=#00afff
[openvpn]
command=/home/wigglytuff/code/i3blocks-scripts/vpncheck
interval=5
color=#00afff
[hamachi]
command=/home/wigglytuff/code/i3blocks-scripts/hamachicheck
interval=5
color=#00afff
[apt]
command=/home/wigglytuff/code/i3blocks-scripts/apt
interval=30
color=#875fd7
[wifi]
label=WiFi
command=/home/wigglytuff/code/i3blocks-scripts/wifi
interval=3
color=#875fd7
#[wireless]
#label=WLAN0
#instance=wlan0
#command=/usr/share/i3blocks/network
#interval=10
#[publicip]
#label=PUBLICIP
#command=/home/wigglytuff/code/i3blocks-scripts/publicip
#interval=30
#[ethernet]
#label=ETH0
#instance=eth0
#command=/usr/share/i3blocks/network
#interval=10
[nowplaying]
command=/home/wigglytuff/code/i3blocks-scripts/nowplaying
interval=1
signal=1
color=#875fd7
[volume]
label=♬
command=amixer get Master | grep -E -o '[0-9][0-9]?%' | head -1
interval=once
signal=1
color=#875fd7
[time]
command=date '+%d%m%Y %H%M%S'
interval=3
color=#87ff00
@mcksp
Copy link

mcksp commented Aug 23, 2017

[volume]
command=amixer get Master | grep -E -o '[0-9]?[0-9]?[0-9]' | head -1
#for 100% and 0% volume

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment