Created
August 20, 2015 03:26
-
-
Save 594727294/f06626ab9c8ab1522db7 to your computer and use it in GitHub Desktop.
laptop ~/.i3blocks.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a comment | |
interval=1 | |
separator=false | |
color=#262626 | |
#[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<< | |
#[disk-home] | |
#command=~/bin/blocks/disk $HOME | |
#interval=10 | |
[music] | |
command=mpc status | perl -ne 'if (/\[playing\]/) {CORE::say (`mpc current|tr -d "\n"`)}' | |
interval=10 | |
full_text=~ | |
[wireless] | |
command=[[ $(iwgeti -r) == "" ]] && echo "WifiDown" || iwgetid -r | |
color=#005558 | |
interval=60 | |
[BATTERY] | |
command=acpi -b | awk '{ split($5,a,":"); print substr($3,0,2), $4, "" }' | tr -d ',' | |
interval=30 | |
[time] | |
command=date '+%d/%m %H:%M' | |
interval=30 | |
markup=pango | |
[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