Add wakatime and replace spaces with tabs

This commit is contained in:
Tobias Reisinger 2022-10-04 22:23:22 +02:00
parent 5c253a7a65
commit 4b98cab3cd
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 143 additions and 134 deletions

View file

@ -7,10 +7,12 @@ declare -A mapper=(
["bspwm"]="$HOME/.config/bspwm/bspwmrc" ["bspwm"]="$HOME/.config/bspwm/bspwmrc"
["environment"]="$HOME/.config/environment" ["environment"]="$HOME/.config/environment"
["git"]="$HOME/.config/git/config" ["git"]="$HOME/.config/git/config"
["git-ignore"]="$HOME/.config/git/ignore"
["qutebrowser"]="$HOME/.config/qutebrowser/common.py" ["qutebrowser"]="$HOME/.config/qutebrowser/common.py"
["starship"]="$HOME/.config/starship.toml" ["starship"]="$HOME/.config/starship.toml"
["sxhkd"]="$HOME/.config/sxhkd/sxhkdrc" ["sxhkd"]="$HOME/.config/sxhkd/sxhkdrc"
["vim"]="$HOME/.config/vim/vimrc" ["vim"]="$HOME/.config/vim/vimrc"
["wakatime"]="$HOME/.config/wakatime/.wakatime.cfg"
["zsh"]="$HOME/.config/zsh/.zshrc" ["zsh"]="$HOME/.config/zsh/.zshrc"
) )

View file

@ -70,6 +70,7 @@ bspc config window_gap 10
bspc config split_ratio 0.50 bspc config split_ratio 0.50
bspc config borderless_monocle true bspc config borderless_monocle true
bspc config gapless_monocle true bspc config gapless_monocle true
bspc config single_monocle true
bspc config focus_follows_pointer true bspc config focus_follows_pointer true
@ -114,7 +115,7 @@ bspc rule -a 'thunderbird' desktop='messenger' locked='true'
"$HOME/.config/polybar/launch.sh" & "$HOME/.config/polybar/launch.sh" &
"$HOME/.config/bspwm/swallow.py" & #"$HOME/.config/bspwm/swallow.py" &
"$HOME/.config/bspwm/focus-voip.py" & "$HOME/.config/bspwm/focus-voip.py" &
feh --bg-fill "$XDG_PICTURES_DIR/wallpaper/active_wallpaper" feh --bg-fill "$XDG_PICTURES_DIR/wallpaper/active_wallpaper"

View file

@ -60,6 +60,7 @@ export TERMINAL="alacritty"
export VIMINIT="if has('nvim') | source $XDG_CONFIG_HOME/nvim/init.lua | else | source $XDG_CONFIG_HOME/vim/vimrc | endif" export VIMINIT="if has('nvim') | source $XDG_CONFIG_HOME/nvim/init.lua | else | source $XDG_CONFIG_HOME/vim/vimrc | endif"
export WAKATIME_HOME="$XDG_CONFIG_HOME/wakatime"
export WOODPECKER_SERVER="https://ci.serguzim.me" export WOODPECKER_SERVER="https://ci.serguzim.me"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" export ZDOTDIR="$XDG_CONFIG_HOME/zsh"

View file

@ -32,3 +32,4 @@
# Other # Other
*-VBoxHeadless-*.log *-VBoxHeadless-*.log
.tokeignore

View file

@ -32,6 +32,9 @@ call plug#begin('~/.config/vim/plugged')
Plug 'sirtaj/vim-openscad' Plug 'sirtaj/vim-openscad'
Plug 'lervag/vimtex' Plug 'lervag/vimtex'
Plug 'sheerun/vim-polyglot' Plug 'sheerun/vim-polyglot'
" Misc
Plug 'wakatime/vim-wakatime'
call plug#end() call plug#end()
@ -107,54 +110,54 @@ nnoremap <CR> :noh<CR><CR>
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
let g:lightline = { let g:lightline = {
\ 'active': { \ 'active': {
\ 'left': [ \ 'left': [
\ [ 'mode', 'paste' ], \ [ 'mode', 'paste' ],
\ [ 'readonly', 'filename', 'modified', 'gitbranch' ] \ [ 'readonly', 'filename', 'modified', 'gitbranch' ]
\ ], \ ],
\ 'right': [ \ 'right': [
\ [ 'bufnum', 'percent', 'lineinfo' ], \ [ 'bufnum', 'percent', 'lineinfo' ],
\ [ 'fileformat', 'fileencoding', 'filetype', 'synthastic' ], \ [ 'fileformat', 'fileencoding', 'filetype', 'synthastic' ],
\ [ 'charvaluehex' ] \ [ 'charvaluehex' ]
\ ] \ ]
\ }, \ },
\ 'inactive': { \ 'inactive': {
\ 'left': [ \ 'left': [
\ [ 'filename' ] \ [ 'filename' ]
\ ], \ ],
\ 'right': [ \ 'right': [
\ [ 'lineinfo' ], \ [ 'lineinfo' ],
\ [ 'bufnum' ] \ [ 'bufnum' ]
\ ] \ ]
\ }, \ },
\ 'component': { \ 'component': {
\ 'charvaluehex': '0x%B', \ 'charvaluehex': '0x%B',
\ 'bufnum': '%n' \ 'bufnum': '%n'
\ }, \ },
\ 'component_function': { \ 'component_function': {
\ 'synthastic': 'SyntasticStatuslineFlag', \ 'synthastic': 'SyntasticStatuslineFlag',
\ 'gitbranch': 'fugitive#head' \ 'gitbranch': 'fugitive#head'
\ }, \ },
\ } \ }
if has('termguicolors') && &termguicolors if has('termguicolors') && &termguicolors
let g:jellybeans_overrides['background']['guibg'] = 'none' let g:jellybeans_overrides['background']['guibg'] = 'none'
endif endif
let g:jellybeans_overrides = { let g:jellybeans_overrides = {
\ 'Todo': { \ 'Todo': {
\ 'guifg': '303030', \ 'guifg': '303030',
\ 'guibg': 'f0f000', \ 'guibg': 'f0f000',
\ 'ctermfg': 'Black', \ 'ctermfg': 'Black',
\ 'ctermbg': 'Yellow', \ 'ctermbg': 'Yellow',
\ 'attr': 'bold' \ 'attr': 'bold'
\ }, \ },
\ 'Comment': { 'guifg': 'cccccc' }, \ 'Comment': { 'guifg': 'cccccc' },
\ 'LineNr': { 'guifg': 'aaaaaa' }, \ 'LineNr': { 'guifg': 'aaaaaa' },
\ 'background': { \ 'background': {
\ 'ctermbg': 'none', \ 'ctermbg': 'none',
\ '256ctermbg': 'none' \ '256ctermbg': 'none'
\ }, \ },
\ } \ }
try try
packadd! dracula_pro packadd! dracula_pro
@ -178,8 +181,8 @@ let g:syntastic_c_config_file = '.syntastic_cc_config'
let g:tex_flavor = 'latex' let g:tex_flavor = 'latex'
let g:vimtex_compiler_latexmk = { let g:vimtex_compiler_latexmk = {
\ 'build_dir': 'latexmk_output' \ 'build_dir': 'latexmk_output'
\} \}
let g:move_key_modifier = 'C' let g:move_key_modifier = 'C'

View file

@ -11,7 +11,8 @@ _autostart_workspace_voip()
#/opt/teamspeak5/TeamSpeak & #/opt/teamspeak5/TeamSpeak &
#sleep 2 #sleep 2
#alacritty --class "mail" --command sh -c "neomutt" & #alacritty --class "mail" --command sh -c "neomutt" &
teamspeak3 & #teamspeak3 &
flatpak run com.teamspeak.TeamSpeak -nosingleinstance &
sleep 1 sleep 1
element-desktop & element-desktop &
sleep 1 sleep 1