Skip to content

Instantly share code, notes, and snippets.

@aphyr
Last active August 29, 2015 14:11
Show Gist options
  • Save aphyr/4bc62a6c3811429577ee to your computer and use it in GitHub Desktop.
Save aphyr/4bc62a6c3811429577ee to your computer and use it in GitHub Desktop.
Pull request status on desktop via conky
use_xft yes
xftalpha 0.8
text_buffer_size 2048
own_window yes
own_window_argb_visual no
own_window_argb_value 0
own_window_transparent yes
own_window_type override
own_window_hints below,sticky,skip_taskbar,skip_pager
own_window_colour 000000
double_buffer yes
alignment bottom_left
gap_x 50
gap_y 50
uppercase no
override_utf8_locale yes
TEXT
${font Klavika:size=16}
${execpi 60 sh ~/bin/pr-count} ${color aaa}open PRs
#!/bin/sh
curl -s "https://github.com/pulls?q=is%3Aopen+user%3Ariemann+user%3Aaphyr+is%3Apr+" | egrep '[0-9]+ Open' | awk '{print $1}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment