dot configs
Here are a few of my linux config files.
.bashrc
# /etc/bash/bashrc # if [[ $- != *i* ]] ; then # Shell is non-interactive. Be done now! return fi shopt -s checkwinsize # Enable history appending instead of overwriting. #139609 shopt -s histappend # Change the window title of X terminals case ${TERM} in xterm*|rxvt*|Eterm|aterm|kterm|gnome*|interix) PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}.equk.co.uk:${PWD/$HOME/~}\007"' ;; screen) PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}.equk.co.uk:${PWD/$HOME/~}\033\\"' ;; esac use_color=false safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM match_lhs="" [[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)" [[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(/dev/null \ && match_lhs=$(dircolors --print-database) [[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true if ${use_color} ; then # Enable colors for ls, etc. Prefer ~/.dir_colors #64489 if type -P dircolors >/dev/null ; then if [[ -f ~/.dir_colors ]] ; then eval $(dircolors -b ~/.dir_colors) elif [[ -f /etc/DIR_COLORS ]] ; then eval $(dircolors -b /etc/DIR_COLORS) fi fi if [[ ${EUID} == 0 ]] ; then PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] ' else PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] ' fi alias ls='ls --color=auto' alias grep='grep --colour=auto' else if [[ ${EUID} == 0 ]] ; then # show root@ when we don't have colors PS1='\u@\h \W \$ ' else PS1='\u@\h \w \$ ' fi fi # Try to keep environment pollution down, EPA loves us. unset use_color safe_term match_lhs
.conkyrc
use_xft yes xftfont cure:terminus=14 update_interval 1 own_window_colour black own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager own_window_transparent yes own_window_type desktop own_window yes double_buffer yes maximum_width 1850 minimum_size 1850 draw_shades yes draw_borders no draw_outline no stippled_borders 0 border_margin 5 border_width 1 default_color FFFFFF color1 00c6ff alignment bottom_left gap_x 20 gap_y 3 no_buffers yes uppercase no override_utf8_locale yes use_spacer left TEXT ${color1}GPU Temp: ${color}${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}.0 C :: ${color1}CPU Temp: ${color}${hwmon 1 temp 1} C :: ${color1}CPU Fan: ${color}${hwmon fan 2} RPM ${color1}Kernel: ${color}${kernel} :: ${color1}CPU Core1:${color}${cpu cpu0}%${color1} CPU Core2:${color}${cpu cpu1}% :: ${color1}Memory: [${color} ${mem} ${color1}/${color}${memmax}${color1} ]${color} :: ${color1}Root:${color}${fs_used /} ${color1}Home:${color}${fs_used /home} ${alignr} ${color1}MPD: [${color}${mpd_status}${color1}]: ${color}${mpd_artist} ${color1}-${color} ${mpd_title 20} ${color1}[${color}${mpd_elapsed} ${color1}/ ${color}${mpd_length}${color1}] ${color}::${color1} ${time %a} ${time %e/%m/%y}
.config/openbox/autostart.sh
# openbox startup # ========== # equk.co.uk # Make GTK apps look and behave how they were set up in the gnome config tools if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then /usr/libexec/gnome-settings-daemon & elif which gnome-settings-daemon >/dev/null; then gnome-settings-daemon & fi # xscreensaver xscreensaver -no-splash & # start thunar daemon for mounting etc thunar --daemon & # little numlock tool numlockx & # parcellite clipboard tool parcellite -n & # fix mouse acceleration sleep 2 && xset m 1 1 # pypanel sleep 2 && pypanel & # set desktop background eval `cat $HOME/.fehbg` & # start conky sleep 3 && conky & # start composite manager for effects xcompmgr -cfF -r7 -o.65 -l-10 -t-8 -D7 &





