Changes on g3
This commit is contained in:
parent
3477f92973
commit
1308e25186
@ -1,15 +1,17 @@
|
|||||||
!URxvt.boldFont: -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1
|
!URxvt.boldFont: -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1
|
||||||
URxvt.font: -*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
!URxvt.font: -*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||||
!URxvt.font: xft:Misc Fixed:size=10
|
URxvt.font: xft:Misc Fixed:size=14
|
||||||
!URxvt.boldFont: -*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
!URxvt.boldFont: -*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||||
!URxvt.font: xft:Fixed:style=SemiCondensed:size=10
|
!URxvt.font: xft:Fixed:style=SemiCondensed:size=10
|
||||||
!URxvt.font: xft:Inconsolata:size=12
|
!URxvt.font: xft:Inconsolata:size=12
|
||||||
!URxvt.font: xft:Terminus:size=12
|
!URxvt.font: xft:Terminus:size=12
|
||||||
!URxvt.font: xft:Neep:size=13
|
!URxvt.font: xft:jmk Neep
|
||||||
!URxvt.font: xft:Courier New:size=12
|
!URxvt.font: xft:Courier New:size=12
|
||||||
!URxvt.font: xft:Gohu GohuFont:size=12
|
!URxvt.font: xft:Gohu GohuFont:size=12
|
||||||
!URxvt.font: xft:Misc Termsynu:size=13
|
!URxvt.font: xft:Misc Termsynu:size=13
|
||||||
!URxvt.font: xft:Unifont:size=13
|
!URxvt.font: xft:Unifont:size=13
|
||||||
|
!URxvt.font: xft:Monospace:size=11
|
||||||
|
!URxvt.font: xft:FixedsysTTF Semi-Bold:size=11
|
||||||
!URxvt.faceName: -*-*-*-*-*-*-10-*-*-*-*-*-*-*
|
!URxvt.faceName: -*-*-*-*-*-*-10-*-*-*-*-*-*-*
|
||||||
!URxvt.font: xft:Fixed:style=SemiCondensed:size=16
|
!URxvt.font: xft:Fixed:style=SemiCondensed:size=16
|
||||||
|
|
||||||
|
@ -73,7 +73,11 @@ if [ "$ARG" = "boot" ];then
|
|||||||
#fi
|
#fi
|
||||||
#feh --bg-scale "$(shuf -n1 <(realpath /home/stonewareslord/owncloud/wallpaper/$(hostname)))"
|
#feh --bg-scale "$(shuf -n1 <(realpath /home/stonewareslord/owncloud/wallpaper/$(hostname)))"
|
||||||
#xinput --set-prop 'Logitech USB Optical Mouse' 'Device Accel Constant Deceleration' 3
|
#xinput --set-prop 'Logitech USB Optical Mouse' 'Device Accel Constant Deceleration' 3
|
||||||
$(which ck-launch-session 2>/dev/null) $(which i3)
|
if command -v ck-launch-session >/dev/null; then
|
||||||
|
ck-launch-session i3
|
||||||
|
else
|
||||||
|
i3
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$ARG" = "screen-lock" ];then
|
if [ "$ARG" = "screen-lock" ];then
|
||||||
revert(){
|
revert(){
|
||||||
|
1
i3/.xsession
Normal file → Executable file
1
i3/.xsession
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
exec ~/.config/i3/run.sh boot
|
exec ~/.config/i3/run.sh boot
|
||||||
#exec /usr/bin/ck-launch-session /usr/local/bin/i3
|
#exec /usr/bin/ck-launch-session /usr/local/bin/i3
|
||||||
#exec numlockx&
|
#exec numlockx&
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
|
export PATH="$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
|
||||||
#prompt_cmd() {
|
#prompt_cmd() {
|
||||||
# PS1="$(~/git/cesium/cesium --mode ps1 --rc "$?" --shell bash)"
|
# PS1="$(~/git/cesium/cesium --mode ps1 --rc "$?" --shell bash)"
|
||||||
# unset CESIUM_LAST_COMMAND_TIME
|
# unset CESIUM_LAST_COMMAND_TIME
|
||||||
|
20
shell/.zshrc
20
shell/.zshrc
@ -335,16 +335,30 @@ echo -ne '[# ]\r'
|
|||||||
if [[ -f ~/.zsh-git/custom-config/zshrc ]]; then
|
if [[ -f ~/.zsh-git/custom-config/zshrc ]]; then
|
||||||
source ~/.zsh-git/custom-config/zshrc
|
source ~/.zsh-git/custom-config/zshrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function prompt_pre() {
|
function prompt_pre() {
|
||||||
CESIUM_LAST_COMMAND_TIME="$(date +%s)"
|
export CESIUM_LAST_COMMAND_TIME="$(date +%s)"
|
||||||
}
|
}
|
||||||
function prompt_cmd() {
|
function prompt_cmd() {
|
||||||
PS1="$(CESIUM_LAST_COMMAND_TIME="$CESIUM_LAST_COMMAND_TIME" RC="$?" ~/git/cesium/cesium --mode ps1 --shell zsh)"
|
PS1="$(cesium --mode ps1 --rc "$?" --shell zsh)"
|
||||||
RPS1="$(CESIUM_LAST_COMMAND_TIME="$CESIUM_LAST_COMMAND_TIME" RC="$?" ~/git/cesium/cesium --mode rps1 --shell zsh)"
|
RPS1="$(cesium --mode rps1 --rc "$?" --shell zsh)"
|
||||||
unset CESIUM_LAST_COMMAND_TIME
|
unset CESIUM_LAST_COMMAND_TIME
|
||||||
}
|
}
|
||||||
autoload -Uz add-zsh-hook
|
autoload -Uz add-zsh-hook
|
||||||
precmd_functions+=(prompt_cmd)
|
precmd_functions+=(prompt_cmd)
|
||||||
add-zsh-hook preexec prompt_pre
|
add-zsh-hook preexec prompt_pre
|
||||||
|
|
||||||
|
|
||||||
|
#function prompt_pre() {
|
||||||
|
# CESIUM_LAST_COMMAND_TIME="$(date +%s)"
|
||||||
|
#}
|
||||||
|
#function prompt_cmd() {
|
||||||
|
# PS1="$(CESIUM_LAST_COMMAND_TIME="$CESIUM_LAST_COMMAND_TIME" RC="$?" ~/git/cesium/cesium --mode ps1 --shell zsh)"
|
||||||
|
# RPS1="$(CESIUM_LAST_COMMAND_TIME="$CESIUM_LAST_COMMAND_TIME" RC="$?" ~/git/cesium/cesium --mode rps1 --shell zsh)"
|
||||||
|
# unset CESIUM_LAST_COMMAND_TIME
|
||||||
|
#}
|
||||||
|
#autoload -Uz add-zsh-hook
|
||||||
|
#precmd_functions+=(prompt_cmd)
|
||||||
|
#add-zsh-hook preexec prompt_pre
|
||||||
echo -e '[##]'
|
echo -e '[##]'
|
||||||
#zprof
|
#zprof
|
||||||
|
@ -13,6 +13,8 @@ command! WW %!sudo tee > /dev/null %
|
|||||||
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=darkgrey ctermbg=darkgrey
|
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=darkgrey ctermbg=darkgrey
|
||||||
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=grey ctermbg=grey
|
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=grey ctermbg=grey
|
||||||
autocmd FileType yaml.ansible setlocal ts=2 sts=2 sw=2 expandtab noautoindent
|
autocmd FileType yaml.ansible setlocal ts=2 sts=2 sw=2 expandtab noautoindent
|
||||||
|
autocmd FileType php let b:AutoPairs = AutoPairsDefine({'<?' : '?>', '<?php': '?>'})
|
||||||
|
autocmd FileType html.twig let b:AutoPairs = AutoPairsDefine({'{{' : '}}', '{%': '%}'})
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
set grepprg=grep\ -nH\ $*
|
set grepprg=grep\ -nH\ $*
|
||||||
"let g:tex_flavor='latex'
|
"let g:tex_flavor='latex'
|
||||||
@ -246,7 +248,7 @@ endif
|
|||||||
"Exchange two selections of text | https://github.com/tommcdo/vim-exchange
|
"Exchange two selections of text | https://github.com/tommcdo/vim-exchange
|
||||||
"Plug 'https://gitea.austenwares.com/vim/vim-repeat'
|
"Plug 'https://gitea.austenwares.com/vim/vim-repeat'
|
||||||
"Repeat last tpope command with . | https://github.com/tpope/vim-repeat
|
"Repeat last tpope command with . | https://github.com/tpope/vim-repeat
|
||||||
"Plug 'https://gitea.austenwares.com/vim/vim-fugitive'
|
Plug 'https://gitea.austenwares.com/vim/vim-fugitive'
|
||||||
"Great Vim-Git compatibility | https://github.com/tpope/vim-fugitive
|
"Great Vim-Git compatibility | https://github.com/tpope/vim-fugitive
|
||||||
Plug 'https://gitea.austenwares.com/vim/ctrlp.vim'
|
Plug 'https://gitea.austenwares.com/vim/ctrlp.vim'
|
||||||
"Fuzzy file search | https://github.com/kien/ctrlp.vim
|
"Fuzzy file search | https://github.com/kien/ctrlp.vim
|
||||||
@ -365,7 +367,8 @@ function! Initialize()
|
|||||||
silent !vim +"PlugClean" +"PlugInstall" +"PlugUpdate" +"qa"
|
silent !vim +"PlugClean" +"PlugInstall" +"PlugUpdate" +"qa"
|
||||||
q
|
q
|
||||||
endfunction
|
endfunction
|
||||||
set guifont=jmk\ Neep\ 10
|
"set guifont=jmk\ Neep\ 10
|
||||||
|
set guifont="Monospace 10"
|
||||||
"inoremap <Tab> <C-R>=g:UltiSnips_Complete()<cr>
|
"inoremap <Tab> <C-R>=g:UltiSnips_Complete()<cr>
|
||||||
"map <unique> <buffer> <LocalLeader>b <Plug>JavagetsetInsertBothGetterSetter
|
"map <unique> <buffer> <LocalLeader>b <Plug>JavagetsetInsertBothGetterSetter
|
||||||
"map <Leader>a O<Esc>:Autoformat<CR>:v/\S/d<CR>:nohlsearch<CR>
|
"map <Leader>a O<Esc>:Autoformat<CR>:v/\S/d<CR>:nohlsearch<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user