Skip to content

Instantly share code, notes, and snippets.

@jpleau
Created April 10, 2015 20:20
Show Gist options
  • Save jpleau/5334d3d3d6c08d9f1b50 to your computer and use it in GitHub Desktop.
Save jpleau/5334d3d3d6c08d9f1b50 to your computer and use it in GitHub Desktop.
i3blocks
full_text=〉
align=center
separator=false
separator_block_width=7
[focused window]
command=xdotool getactivewindow getwindowname 2>/dev/null || echo "None"
#command=xprop -id $(xdotool getactivewindow) | grep 'WM_NAME(STRING)' | cut -d'"' -f2
interval=1
color=#ffffff
[separator]
color=#666666
[weather_label]
full_text=outside:
color=#8bc7ef
[weather]
interval=1800
command=/home/oxez/stuff/scripts/rvmruby.sh /home/oxez/stuff/scripts/i3/weather.rb
[separator]
color=#666666
[mpd label]
color=#8bc7ef
full_text=mpd:
[mpd]
command=/home/oxez/stuff/scripts/i3/mpd.py
interval=1
signal=2
[separator]
color=#666666
[volume label]
full_text=volume:
color=#8bc7ef
[volume]
command=/home/oxez/stuff/scripts/i3/pulse
interval=5
signal=1
[separator]
color=#666666
[time]
command=date '+%Y-%m-%d %H:%M'
interval=5
[separator]
color=#666666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment