this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix install and packages.json

+34 -4
+1 -3
.gitignore
··· 1 - /bin/ 2 - !/bin/.keep 1 + /bin 3 2 !/bin/tmux-airline 4 3 5 4 /vim/backups ··· 11 10 /vim/tags 12 11 !/vim/tags/.gitignore 13 12 14 - /.peru 15 13 /.tmp 16 14 17 15 *.spl
bin/.keep

This is a binary file and will not be displayed.

+29
bin/tmux-airline
··· 1 + #!/bin/sh 2 + 3 + SEP= 4 + SEPE= 5 + 6 + CLOCK=⌚ 7 + CALENDAR=☼ 8 + MUSIC=♫ 9 + 10 + WIDTH=${1} 11 + 12 + SMALL=80 13 + MEDIUM=140 14 + 15 + if [ "$WIDTH" -gt "$MEDIUM" ]; then 16 + if type mpc >/dev/null; then 17 + MPD="#[fg=colour252,bg=default,nobold,noitalics,nounderscore]$SEP#[fg=colour16,bg=colour252,bold,noitalics,nounderscore] $MUSIC $(mpc current)" 18 + date_colour='colour252' 19 + fi 20 + fi 21 + 22 + if [ "$WIDTH" -ge "$SMALL" ]; then 23 + UNAME="#[fg=colour252,bg=colour236,nobold,noitalics,nounderscore]$SEP#[fg=colour16,bg=colour252,bold,noitalics,nounderscore] $(uname -n)" 24 + fi 25 + 26 + DATE="#[fg=colour236,bg=${date_colour:-default},nobold,noitalics,nounderscore]$SEP#[fg=colour247,bg=colour236,nobold,noitalics,nounderscore] $CALENDAR $(date +'%d.%m.%y')" 27 + TIME="#[fg=colour241,bg=colour236,nobold,noitalics,nounderscore]$SEPE#[fg=colour252,bg=colour236,bold,noitalics,nounderscore] $CLOCK $(date +'%H:%M')" 28 + 29 + echo "$MPD $DATE $TIME $UNAME " | sed 's/ *$/ /g'
+1 -1
install
··· 42 42 JQ="$(which jq)" 43 43 PACKAGES="$(cat packages.json)" 44 44 45 - if [ -e "$JQ" ]; then 45 + if [ ! -x "$JQ" ]; then 46 46 echo 'Install jq before running' 47 47 echo 'http://stedolan.github.io/jq/' 48 48 echo ''
+3
packages.json
··· 1 1 { 2 + "bin": { 3 + "lein": { "type": "curl", "url": "https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein", "build": "chmod +x bin/lein" } 4 + }, 2 5 "vim/autoload": { 3 6 "pathogen.vim": { "type": "curl", "url": "https://tpo.pe/pathogen.vim" } 4 7 },