This commit is contained in:
Gregor Feierabend 2021-07-27 22:56:39 +02:00
parent cf6147c7b4
commit 19f86be10e
9 changed files with 41 additions and 26 deletions

View File

@ -53,7 +53,7 @@ urxvt.color15: #eeeeec
!https://unix.stackexchange.com/questions/232881/urxvt-change-background-color-on-the-fly
URxvt*keysym.Control-Shift-F9: command:\033]10;#1d1f21\007\
\033]11;#ffffff\007\
\033]11;#fffff0\007\
\033]12;#000000\007\
\033]4;0;#282a2e\007\
\033]4;1;#a54242\007\
@ -71,7 +71,7 @@ URxvt*keysym.Control-Shift-F9: command:\033]10;#1d1f21\007\
\033]4;13;#b294bb\007\
\033]4;14;#8abeb7\007\
\033]4;15;#000000\007
urxvt*keysym.Control-Shift-F10: command:\033]11;rgba:0000/0000/0000/5555\007\
urxvt*keysym.Control-Shift-F10: command:\033]11;#00000f\007\
\033]10;#dcdcdc\007\
\033]12;#dcdcdc\007\
\033]4;0;#3f3f3f\007\

View File

@ -94,7 +94,7 @@ set passwd=
set pl_sort=
set play_library=true
set play_sorted=false
set repeat=true
set repeat=false
set repeat_current=false
set replaygain=disabled
set replaygain_limit=true

View File

@ -226,6 +226,9 @@ for_window [title="^Emulator$"] move scratchpad
for_window [title="Android Emulator - thePhone:5554"] resize set 375 667
for_window [title="Android Emulator*"] scratchpad show
focus_on_window_activation none
no_focus [class="qpdfview"]
#client.focused #00eb00 #00eb00 #00eb00 #00eb00
#client.focused_inactive #ff14ff #ff14ff #ffffff #484e50
#client.unfocused #ffffff #ff14ff #888888 #292d2e

View File

@ -9,6 +9,16 @@
#interval=3600
#color=#A4C2F4
[tun0]
command=~/.config/i3/scripts/ifstats.sh tun0
interval=10
color=#91E78B
[wlp3s0]
command=~/.config/i3/scripts/ifstats.sh wlp3s0
interval=10
color=#A4C2F4
[notifications]
full_text=available
command=~/.config/i3/scripts/togglenotify.sh

View File

@ -1,2 +1,2 @@
#!/bin/sh
ffmpeg -y -threads 4 -i /dev/video2 -vcodec mpeg4 MP4/`date +%s`.mp4
ffmpeg -y -threads 4 -i /dev/video2 -vcodec mpeg4 -b:v 800k MP4/`date +%s`.mp4

View File

@ -169,6 +169,9 @@ command! reload :write | restart
" You can also add %CLEAR if you want to clear screen before running FUSE
" program.
" TeX
filextype *.tex vimtex %f &> /dev/null &
filextype *.jpg.gpg gpg -qd %f | imv -
" Pdf

View File

@ -1,5 +1,13 @@
#!/bin/zsh
#emulator -accel on -avd thePhone -gpu host -camera-back webcam1 -camera-front webcam1 -delay-adb -no-boot-anim -no-snapshot-load
emulator -accel on -avd thePhone -gpu host -camera-back webcam1 -camera-front webcam1 -delay-adb -no-snapshot-load
#emulator -accel on -avd thePhone -gpu host -camera-back webcam1 -camera-front webcam1 -delay-adb -no-boot-anim -no-window
##emulator -accel on -avd thePhone -gpu host -camera-back webcam1 -camera-front webcam1 -delay-adb -no-boot-anim -no-snapshot-load
#emulator -accel on -avd thePhone -gpu host -camera-back webcam1 -camera-front webcam1 -delay-adb -no-snapshot-load
##emulator -accel on -avd thePhone -gpu host -camera-back webcam1 -camera-front webcam1 -delay-adb -no-boot-anim -no-window
#adb kill-server
export ANDROID_SDK=/opt/android-sdk-update-manager
export PATH=$ANDROID_SDK/emulator:$ANDROID_SDK/tools:$PATH
emulator -accel on -avd thePhone -gpu host -no-boot-anim -no-audio -no-skin -cores 4 -no-snapshot-load
adb kill-server

