Various bashrc / python3 / i3 updates

This commit is contained in:
Julien Palard 2015-11-28 17:57:20 +01:00
parent c56c9351fc
commit 17598b0cac
2 changed files with 12 additions and 6 deletions

5
bashrc
View File

@ -54,7 +54,7 @@ export LESS_TERMCAP_ue=$'\E[0m' # fin
export DEBEMAIL DEBFULLNAME
export PATH="$PATH:~/mbin"
export EDITOR=emacs
export PYTHONIOENCODING=utf_8
export LC_ALL='en_US.utf8'
export LS_OPTIONS='--color=auto'
export HISTCONTROL=ignoredups
@ -112,11 +112,10 @@ export PS1="$TITLE\[$USERNAME_COLOR\]\u\[$WHITE\]@\[$HOSTNAME_COLOR\]\H\[$WHITE\
# .git-prompt.sh is here: https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
if [ -f ~/.git-prompt.sh ]
then
export PROMPT_COMMAND='__git_ps1 "'"$PS1"'" "\\\$ "'
PROMPT_COMMAND='__git_ps1 "'"$PS1"'" "\\\$ ";'"$PROMPT_COMMAND"
else
export PS1="$PS1"'\$ '
fi
alias grep="grep --exclude-dir=.git --color"
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'

View File

@ -94,7 +94,7 @@ bindsym $mod+2 workspace 2: web
bindsym $mod+3 workspace 3: talk
bindsym $mod+4 workspace 4: mdk.fr
bindsym $mod+5 workspace 5: vlc
bindsym $mod+6 workspace 6
bindsym $mod+6 workspace 6: mail
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
@ -106,7 +106,7 @@ bindsym $mod+Shift+2 move container to workspace 2: web
bindsym $mod+Shift+3 move container to workspace 3: talk
bindsym $mod+Shift+4 move container to workspace 4: mdk.fr
bindsym $mod+Shift+5 move container to workspace 5: vlc
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+6 move container to workspace 6: mail
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
@ -157,7 +157,14 @@ bindsym $mod+o exec i3lock
for_window [window_role="browser"] border none
for_window [class="URxvt"] border none
assign [instance="crx_nckgahadagoaajjgafhacjanaoiihapd"] → 3: talk
assign [class="Google-chrome"] → 2: web
assign [class="Chromium"] → 2: web
assign [class="Icedove"] → 6: mail
assign [title="Hangouts"] → 3: talk
focus_follows_mouse no
bindsym $mod+x move workspace to output right
exec x-terminal-emulator
exec chromium
exec icedove