Skip to content

Instantly share code, notes, and snippets.

@594727294
Created July 10, 2015 01:21
Show Gist options
  • Save 594727294/f4e51fe453679c63fa9e to your computer and use it in GitHub Desktop.
Save 594727294/f4e51fe453679c63fa9e to your computer and use it in GitHub Desktop.
~/.i3blocks.conf
# This is a comment
interval=1
separator=false
color=#9E9E9E
[music]
command=mpc status | perl -ne 'if (/\[playing\]/) {CORE::say (`mpc current|tr -d "\n"`)}'
interval=10
full_text=~
#[stop]
#command=mpc stop
#full_text=stop
#[play]
#command=mpc play
#full_text=>
#[next]
#command=mpc next
#full_text=>>
#[prev]
#command=mpc prev
#full_text=prev<<
#[memory]
#command=~/bin/blocks/memory
#interval=10
#[disk-home]
#command=~/bin/blocks/disk $HOME
#interval=10
[volume]
command=~/bin/blocks/volume
signal=10
[time]
command=date '+%d/%m %H:%M'
interval=30
[window-title]
command=xtitle
color=#0FA0AF
interval=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment