Skip to content

Instantly share code, notes, and snippets.

@laynax
Created May 6, 2017 10:53
Show Gist options
  • Save laynax/ad873ac32eb2a1b7d9033214365cd50a to your computer and use it in GitHub Desktop.
Save laynax/ad873ac32eb2a1b7d9033214365cd50a to your computer and use it in GitHub Desktop.
separator_block_width=15
color=#CCCCCC
align=center
[online-status]
command=echo "ping $(ping -c 1 8.8.8.8 | awk '/from/ {print $7}' | cut -d'=' -f 2)ms"
#||echo ''
#command=ping googe.com || echo asd
#color=#FF0000
interval=40
[current-playing]
command=/bin/mpc current || echo ""
interval=10
#[day-hours]
#command=/home/samim/.bin/day.php
#interval=240
[volume]
command=echo " $(/usr/share/i3blocks/volume)"
interval=10
[memory]
command=echo " $(/usr/share/i3blocks/memory)"
separator_block_width=13
interval=30
[temp]
command=echo " $(sensors coretemp-isa-0000 | awk '/Physical/ { print $4 }')"
interval=10
#[disk-home]
#command=/usr/share/i3blocks/disk $HOME
#interval=30
[wireless]
command=echo " $(/usr/share/i3blocks/wifi)"
#color=#00FF00
interval=10
[ip]
command=echo " $(/usr/share/i3blocks/iface)"
#color=#00FF00
interval=10
[cpu]
command=echo " $(/usr/share/i3blocks/cpu_usage)"
interval=10
color=#6D6DFF
[battery]
command=echo "$(${HOME}/bin/bat.sh)"
interval=30
#[power]
#command= sudo powernow | head -n 1 | sed -n -e 's/.*using //p'
#interval=15
#color=#6D6DFF
[bandwidth]
command=$HOME/bin/network.pl
interval=5
[language]
command=$HOME/bin/keyboard.sh
interval=3
[mahmood]
command=echo "mm $(${HOME}/mahmoud.sh)"
interval=3
[time]
command=echo " $(date '+%H:%M')"
interval=5
color=#6D6DFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment