From 37c6662d5de43c468beff21d40a2ac7a2449c02a Mon Sep 17 00:00:00 2001 From: Meutel Date: Sat, 13 Jun 2015 09:02:33 +0200 Subject: [PATCH] moved from private repo --- _Xdefaults | 21 ++++++++++++++ _Xdefaults__idefix.armorique.lan | 50 ++++++++++++++++++++++++++++++++ _bash_logout | 7 +++++ _profile | 25 ++++++++++++++++ _profile__idefix.armorique.lan | 23 +++++++++++++++ _screenrc | 6 ++++ _tmux.conf | 40 +++++++++++++++++++++++++ _vimrc | 34 ++++++++++++++++++++++ _wgetrc | 1 + _xinitrc__asterix | 1 + 10 files changed, 208 insertions(+) create mode 100644 _Xdefaults create mode 100644 _Xdefaults__idefix.armorique.lan create mode 100644 _bash_logout create mode 100644 _profile create mode 100644 _profile__idefix.armorique.lan create mode 100644 _screenrc create mode 100644 _tmux.conf create mode 100644 _vimrc create mode 100644 _wgetrc create mode 100644 _xinitrc__asterix diff --git a/_Xdefaults b/_Xdefaults new file mode 100644 index 0000000..a4a5814 --- /dev/null +++ b/_Xdefaults @@ -0,0 +1,21 @@ +xterm*font: -xos4-terminus-medium-r-normal-*-14-*-*-*-*-*-*-* +URxvt.font: -xos4-terminus-medium-r-normal-*-14-*-*-*-*-*-*-* +URxvt*termName: xterm-color +URxvt*geometry: 80x20 +URxvt*foreground: white +URxvt*background: black +URxvt*transparent: false +URxvt*tintColor: white +URxvt*highlightColor: #a00 +URxvt*shading: 10 +URxvt*fading: 10 +URxvt*fadeColor: black +URxvt*fg: white +URxvt*loginShell: true +URxvt*scrollBar: false +URxvt.keysym.Control-Up: \033[1;5A +URxvt.keysym.Control-Down: \033[1;5B +URxvt.keysym.Control-Left: \033[1;5D +URxvt.keysym.Control-Right: \033[1;5C +URxvt*keysym.Home: \033[1~ +URxvt*keysym.End: \033[4~ diff --git a/_Xdefaults__idefix.armorique.lan b/_Xdefaults__idefix.armorique.lan new file mode 100644 index 0000000..fa640ee --- /dev/null +++ b/_Xdefaults__idefix.armorique.lan @@ -0,0 +1,50 @@ +URxvt*termName: xterm-256colorURxvt*background: #000000 +URxvt*foreground: #ffffff +URxvt*scrollBar_right: false +URxvt*scrollBar: false +URxvt*inheritPixmap: true +URxvt*geometry: 84x24 +URxvt*tint: white +URxvt*font: xft:DejaVu Sans Mono:style=Regular:pixelsize=12:antialias=true +URxvt*color0: #000000 +URxvt*color1: #A80000 +URxvt*color2: #00A800 +URxvt*color3: #A85400 +URxvt*color4: #5555AA +URxvt*color5: #A800A8 +URxvt*color6: #00A8A8 +URxvt*color7: #FFFFFF +URxvt*color8: #545054 +URxvt*color9: #F85450 +URxvt*color10: #50FC50 +URxvt*color11: #F2FC50 +URxvt*color12: #5054F8 +URxvt*color13: #F854F8 +URxvt*color14: #50FCF8 +URxvt*color15: #F8FCF8 +URxvt*urgentOnBell: true +URxvt*visualBell: true +URxvt*fading: 50 +URxvt*fadeColor: black +URxvt*tintColor: white +URxvt*shading: 30 +URxvt*blurRadius: 5 +URxvt*urlLauncher:firefox +URxvt*jumpScroll: true +URxvt*scrollWithBuffer: true +URxvt*scrollTtyOutput: false +URxvt*scrollTtyKeypress: true + +xterm*termName: xterm +xterm*background: #000000 +xterm*foreground: #A8A8A8 +XTerm*loginShell: true +XTerm*termName: xterm-color +XTerm*faceName: Terminus +XTerm*faceSize: 10 +!XTerm*internalBorder: 10 +XTerm*highlightSelection: true +XTerm*cursorBlink: false +XTerm*utf8: 1 +XTerm*scrollBar: false +Xterm*scrollBarBorder: 0 diff --git a/_bash_logout b/_bash_logout new file mode 100644 index 0000000..de4f5f7 --- /dev/null +++ b/_bash_logout @@ -0,0 +1,7 @@ +# ~/.bash_logout: executed by bash(1) when login shell exits. + +# when leaving the console clear the screen to increase privacy + +if [ "$SHLVL" = 1 ]; then + [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q +fi diff --git a/_profile b/_profile new file mode 100644 index 0000000..ebdc65d --- /dev/null +++ b/_profile @@ -0,0 +1,25 @@ +# ~/.profile: executed by the command interpreter for login shells. +# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login +# exists. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. + +# the default umask is set in /etc/profile; for setting the umask +# for ssh logins, install and configure the libpam-umask package. +#umask 022 + +# if running bash +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi + +export LC_CTYPE=fr_FR.UTF-8 + diff --git a/_profile__idefix.armorique.lan b/_profile__idefix.armorique.lan new file mode 100644 index 0000000..dd2adf3 --- /dev/null +++ b/_profile__idefix.armorique.lan @@ -0,0 +1,23 @@ +# $OpenBSD: dot.profile,v 1.4 2005/02/16 06:56:57 matthieu Exp $ +# +# sh/ksh initialization + +PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:. +export PATH HOME TERM + +export ENV=$HOME/.kshrc + +# if running bash +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi + +export LC_CTYPE=fr_FR.UTF-8 diff --git a/_screenrc b/_screenrc new file mode 100644 index 0000000..e1c29b7 --- /dev/null +++ b/_screenrc @@ -0,0 +1,6 @@ +hardstatus alwayslastline +hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' +shelltitle "$ |bash" +vbellwait 0.1 + +sorendition "ww" diff --git a/_tmux.conf b/_tmux.conf new file mode 100644 index 0000000..8cd91e5 --- /dev/null +++ b/_tmux.conf @@ -0,0 +1,40 @@ +set -g prefix C-a +set -g default-terminal "screen-256color" + +# Bindings for vertical + horizontal splits +unbind % +bind | split-window -h +bind - split-window -v + +# show activity +set -g bell-action any +setw -g monitor-activity on + +# start numbering windows at 1 +set-option -g base-index 1 + +# to make ctrl-arrow, etc. work +set-window-option -g xterm-keys on + +# lock commande +set-option -g lock-command vlock + +### Instructs tmux to expect UTF-8 sequences to appear in this window. +setw -g utf8 on + +### Instruct tmux to treat top-bit-set characters in the status-left and status-right strings as UTF-8; +set -g status-utf8 on + +set-option -g history-limit 5000 + +set -g set-titles on +set -g set-titles-string '#(whoami) :: #h :: #W' + +set -g status-bg black +set -g status-fg white +set -g status-interval 5 +set -g status-left-length 90 +set -g status-right-length 90 +set -g status-left "#[fg=Green]#(whoami)#[fg=white]::#[fg=blue]#h#[fg=white]#[fg=yellow]" +set -g status-justify left +set -g status-right '#[fg=Cyan]#S #[fg=green,bg=black]#(~/bin/tmux-mem-cpu-load --colors --interval 5) #[fg=white]%a %d %b %R' diff --git a/_vimrc b/_vimrc new file mode 100644 index 0000000..389b2a3 --- /dev/null +++ b/_vimrc @@ -0,0 +1,34 @@ +syntax enable +set nu +set cursorline +set ai +set smartindent +" nombre de colonnes pour représenter une tabulation, nombre d'espaces d'une +" tabulation, nombre d'espaces d'une indentation, ne pas remplacer les +" tabulations par des espaces +set ts=4 sts=4 sw=4 noexpandtab +" detection du type de fichier et indentation adequate (touche =) +filetype on +filetype plugin on +filetype indent on +" permet de quiter un buffer modifié sans alerte (avec :bn ou :bp) +" on a toujours l'alerte si on quitte vim +set hidden +" theme de couleur +set t_Co=256 +set background=dark +let g:solarized_termtrans=1 +let g:solarized_termcolors=256 +colorscheme solarized +" recherche avec surbrillance +set incsearch +set showmatch +set hlsearch + +" indent javascript +filetype plugin indent on + +" remap +inoremap jk +" leader key +let mapleader = "," diff --git a/_wgetrc b/_wgetrc new file mode 100644 index 0000000..25160a3 --- /dev/null +++ b/_wgetrc @@ -0,0 +1 @@ +content-disposition = on diff --git a/_xinitrc__asterix b/_xinitrc__asterix new file mode 100644 index 0000000..0421388 --- /dev/null +++ b/_xinitrc__asterix @@ -0,0 +1 @@ +exec ck-launch-session /usr/bin/xbmc-standalone