Add wakatime and replace spaces with tabs
This commit is contained in:
		
							parent
							
								
									5c253a7a65
								
							
						
					
					
						commit
						4b98cab3cd
					
				
					 6 changed files with 143 additions and 134 deletions
				
			
		
							
								
								
									
										2
									
								
								.bin/.e
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								.bin/.e
									
										
									
									
									
								
							|  | @ -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" | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -64,12 +64,13 @@ bspc desktop side-view --layout monocle | ||||||
| bspc desktop presenter1 --layout monocle | bspc desktop presenter1 --layout monocle | ||||||
| bspc desktop presenter2 --layout monocle | bspc desktop presenter2 --layout monocle | ||||||
| 
 | 
 | ||||||
| bspc config border_width         1 | bspc config border_width 1 | ||||||
| bspc config window_gap           10 | 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" | ||||||
|  |  | ||||||
|  | @ -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" | ||||||
|  |  | ||||||
|  | @ -32,3 +32,4 @@ | ||||||
| 
 | 
 | ||||||
| # Other | # Other | ||||||
| *-VBoxHeadless-*.log | *-VBoxHeadless-*.log | ||||||
|  | .tokeignore | ||||||
|  |  | ||||||
|  | @ -3,35 +3,38 @@ set packpath+=~/.config/vim | ||||||
| 
 | 
 | ||||||
| " Plug plugins using VimPlug | " Plug plugins using VimPlug | ||||||
| call plug#begin('~/.config/vim/plugged') | call plug#begin('~/.config/vim/plugged') | ||||||
|     " Tools | 	" Tools | ||||||
|     Plug 'editorconfig/editorconfig-vim' | 	Plug 'editorconfig/editorconfig-vim' | ||||||
|     Plug 'airblade/vim-gitgutter' | 	Plug 'airblade/vim-gitgutter' | ||||||
|     Plug 'samoshkin/vim-mergetool' | 	Plug 'samoshkin/vim-mergetool' | ||||||
|     Plug 'fidian/hexmode' | 	Plug 'fidian/hexmode' | ||||||
|     Plug 'scrooloose/nerdtree' | 	Plug 'scrooloose/nerdtree' | ||||||
|     Plug 'vim-scripts/DoxygenToolkit.vim' | 	Plug 'vim-scripts/DoxygenToolkit.vim' | ||||||
|     Plug 'drmikehenry/vim-headerguard' | 	Plug 'drmikehenry/vim-headerguard' | ||||||
|     "Emmet is a plugin which greatly improves HTML & CSS workflow | 	"Emmet is a plugin which greatly improves HTML & CSS workflow | ||||||
|     Plug 'mattn/emmet-vim' | 	Plug 'mattn/emmet-vim' | ||||||
|     Plug 'easymotion/vim-easymotion' | 	Plug 'easymotion/vim-easymotion' | ||||||
| 
 | 
 | ||||||
|     " Eye-Candy | 	" Eye-Candy | ||||||
|     Plug 'machakann/vim-highlightedyank' | 	Plug 'machakann/vim-highlightedyank' | ||||||
|     Plug 'itchyny/lightline.vim' | 	Plug 'itchyny/lightline.vim' | ||||||
|     "Plug 'nanotech/jellybeans.vim' | 	"Plug 'nanotech/jellybeans.vim' | ||||||
|     Plug 'dracula/vim', { 'as': 'dracula' } | 	Plug 'dracula/vim', { 'as': 'dracula' } | ||||||
|     Plug 'scrooloose/syntastic' | 	Plug 'scrooloose/syntastic' | ||||||
|     Plug 'Yggdroot/indentLine' | 	Plug 'Yggdroot/indentLine' | ||||||
| 
 | 
 | ||||||
|     " Commands | 	" Commands | ||||||
|     Plug 'machakann/vim-swap' | 	Plug 'machakann/vim-swap' | ||||||
|     Plug 'matze/vim-move' | 	Plug 'matze/vim-move' | ||||||
| 
 | 
 | ||||||
|     " Syntax highlighting | 	" Syntax highlighting | ||||||
|     Plug 'baskerville/vim-sxhkdrc' | 	Plug 'baskerville/vim-sxhkdrc' | ||||||
|     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() | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -45,9 +48,9 @@ set splitbelow splitright | ||||||
| let mapleader = " " | let mapleader = " " | ||||||
| 
 | 
 | ||||||
| augroup numbertoggle | augroup numbertoggle | ||||||
|   autocmd! | 	autocmd! | ||||||
|   autocmd WinEnter * set relativenumber | 	autocmd WinEnter * set relativenumber | ||||||
|   autocmd WinLeave * set norelativenumber | 	autocmd WinLeave * set norelativenumber | ||||||
| augroup END | augroup END | ||||||
| 
 | 
 | ||||||
| syntax on | syntax on | ||||||
|  | @ -69,11 +72,11 @@ set nowrap | ||||||
| set nocompatible | set nocompatible | ||||||
| 
 | 
 | ||||||
| if has('nvim') | if has('nvim') | ||||||
|     " Neovim specific commands | 	" Neovim specific commands | ||||||
|     set viminfo+=n~/.cache/nviminfo | 	set viminfo+=n~/.cache/nviminfo | ||||||
| else | else | ||||||
|     " Standard vim specific commands | 	" Standard vim specific commands | ||||||
|     set viminfo+=n~/.cache/viminfo | 	set viminfo+=n~/.cache/viminfo | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| set wildmode=longest,list,full | set wildmode=longest,list,full | ||||||
|  | @ -84,15 +87,15 @@ runtime ftplugin/man.vim | ||||||
| set keywordprg=:Man | set keywordprg=:Man | ||||||
| 
 | 
 | ||||||
| if has("autocmd") | if has("autocmd") | ||||||
|     " Save cursor position. I don't understand this part | 	" Save cursor position. I don't understand this part | ||||||
|     au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif | 	au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif | ||||||
| 
 | 
 | ||||||
|     au BufNewFile,BufRead neomutt-* setf mail | 	au BufNewFile,BufRead neomutt-* setf mail | ||||||
| 
 | 
 | ||||||
|     au FileType yaml setlocal ai tabstop=2 shiftwidth=2 expandtab cuc nu | 	au FileType yaml setlocal ai tabstop=2 shiftwidth=2 expandtab cuc nu | ||||||
| 
 | 
 | ||||||
|     au FileType lilypond au BufWritePost * !lilypond % | 	au FileType lilypond au BufWritePost * !lilypond % | ||||||
|     au FileType dot au BufWritePost * !dot -Tpng -O % | 	au FileType dot au BufWritePost * !dot -Tpng -O % | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -107,60 +110,60 @@ 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 | ||||||
|     colorscheme dracula_pro | 	colorscheme dracula_pro | ||||||
| catch | catch | ||||||
|     colorscheme dracula | 	colorscheme dracula | ||||||
| endtry | endtry | ||||||
| 
 | 
 | ||||||
| let g:dracula_colorterm = 0 | let g:dracula_colorterm = 0 | ||||||
|  | @ -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' | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
							
								
								
									
										81
									
								
								.xprofile
									
										
									
									
									
								
							
							
						
						
									
										81
									
								
								.xprofile
									
										
									
									
									
								
							|  | @ -8,67 +8,68 @@ setxkbmap -option caps:none | ||||||
| 
 | 
 | ||||||
| _autostart_workspace_voip() | _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 & | ||||||
|     sleep 1 | 	flatpak run com.teamspeak.TeamSpeak -nosingleinstance & | ||||||
|     element-desktop & | 	sleep 1 | ||||||
|     sleep 1 | 	element-desktop & | ||||||
|     discord & | 	sleep 1 | ||||||
|  | 	discord & | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _autostart_workspace_messenger() | _autostart_workspace_messenger() | ||||||
| { | { | ||||||
|     signal-desktop & | 	signal-desktop & | ||||||
|     sleep 1 | 	sleep 1 | ||||||
|     thunderbird & | 	thunderbird & | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _autostart_apps() | _autostart_apps() | ||||||
| { | { | ||||||
|     dunst & | 	dunst & | ||||||
|     ckb-next --background & | 	ckb-next --background & | ||||||
|     parcellite & | 	parcellite & | ||||||
|     solaar --window hide & | 	solaar --window hide & | ||||||
| 
 | 
 | ||||||
|     conky --daemonize --config="$HOME/.config/conky/clock.conf" | 	conky --daemonize --config="$HOME/.config/conky/clock.conf" | ||||||
|     conky --daemonize --config="$HOME/.config/conky/system.conf" | 	conky --daemonize --config="$HOME/.config/conky/system.conf" | ||||||
|     conky --daemonize --config="$HOME/.config/conky/archlinux-updates.conf" | 	conky --daemonize --config="$HOME/.config/conky/archlinux-updates.conf" | ||||||
| 
 | 
 | ||||||
|     #actkbd --grab --config ~/.config/actkbd/actkbd.conf --device /dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd & | 	#actkbd --grab --config ~/.config/actkbd/actkbd.conf --device /dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd & | ||||||
| 
 | 
 | ||||||
|     syncthing -no-browser & | 	syncthing -no-browser & | ||||||
|     /usr/lib/kdeconnectd & | 	/usr/lib/kdeconnectd & | ||||||
|     #transmission-gtk --minimized & | 	#transmission-gtk --minimized & | ||||||
|     qbittorrent & | 	qbittorrent & | ||||||
| 
 | 
 | ||||||
|     #steam-runtime -silent -tcp & | 	#steam-runtime -silent -tcp & | ||||||
|     flatpak run com.valvesoftware.Steam -silent & | 	flatpak run com.valvesoftware.Steam -silent & | ||||||
|     qutebrowser & | 	qutebrowser & | ||||||
| 
 | 
 | ||||||
|     mopidy & | 	mopidy & | ||||||
| 
 | 
 | ||||||
|     /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & | 	/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & | ||||||
|     systemctl --user start spotifyd.service & | 	systemctl --user start spotifyd.service & | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _autostart() | _autostart() | ||||||
| { | { | ||||||
|     ### wait for audio | 	### wait for audio | ||||||
|     #start_jack | 	#start_jack | ||||||
|     start_audio pipewire | 	start_audio pipewire | ||||||
| 
 | 
 | ||||||
|     ### wait for internet | 	### wait for internet | ||||||
|     wait_for_service "network-online.target" | 	wait_for_service "network-online.target" | ||||||
| 
 | 
 | ||||||
|     pass x | 	pass x | ||||||
|     (pass notes/keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) & | 	(pass notes/keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) & | ||||||
|     pass x && sleep 5 | 	pass x && sleep 5 | ||||||
| 
 | 
 | ||||||
|     _autostart_apps & | 	_autostart_apps & | ||||||
|     _autostart_workspace_voip & | 	_autostart_workspace_voip & | ||||||
|     _autostart_workspace_messenger & | 	_autostart_workspace_messenger & | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _autostart & | _autostart & | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue