mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-12-22 09:13:33 +01:00
Added beatmaker files
This commit is contained in:
parent
811a903869
commit
979739552d
13 changed files with 116 additions and 25 deletions
|
@ -11,8 +11,10 @@ if [ -x /usr/bin/dircolors ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# some more ls aliases
|
# some more ls aliases
|
||||||
alias ll='ls -l'
|
alias l.='ls -d *'
|
||||||
|
alias ll='ls -l --si -v --group-directories-first'
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
|
alias lla='ll -A'
|
||||||
alias l='ls -CF'
|
alias l='ls -CF'
|
||||||
|
|
||||||
# Use vim if possible instead of vi
|
# Use vim if possible instead of vi
|
||||||
|
@ -29,3 +31,7 @@ alias pc='python -ic "from __future__ import division; from math import *"'
|
||||||
# Moving around
|
# Moving around
|
||||||
alias ~='cd ~'
|
alias ~='cd ~'
|
||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
|
|
||||||
|
# Computer control
|
||||||
|
alias blank='xset dpms force off'
|
||||||
|
alias lock='blank; xscreensaver-command --lock'
|
||||||
|
|
5
bash/scriptlets/dropbox
Normal file
5
bash/scriptlets/dropbox
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Run the dropbox daemon in the background
|
||||||
|
if [ -x "$HOST/.dropbox-dist/dropboxd" ]
|
||||||
|
then
|
||||||
|
"$HOST/.dropbox-dist/dropboxd" & alias killDropbox='kill $!'
|
||||||
|
fi
|
|
@ -1,3 +1,10 @@
|
||||||
if [[ $(command -v fortune) ]]; then
|
# Give a fortune cookie
|
||||||
|
if [[ $(command -v fortune) ]]
|
||||||
|
then
|
||||||
|
if [[ $(command -v cowsay) ]]
|
||||||
|
then
|
||||||
|
fortune -so | cowsay -n
|
||||||
|
else
|
||||||
fortune -so
|
fortune -so
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
4
bash/scriptlets/iraf
Normal file
4
bash/scriptlets/iraf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Add iraf setup commands
|
||||||
|
if [ -e /home/ericteunis/.iraf/setup.sh ]; then
|
||||||
|
source /home/ericteunis/.iraf/setup.sh
|
||||||
|
fi
|
|
@ -67,15 +67,13 @@ function __prompt_command() {
|
||||||
PS1+="@"
|
PS1+="@"
|
||||||
|
|
||||||
if color ; then
|
if color ; then
|
||||||
if [[ $HOSTNAME == 'fatserf' ]]; then
|
case "$HOSTNAME" in
|
||||||
PS1+="${Pur}\H${RCol}"
|
'beatmaker') PS1+="${Gre}\H${RCol}";;
|
||||||
elif [[ $HOSTNAME == 'lilo'* ]]; then
|
'fatserf') PS1+="${Pur}\H${RCol}";;
|
||||||
PS1+="${BWhi}\H${RCol}"
|
'lilo'*) PS1+="${BWhi}\H${RCol}";;
|
||||||
elif [[ $HOSTNAME == 'hg'* ]]; then
|
'hg'*) PS1+="${BRed}\H${RCol}";;
|
||||||
PS1+="${BRed}\H${RCol}"
|
*) PS1+="${Blu}${On_Whi}\H${RCol}";;
|
||||||
else
|
esac
|
||||||
PS1+="${Blu}${On_Whi}\H${RCol}"
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
PS1+="\H"
|
PS1+="\H"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
echo "Welcome onboard:"
|
echo "Welcome onboard:"
|
||||||
figlet -t sXc : fatSerf
|
figlet -t sXc : fatSerf
|
||||||
fortune | cowsay -n
|
|
||||||
|
|
6
envs/starlink
Normal file
6
envs/starlink
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Add StarLink
|
||||||
|
STARLINK_DIR='/mnt/data/user/bin/star-hikianalia'
|
||||||
|
if [ -e $STARLINK_DIR"/etc/profile" ]; then
|
||||||
|
source $STARLINK_DIR"/etc/profile"
|
||||||
|
fi
|
||||||
|
|
|
@ -7,11 +7,14 @@
|
||||||
|
|
||||||
- link:
|
- link:
|
||||||
~/.bashrc: bash/bashrc
|
~/.bashrc: bash/bashrc
|
||||||
~/.profile: profile.sh
|
|
||||||
~/.gitconfig: git/gitconfig
|
~/.gitconfig: git/gitconfig
|
||||||
|
~/.ncmpcpp/config: ncmpcpp/config
|
||||||
|
~/.profile: profile.sh
|
||||||
|
~/.ssh/config: ssh/config
|
||||||
|
~/.tmux: tmux
|
||||||
~/.tmux.conf: tmux/tmux.conf
|
~/.tmux.conf: tmux/tmux.conf
|
||||||
~/.vimrc: vim/vimrc
|
~/.vimrc: vim/vimrc
|
||||||
~/.ncmpcpp/config: ncmpcpp/config
|
~/.xinitrc: xinitrc
|
||||||
|
|
||||||
#- shell:
|
#- shell:
|
||||||
# - git submodules update # after linking ~/.gitconfig
|
# - git submodules update # after linking ~/.gitconfig
|
||||||
|
|
|
@ -1 +1,5 @@
|
||||||
|
colors_enabled = "yes"
|
||||||
|
mpd_connection_timeout = "2"
|
||||||
user_interface = "alternative"
|
user_interface = "alternative"
|
||||||
|
mpd_crossfade_time = "2"
|
||||||
|
|
||||||
|
|
1
startx
1
startx
|
@ -1 +0,0 @@
|
||||||
exec gnome
|
|
2
tmux/beatmaker.conf
Normal file
2
tmux/beatmaker.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
set -g status-bg blue
|
||||||
|
set -g status-right '♪ #(exec amixer get Master | egrep -o "[0-9]+%" | egrep -o "[0-9]*") | ♥#(acpi | cut -d ',' -f 2) | %a %m-%d %H:%M'
|
|
@ -1,9 +1,6 @@
|
||||||
# use ^b as prefix
|
# use ^b as prefix
|
||||||
set -g prefix C-b
|
set -g prefix C-b
|
||||||
|
|
||||||
# vim shortcuts
|
|
||||||
setw -g mode-keys vi
|
|
||||||
|
|
||||||
# force a reload of the config file
|
# force a reload of the config file
|
||||||
unbind r
|
unbind r
|
||||||
bind r source-file ~/.tmux.conf\; display "Reloaded!"
|
bind r source-file ~/.tmux.conf\; display "Reloaded!"
|
||||||
|
@ -14,6 +11,11 @@ set -g base-index 1
|
||||||
# vim shortcuts
|
# vim shortcuts
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
|
|
||||||
|
# Make copy mode more vim-like.
|
||||||
|
bind -t vi-copy v begin-selection
|
||||||
|
bind -t vi-copy y copy-selection
|
||||||
|
bind -t vi-copy C-v rectangle-toggle
|
||||||
|
|
||||||
# commands
|
# commands
|
||||||
bind : command-prompt
|
bind : command-prompt
|
||||||
|
|
||||||
|
@ -32,7 +34,6 @@ bind - split-window -v
|
||||||
set -g status-left "#h"
|
set -g status-left "#h"
|
||||||
set -g status-left-length 70
|
set -g status-left-length 70
|
||||||
set -g status-right "%a %d-%m-%y :: %H:%M"
|
set -g status-right "%a %d-%m-%y :: %H:%M"
|
||||||
#set -g status-right '♪ #(exec amixer get Master | egrep -o "[0-9]+%" | egrep -o "[0-9]*") | ♥#(acpi | cut -d ',' -f 2) | %a %m-%d %H:%M'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Try loading machine specific things
|
||||||
|
run-shell "bash ~/.tmux/load_hostnames.sh"
|
||||||
|
|
63
xinitrc
63
xinitrc
|
@ -1,3 +1,60 @@
|
||||||
exec unity
|
#!/bin/sh
|
||||||
#exec xterm
|
#Standard Stuff
|
||||||
#exec /usr/bin/gnome-session --session=unity
|
. /etc/X11/xinit/xinitrc-common
|
||||||
|
if [ -f $HOME/.Xclients ]; then
|
||||||
|
exec $CK_XINIT_SESSION $SSH_AGENT $HOME/.Xclients || \
|
||||||
|
exec $CK_XINIT_SESSION $SSH_AGENT $HOME/.Xclients
|
||||||
|
elif [ -f /etc/X11/xinit/Xclients ]; then
|
||||||
|
exec $CK_XINIT_SESSION $SSH_AGENT /etc/X11/xinit/Xclients || \
|
||||||
|
exec $CK_XINIT_SESSION $SSH_AGENT /etc/X11/xinit/Xclients
|
||||||
|
else
|
||||||
|
# Failsafe settings. Although we should never get here
|
||||||
|
# (we provide fallbacks in Xclients as well) it can't hurt.
|
||||||
|
[ -x /usr/bin/xsetroot ] && /usr/bin/xsetroot -solid '#222E45'
|
||||||
|
[ -x /usr/bin/xclock ] && /usr/bin/xclock -geometry 100x100-5+5 &
|
||||||
|
[ -x /usr/bin/xterm ] && xterm -geometry 80x50-50+150 &
|
||||||
|
[ -x /usr/bin/twm ] && /usr/bin/twm
|
||||||
|
fi
|
||||||
|
# ---------------------------------------------------------------
|
||||||
|
# OWN
|
||||||
|
# ---------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Load session
|
||||||
|
DEFAULT_SESSION=awesome
|
||||||
|
XTERM=xterm
|
||||||
|
case $1 in
|
||||||
|
xfce4)
|
||||||
|
exec startxfce4
|
||||||
|
;;
|
||||||
|
awesome)
|
||||||
|
xscreensaver -nosplash &
|
||||||
|
nm-applet &
|
||||||
|
exec awesome >> $HOME/.cache/awesome/stdout 2>> $HOME/.cache/awesome/stderr
|
||||||
|
;;
|
||||||
|
enlightenment)
|
||||||
|
exec enlightenment_start
|
||||||
|
;;
|
||||||
|
openbox)
|
||||||
|
exec openbox
|
||||||
|
;;
|
||||||
|
cinnamon)
|
||||||
|
exec cinnamon
|
||||||
|
;;
|
||||||
|
kde)
|
||||||
|
exec startkde
|
||||||
|
;;
|
||||||
|
gnome)
|
||||||
|
exec gnome-session
|
||||||
|
;;
|
||||||
|
unity)
|
||||||
|
exec unity
|
||||||
|
;;
|
||||||
|
xterm)
|
||||||
|
exec xterm
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
exec $DEFAULT_SESSION
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
Loading…
Reference in a new issue