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.font: xft:Monospace:size=10
URxvt.font: xft:Monospace:size=9
URxvt.letterSpace: -1
! Copy-paste

View file

@ -1,5 +1,10 @@
#!/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
# 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_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
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)

View file

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

View file

@ -1,39 +1,76 @@
Host sas.ens
User tbastian
Hostname sas.eleves.ens.fr
Host sas
User tbastian
Hostname sas.eleves.ens.fr
Host minecraft
User minecraft
Hostname games.tobast.fr
User minecraft
Hostname games.tobast.fr
Host teeworlds
User teeworlds
Hostname games.tobast.fr
User teeworlds
Hostname games.tobast.fr
Host insurgency
Host insurgency
User insurgency
Hostname games.tobast.fr
User insurgency
Hostname games.tobast.fr
Host factorio
User factorio
Hostname games.tobast.fr
User factorio
Hostname games.tobast.fr
Host orac
User btheophile
Hostname orac.amt.edu.au
User btheophile
Hostname orac.amt.edu.au
Host www.tobast
User www
Hostname tobast.fr
User www
Hostname tobast.fr
Host proloVM
User tobast
Hostname prologin.org
Port 42022
User tobast
Hostname prologin.org
Port 42022
Host rosa
Hostname prologin.org
Host git-pass
User gogs
Hostname git.tobast.fr
Identityfile ~/.password-store/id_rsa_pass
IdentitiesOnly yes
User gogs
Hostname git.tobast.fr
Identityfile ~/.password-store/id_rsa_pass
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
spelllang=fr
Reprojection
Prologin

Binary file not shown.

View file

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

Binary file not shown.

View file

@ -8,6 +8,9 @@ set tabstop=4
set shiftwidth=4
set noexpandtab
set smartindent
set incsearch
set ttimeoutlen=100
set scrolloff=5
set exrc
set secure
@ -53,7 +56,7 @@ let g:syntastic_tex_checkers = [ 'chktex' ]
"" Python
let g:syntastic_python_python_exec = '/usr/bin/python3'
"" C++
let g:syntastic_cpp_compiler_options = '-std=c++14'
let g:syntastic_cpp_compiler_options = '-std=c++14 -Wall -Wextra'
"" Disabled languages
"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/
""""""""""""""""" Key bindings
map <F1> :!make<CR>
map <F1> :w<CR>:!make<CR>
imap <F1> <esc>:echo 'F1 help disabled'<CR>
map <F2> :!git status<CR>
map {{ :lprev<CR>
map }} :lnext<CR>
map {} :ll<CR>
map [[ :lprev<CR>
map ]] :lnext<CR>
map [] :ll<CR>
nnoremap <Leader>w :call TrimWhitespace()<CR>