Update config files
This commit is contained in:
parent
efe2113be9
commit
1ad3818c4d
11 changed files with 105 additions and 30 deletions
|
@ -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
|
||||||
|
|
|
@ -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
16
files/.config/i3/bin/screenshot
Executable 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
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Host sas.ens
|
Host sas
|
||||||
User tbastian
|
User tbastian
|
||||||
Hostname sas.eleves.ens.fr
|
Hostname sas.eleves.ens.fr
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@ 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
|
||||||
|
@ -32,8 +31,46 @@ 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
|
||||||
|
|
|
@ -31,3 +31,4 @@ Javascript
|
||||||
frontend
|
frontend
|
||||||
spelllang=fr
|
spelllang=fr
|
||||||
Reprojection
|
Reprojection
|
||||||
|
Prologin
|
||||||
|
|
Binary file not shown.
|
@ -8,3 +8,6 @@ Vandermonde
|
||||||
iid
|
iid
|
||||||
PPV
|
PPV
|
||||||
d'overfitting
|
d'overfitting
|
||||||
|
Prologin
|
||||||
|
qu'intelligemment
|
||||||
|
non-bloquante
|
||||||
|
|
Binary file not shown.
13
files/.vimrc
13
files/.vimrc
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue