dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 7619538ed30731001e2193ba52564e9b7efa881f
parent 358d730a93cc4c8521ac64ad52e59f7af7da3c95
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Sun, 24 May 2015 10:57:28 +0200

use universal battery script, draw emacs bg in term

Diffstat:
M.spacemacs | 2+-
M.tmux.conf | 3++-
Minstall.sh | 19+++++++++++--------
3 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/.spacemacs b/.spacemacs @@ -162,7 +162,7 @@ layers configuration." (setq-default tab-width 4) (setq c-default-style "linux" c-basic-offset 4) - (custom-set-faces (if (not window-system) '(default ((t (:background "nil")))))) + ;(custom-set-faces (if (not window-system) '(default ((t (:background "nil")))))) ;; text lines limit to 80 characters (setq fill-column 80) diff --git a/.tmux.conf b/.tmux.conf @@ -66,7 +66,8 @@ set -g status-fg cyan #set -g status-right "#[fg=green]#H" set -g status-left-length 40 set -g status-left "#[fg=green]s:#S #[fg=yellow]w:#I #[fg=cyan]p:#P" -set -g status-right "#[fg=cyan]#(acpi|sed 's/Battery//; s/0://; s/Discharging//; s/Full, //; s/remaining//; s/ , //; s/Charging, /+/; s/ until charged/ /; s/, / /; s/Unknown //; s/ $//;') #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%d %b %R" +#set -g status-right "#[fg=cyan]#(acpi|sed 's/Battery//; s/0://; s/Discharging//; s/Full, //; s/remaining//; s/ , //; s/Charging, /+/; s/ until charged/ /; s/, / /; s/Unknown //; s/ $//;') #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%d %b %R" +set -g status-right "#[fg=cyan]#(~/bin/battery) #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%d %b %R" set -g status-justify centre #set -g status-bg default #set -g status-fg cyan diff --git a/install.sh b/install.sh @@ -15,6 +15,9 @@ git clone https://github.com/phallus/fonts ~/code/phallus-fonts && mkdir -p ~/.vim/bundle +cd ~/bin && curl -OL https://raw.github.com/richo/battery/master/bin/battery &&\ + chmod +x ~/bin/battery + # Install Vundle #git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle @@ -25,11 +28,11 @@ git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim git clone --recursive http://github.com/syl20bnr/spacemacs ~/.emacs.d # Install font -cd /tmp &&\ - wget http://susanoganders.dk/termsyn-1.8.7.tar.gz &&\ - tar xvfz termsyn-*.tar.gz &&\ - sudo mkdir -p /usr/share/fonts/local - sudo cp termsyn-*/*.pcf /usr/share/fonts/local/ &&\ - sudo fc-cache -f &&\ - sudo mkfontscale /usr/share/fonts/local/ - sudo mkfontdir /usr/share/fonts/local/ +#cd /tmp &&\ +# wget http://susanoganders.dk/termsyn-1.8.7.tar.gz &&\ +# tar xvfz termsyn-*.tar.gz &&\ +# sudo mkdir -p /usr/share/fonts/local +# sudo cp termsyn-*/*.pcf /usr/share/fonts/local/ &&\ +# sudo fc-cache -f &&\ +# sudo mkfontscale /usr/share/fonts/local/ +# sudo mkfontdir /usr/share/fonts/local/