diff --git a/bashrc b/bashrc index 1ba599e..e788dc9 100644 --- a/bashrc +++ b/bashrc @@ -5,6 +5,10 @@ PROMPT_COMMAND='history -a' #set -o vi export EDITOR="vim" + +GPG_TTY=`tty` +export GPG_TTY + #####ON DEFINIT LES COULEURS red='\033[31m' RED='\033[31m\033[01m' @@ -84,6 +88,7 @@ alias svim='sudo vim' alias bim='vim' alias vi='vim' alias VIM='vim' +alias ivm='vim' alias gl='git log --graph --abbrev-commit --pretty=oneline --decorate' alias gitst='git status' @@ -109,6 +114,7 @@ alias mfilms='cd /dev/shm && mkdir films && sshfs frank@vi-di.fr:/media/ films/' alias upgrub='sudo grub-mkconfig -o /boot/grub/grub.cfg' alias ssh='ssh-add -l >/dev/null || ssh-add ~/.ssh/id_rsa.auth && unalias ssh; ssh' +alias upkey='gpg --keyserver subkeys.pgp.net --send-key 6F36914A' #MONITOR_PATH=~/Programmation/Utils/monitor.sh #alias dual='$MONITOR_PATH dual' diff --git a/dwm/config.h b/dwm/config.h index d411810..3baef39 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -10,7 +10,7 @@ static const char selbordercolor[] = "#005577"; static const char selbgcolor[] = "#005577"; static const char selfgcolor[] = "#eeeeee"; static const unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int snap = 32; /* snap pixel */ +static const unsigned int snap = 8; /* snap pixel */ static const Bool showbar = True; /* False means no bar */ static const Bool topbar = True; /* False means bottom bar */