This commit is contained in:
GasparVardanyan 2023-08-13 10:06:49 +04:00
parent e351b4bcf6
commit 07257ee6a7
8982 changed files with 33 additions and 25 deletions

View file

@ -92,6 +92,8 @@ _du()
xrandr --output $mon --off
xrandr --output $mon --mode 1920x1080 "--$lr-of" eDP1
sleep 1
~/.fehbg
}

View file

@ -1,2 +1,2 @@
#!/bin/sh
feh --no-fehbg --bg-fill '/home/gaspar/.local/share/themes/solarized-dark-wallpapers/sea1_solarized.png'
feh --no-fehbg --bg-fill '/home/gaspar/.local/share/themes/solarized-dark-wallpapers/arch.png'

View file

@ -41,8 +41,9 @@ export QT_QPA_PLATFORMTHEME="qt5ct"
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
# if [ $((($(date +%s) - $(date +%s -r .startx_log.old))/3600)) -ge 6 ]
# then
# echo "$(cat ~/.local/etc/issue)"
# sleep 3
clear
echo "$(cat ~/.local/etc/issue)"
sleep 3
# fi
cp .startx_log .startx_log.old > /dev/null

View file

@ -46,6 +46,9 @@ super + semicolon
super + shift + semicolon
sfl f
super + ctrl + semicolon
dmenufm
super + ctrl + l
setxkbmap -layout us; slock & sleep .5; xset dpms force off

View file

@ -10,6 +10,7 @@ Plugin 'VundleVim/Vundle.vim'
" Plugin 'Shougo/deol.nvim'
Plugin 'mbbill/undotree'
Plugin 'dbeniamine/cheat.sh-vim'
" Plugin 'vim-scripts/AnsiEsc.vim'
" Plugin 'WolfgangMehner/awk-support'
@ -45,7 +46,7 @@ Plugin 'terryma/vim-multiple-cursors'
Plugin 'scrooloose/nerdcommenter'
Plugin 'editorconfig/editorconfig-vim'
Plugin 'scrooloose/nerdtree'
Plugin 'preservim/nerdtree'
Plugin 'Xuyuanp/nerdtree-git-plugin'
Plugin 'ctrlpvim/ctrlp.vim'
@ -60,10 +61,10 @@ Plugin 'plasticboy/vim-markdown'
" Plugin 'vimwiki/vimwiki'
" Plugin 'lervag/vimtex'
" Plugin 'vim-syntastic/syntastic'
Plugin 'vim-syntastic/syntastic'
" Plugin 'davidhalter/jedi-vim'
" Plugin 'xavierd/clang_complete'
" Plugin 'ycm-core/YouCompleteMe'
Plugin 'ycm-core/YouCompleteMe'
Plugin 'altercation/vim-colors-solarized'
Plugin 'lifepillar/vim-solarized8'
@ -158,21 +159,10 @@ endif
command -range=% Encrypt execute "'<,'>!gcrypt -S -e \"$(pass show pdata)\" | base64"
command -range=% Decrypt execute "'<,'>!base64 -d | gcrypt -S -d \"$(pass show pdata)\""
" }}}
" undotree {{{
noremap <leader>fu :UndotreeToggle<cr>
if has("persistent_undo")
let target_path = expand('~/.undodir')
" create the directory and any parent directories
" if the location does not exist.
if !isdirectory(target_path)
call mkdir(target_path, "p", 0700)
endif
let &undodir=target_path
set undofile
endif
" {{{ ToggleWindows
noremap <leader>tu :UndotreeToggle<cr>
noremap <leader>tn :NERDTreeToggle<cr>
noremap <leader>tt :TagbarToggle<cr>
" }}}
" fzf {{{
let $FZF_DEFAULT_OPTS = '--layout=reverse'
@ -209,7 +199,6 @@ nmap ]h <Plug>(GitGutterNextHunk)
nmap [h <Plug>(GitGutterPrevHunk)
" }}}
" highline {{{
nmap <Leader>hh <Plug>(HighlineToggle)
xmap <Leader>hh <Plug>(HighlineToggle)
nmap <Leader>hc <Plug>(HighlineClear)
" }}}
@ -217,6 +206,19 @@ nmap <Leader>hc <Plug>(HighlineClear)
let g:undotree_WindowLayout=2
let g:undotree_DiffpanelHeight=8
" let g:undotree_DiffCommand = "delta"
if has("persistent_undo")
let target_path = expand('~/.undodir')
" create the directory and any parent directories
" if the location does not exist.
if !isdirectory(target_path)
call mkdir(target_path, "p", 0700)
endif
let &undodir=target_path
set undofile
endif
" }}}
" rainbow {{{
" let g:rainbow_active = 1

View file

@ -149,7 +149,7 @@ alias lynx="lynx -display_charset=UTF-8"
alias mc="mc -S yadt256"
alias mkdir="mkdir -p"
alias rm="rm -i"
alias sxiv="sxiv -b"
alias sxiv="nsxiv"
alias tree="tree -fNpugshFviC"
alias vdir="vdir --color=auto"
alias space="command vim"
@ -186,7 +186,7 @@ alias s="sc-im"
alias spaste="curl -F 'sprunge=<-' http://sprunge.us"
alias srvcln="wget -r -m -np -nH -R index.html 2> /dev/null"
alias srv="www --directory ~/.local/srv"
alias suckless="curl https://git.suckless.org/ 2> /dev/null | grep '<a href=\"' | sed 's/^.*<a href=\".*\/log.html\">\(.*\)<\/a><\/td><td>\(.*$\)/\1|\2/' | column -t -s \|"
alias suckless="curl https://git.suckless.org/ 2> /dev/null | command grep '<a href=\"' | command sed 's/^.*<a href=\".*\/log.html\">\(.*\)<\/a><\/td><td>\(.*$\)/\1|\2/' | column -t -s \|"
alias _="sudo"
compdef _sudo _
alias svim="sudo nvim"
@ -232,7 +232,7 @@ dotdiff () {
find $1 -type f | \sed "s#$1/\(.[^/]*/\(.*\)\)#cmp -s $1/\1 ~/\2 || echo \1#" | zsh | cat -n
elif [[ $3 == '' ]]
then
find $1 -type f | \sed "s#$1/\(.[^/]*/\(.*\)\)#cmp -s $1/\1 ~/\2 || echo diff --color=auto $1/\1 ~/\2#" | zsh | \sed "$2!d" | zsh
find $1 -type f | \sed "s#$1/\(.[^/]*/\(.*\)\)#cmp -s $1/\1 ~/\2 || echo diff -uraN $1/\1 ~/\2 \\\| delta#" | zsh | \sed "$2!d" | zsh
elif [[ $3 == 'u' ]]
then
find $1 -type f | \sed "s#$1/\(.[^/]*/\(.*\)\)#cmp -s $1/\1 ~/\2 || echo cp ~/\2 $1/\1 2\\\\>/dev/null \\\\|\\\\| rm $1/\1#" | zsh | \sed "$2!d" | zsh

Some files were not shown because too many files have changed in this diff Show more