28
.vimrc
View File

@ -108,8 +108,8 @@ map <C-F> :call ShowFuncName() <CR>
"https://stackoverflow.com/questions/1054701/get-ctags-in-vim-to-go-to-definition-not-declaration
if has("cscope")
set csto=0
set cst
set csto=0
set cst
set nocsverb
" add any database in current directory
if filereadable("cscope.out")
@ -196,21 +196,13 @@ set grepprg=grep\ -nH\ $*
set modelineexpr
let g:Tex_DefaultTargetFormat = "pdf"
let g:Tex_ViewRule_pdf = "qpdfview"
"let g:Tex_ViewRule_pdf = "zathura"
let g:tex_flavor='latex'
let g:Tex_GotoError=0
let g:Tex_Com_mjax = "\\(<++>\\)<++>"
let g:Tex_Com_eq = "$$<++>$$<++>"
let g:Tex_Com_cal = "\\mathcal{<++>}<++>"
let g:Tex_Com_bb = "\\mathbb{<++>}<++>"
let g:Tex_Com_bf = "\\mathbf{<++>}<++>"
let g:Tex_Com_bm = "\begin{bmatrix}<++>\end{bmatrix}<++>"
let g:Tex_Com_vm = "\begin{vmatrix}<++>\end{vmatrix}<++>"
let g:Tex_Com_std = "\\title{}\n\\author{}\n\\date{}\n\\documentclass[a4paper,"
\ . "notitlepage]{report}\n\\usepackage[pdftex]{graphicx}\n"
\ . "\\usepackage{amssymb}\n\\usepackage{amsmath}\n"
\ . "\\begin{document}\n\\maketitle\n\<++>\n\\end{document}"
autocmd BufNewFile,BufRead *.tex set syntax=plaintex
autocmd BufNewFile,BufRead *.tex syntax match Comment "%.*"
autocmd BufNewFile,BufRead *.tex set textwidth=80
@ -218,14 +210,12 @@ autocmd BufNewFile,BufRead *.tex let g:syntastic_auto_jump = 0
imap <C-l><C-o> :let b:Imap_FreezeImap = 1<CR>
imap <C-l><C-u> :let b:Imap_FreezeImap = 0<CR>
imap <C-l><C-n> <ESC>:w<CR>:!pdflatex %<CR>
"nmap <C-l><C-n> :w<CR>:!pdflatex --shell-escape %<CR>
nmap <C-l><C-n> :w<CR>:!pdflatex %<CR>
nmap <C-l><C-z> :!zathura $(basename % .tex).pdf &<CR>
imap <C-l><C-m> <ESC>:w<CR>:!biber -E utf8 $(basename % .tex)<CR>
nmap <C-l><C-m> :w<CR>:!biber -E utf8 $(basename % .tex)<CR>
imap <C-l><C-j> <F7>
map <C-l><C-f> :execute escape(":!qpdfview --quiet --unique $(basename % .tex).pdf $(basename % .tex).pdf#src:%:" . line('.') . ":" . col('.') . " &", '#')<CR><CR>
imap <C-l><C-j> <F7>
imap <C-l><C-i> <Plug>Tex_InsertItemOnThisLine
imap <C-l><C-l> <Plug>Tex_LeftRight
imap <C-l><C-x> <Plug>Tex_MathCal

View File

@ -4,6 +4,7 @@ alias vv="vi -S"
alias tt="tmux attach"
alias ll="ls -al"
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
alias vimtex="vim --servername vimtex"
if [ -v SSH_AGENT_PID ]; then
#echo "ssh-agent up and running.";