Update config files

This commit is contained in:
Théophile Bastian 2016-12-13 16:06:25 +01:00
parent efe2113be9
commit 1ad3818c4d
11 changed files with 105 additions and 30 deletions

View file

@ -8,7 +8,7 @@ URxvt.urgentOnBell: True
URxvt.scrollBar: false URxvt.scrollBar: false
URxvt.font: xft:Monospace:size=10 URxvt.font: xft:Monospace:size=9
URxvt.letterSpace: -1 URxvt.letterSpace: -1
! Copy-paste ! Copy-paste

View file

@ -1,5 +1,10 @@
#!/bin/bash #!/bin/bash
if ! which gpg-connect-agent > /dev/null 2>&1; then
# GPG-agent is not installed on this machine, don't do anything.
return
fi
mkdir -p ~/.gnupg mkdir -p ~/.gnupg
# Start the gpg-agent if not already running # Start the gpg-agent if not already running

16
files/.config/i3/bin/screenshot Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
BASEPATH="$HOME/Images/screenshots"
cName="$BASEPATH/$(date +%F_%H-%M-%S).png"
case "$1" in
'root')
import -window root "$cName"
;;
'active')
import -window $(xdotool getwindowfocus -f) -frame "$cName"
;;
*)
>&2 echo -e "Error: bad action type. Usage:\n$0 [root|active]"
exit 1
esac

View file

@ -156,6 +156,10 @@ bindsym $mod+Shift+KP_4 exec ~/.config/i3/bin/screenplace left
bindsym $mod+Shift+KP_5 exec ~/.config/i3/bin/screenplace reset bindsym $mod+Shift+KP_5 exec ~/.config/i3/bin/screenplace reset
bindsym $mod+Shift+KP_6 exec ~/.config/i3/bin/screenplace right bindsym $mod+Shift+KP_6 exec ~/.config/i3/bin/screenplace right
# Screenshot
bindsym $mod+Print exec ~/.config/i3/bin/screenshot root
bindsym $mod+Shift+Print exec ~/.config/i3/bin/screenshot active
# reload the configuration file # reload the configuration file
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)

View file

@ -23,10 +23,11 @@
background_darkness = 0.79 background_darkness = 0.79
background_image = None background_image = None
background_type = transparent background_type = transparent
font = Sans 10 font = Monospace 9
foreground_color = "#fffeab" foreground_color = "#fffeab"
scrollbar_position = hidden scrollbar_position = hidden
show_titlebar = False show_titlebar = False
use_system_font = False
[[Proj_nocursor]] [[Proj_nocursor]]
background_color = "#ffffff" background_color = "#ffffff"
background_image = None background_image = None
@ -49,5 +50,10 @@
palette = "#2e3436:#cc0000:#4e9a06:#ca5307:#3465a4:#75507b:#06989a:#d3d7cf:#555753:#ef2929:#8ae234:#ff751d:#657689:#ad7fa8:#34e2e2:#eeeeec" palette = "#2e3436:#cc0000:#4e9a06:#ca5307:#3465a4:#75507b:#06989a:#d3d7cf:#555753:#ef2929:#8ae234:#ff751d:#657689:#ad7fa8:#34e2e2:#eeeeec"
scrollbar_position = hidden scrollbar_position = hidden
show_titlebar = False show_titlebar = False
[[vsmall_font]]
background_image = None
font = Sans 6
foreground_color = "#ffffff"
use_system_font = False
[[with_titlebar]] [[with_titlebar]]
background_image = None background_image = None

View file

@ -1,39 +1,76 @@
Host sas.ens Host sas
User tbastian User tbastian
Hostname sas.eleves.ens.fr Hostname sas.eleves.ens.fr
Host minecraft Host minecraft
User minecraft User minecraft
Hostname games.tobast.fr Hostname games.tobast.fr
Host teeworlds Host teeworlds
User teeworlds User teeworlds
Hostname games.tobast.fr Hostname games.tobast.fr
Host insurgency Host insurgency
Host insurgency User insurgency
User insurgency Hostname games.tobast.fr
Hostname games.tobast.fr
Host factorio Host factorio
User factorio User factorio
Hostname games.tobast.fr Hostname games.tobast.fr
Host orac Host orac
User btheophile User btheophile
Hostname orac.amt.edu.au Hostname orac.amt.edu.au
Host www.tobast Host www.tobast
User www User www
Hostname tobast.fr Hostname tobast.fr
Host proloVM Host proloVM
User tobast User tobast
Hostname prologin.org Hostname prologin.org
Port 42022 Port 42022
Host rosa
Hostname prologin.org
Host git-pass Host git-pass
User gogs User gogs
Hostname git.tobast.fr Hostname git.tobast.fr
Identityfile ~/.password-store/id_rsa_pass Identityfile ~/.password-store/id_rsa_pass
IdentitiesOnly yes IdentitiesOnly yes
Host promethee
User root
Hostname promethee.tobast.fr
ProxyJump paquebot
Host gourous
User gourous
Hostname sas.eleves.ens.fr
SendEnv LC_REALUSER
# Virtual networks, safe anyway
Host 10.42.0.*
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
Host paquebot
User tbastian
Hostname paquebot.ens.fr
Host thym
User tbastian
Hostname thym.ens.fr
Host allege
User tbastian
Hostname allege.ens.fr
Host annuaire-dev
User annuaire-dev
Hostname www.eleves.ens.fr
SendEnv LC_REALUSER
Host tartelette
User tobast
ProxyJump paquebot
Hostname tartelette.tobast.fr

View file

@ -31,3 +31,4 @@ Javascript
frontend frontend
spelllang=fr spelllang=fr
Reprojection Reprojection
Prologin

Binary file not shown.

View file

@ -8,3 +8,6 @@ Vandermonde
iid iid
PPV PPV
d'overfitting d'overfitting
Prologin
qu'intelligemment
non-bloquante

Binary file not shown.

View file

@ -8,6 +8,9 @@ set tabstop=4
set shiftwidth=4 set shiftwidth=4
set noexpandtab set noexpandtab
set smartindent set smartindent
set incsearch
set ttimeoutlen=100
set scrolloff=5
set exrc set exrc
set secure set secure
@ -53,7 +56,7 @@ let g:syntastic_tex_checkers = [ 'chktex' ]
"" Python "" Python
let g:syntastic_python_python_exec = '/usr/bin/python3' let g:syntastic_python_python_exec = '/usr/bin/python3'
"" C++ "" C++
let g:syntastic_cpp_compiler_options = '-std=c++14' let g:syntastic_cpp_compiler_options = '-std=c++14 -Wall -Wextra'
"" Disabled languages "" Disabled languages
"let g:syntastic_mode_map = { 'passive_filetypes': ['python'] } "let g:syntastic_mode_map = { 'passive_filetypes': ['python'] }
@ -80,11 +83,11 @@ match ExtraWhitespace /\s\+$\| \+\ze\t/
autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/
""""""""""""""""" Key bindings """"""""""""""""" Key bindings
map <F1> :!make<CR> map <F1> :w<CR>:!make<CR>
imap <F1> <esc>:echo 'F1 help disabled'<CR> imap <F1> <esc>:echo 'F1 help disabled'<CR>
map <F2> :!git status<CR> map <F2> :!git status<CR>
map {{ :lprev<CR> map [[ :lprev<CR>
map }} :lnext<CR> map ]] :lnext<CR>
map {} :ll<CR> map [] :ll<CR>
nnoremap <Leader>w :call TrimWhitespace()<CR> nnoremap <Leader>w :call TrimWhitespace()<CR>