Centralization
This commit is contained in:
		
							
								
								
									
										11
									
								
								.gitconfig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								.gitconfig
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
[user]
 | 
			
		||||
	email = tobias.manske@mailbox.org
 | 
			
		||||
	name = Tobias Manske
 | 
			
		||||
	signingkey = 978D99F12D4E041F
 | 
			
		||||
[alias]
 | 
			
		||||
    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
 | 
			
		||||
    cu = "!git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d"
 | 
			
		||||
[commit]
 | 
			
		||||
	gpgsign = true
 | 
			
		||||
[core]
 | 
			
		||||
	autocrlf = input
 | 
			
		||||
							
								
								
									
										21
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
# Created by https://www.gitignore.io/api/vim
 | 
			
		||||
 | 
			
		||||
### Vim ###
 | 
			
		||||
# swap
 | 
			
		||||
vim/[._]*.s[a-v][a-z]
 | 
			
		||||
vim/[._]*.sw[a-p]
 | 
			
		||||
vim/[._]s[a-v][a-z]
 | 
			
		||||
vim/[._]sw[a-p]
 | 
			
		||||
# session
 | 
			
		||||
Session.vim
 | 
			
		||||
# temporary
 | 
			
		||||
.netrwhist
 | 
			
		||||
*~
 | 
			
		||||
# auto-generated tag files
 | 
			
		||||
tags
 | 
			
		||||
 | 
			
		||||
vim/.undo/*
 | 
			
		||||
vim/.swp/*
 | 
			
		||||
 | 
			
		||||
.sqlite
 | 
			
		||||
# End of https://www.gitignore.io/api/vim
 | 
			
		||||
							
								
								
									
										93
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										93
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,93 @@
 | 
			
		||||
[submodule "vim/plugins/emmet-vim"]
 | 
			
		||||
	path = vim/plugins/emmet-vim
 | 
			
		||||
	url = https://github.com/mattn/emmet-vim
 | 
			
		||||
[submodule "vim/plugins/neco-vim"]
 | 
			
		||||
	path = vim/plugins/neco-vim
 | 
			
		||||
	url = https://github.com/Shougo/neco-vim
 | 
			
		||||
[submodule "vim/plugins/nerdcommenter"]
 | 
			
		||||
	path = vim/plugins/nerdcommenter
 | 
			
		||||
	url = https://github.com/scrooloose/nerdcommenter
 | 
			
		||||
[submodule "vim/plugins/supertab"]
 | 
			
		||||
	path = vim/plugins/supertab
 | 
			
		||||
	url = https://github.com/ervandew/supertab
 | 
			
		||||
[submodule "vim/plugins/syntastic"]
 | 
			
		||||
	path = vim/plugins/syntastic
 | 
			
		||||
	url = https://github.com/vim-syntastic/syntastic.git
 | 
			
		||||
[submodule "vim/plugins/vim-airline"]
 | 
			
		||||
	path = vim/plugins/vim-airline
 | 
			
		||||
	url = https://github.com/vim-airline/vim-airline.git
 | 
			
		||||
[submodule "vim/plugins/vim-airline-themes"]
 | 
			
		||||
	path = vim/plugins/vim-airline-themes
 | 
			
		||||
	url = https://github.com/vim-airline/vim-airline-themes.git
 | 
			
		||||
[submodule "vim/plugins/vim-better-whitespace"]
 | 
			
		||||
	path = vim/plugins/vim-better-whitespace
 | 
			
		||||
	url = git://github.com/ntpeters/vim-better-whitespace.git
 | 
			
		||||
[submodule "vim/plugins/vim-easymotion"]
 | 
			
		||||
	path = vim/plugins/vim-easymotion
 | 
			
		||||
	url = https://github.com/easymotion/vim-easymotion
 | 
			
		||||
[submodule "vim/plugins/vim-fugitive"]
 | 
			
		||||
	path = vim/plugins/vim-fugitive
 | 
			
		||||
	url = git://github.com/tpope/vim-fugitive.git
 | 
			
		||||
[submodule "vim/plugins/vim-yankstack"]
 | 
			
		||||
	path = vim/plugins/vim-yankstack
 | 
			
		||||
	url = https://github.com/maxbrunsfeld/vim-yankstack
 | 
			
		||||
[submodule "vim/plugins/indentline"]
 | 
			
		||||
	path = vim/plugins/indentline
 | 
			
		||||
	url = https://github.com/yggdroot/indentline
 | 
			
		||||
[submodule "vim/plugins/simpylfold"]
 | 
			
		||||
	path = vim/plugins/simpylfold
 | 
			
		||||
	url = https://github.com/tmhedberg/simpylfold
 | 
			
		||||
[submodule "vim/plugins/FastFold"]
 | 
			
		||||
	path = vim/plugins/FastFold
 | 
			
		||||
	url = https://github.com/Konfekt/fastfold.git
 | 
			
		||||
[submodule "vim/plugins/vim-nerdtree-tabs"]
 | 
			
		||||
	path = vim/plugins/vim-nerdtree-tabs
 | 
			
		||||
	url = https://github.com/jistr/vim-nerdtree-tabs
 | 
			
		||||
[submodule "vim/plugins/GoldenView"]
 | 
			
		||||
	path = vim/plugins/GoldenView
 | 
			
		||||
	url = git://github.com/zhaocai/GoldenView.Vim.git
 | 
			
		||||
[submodule "vim/plugins/ultisnips"]
 | 
			
		||||
	path = vim/plugins/ultisnips
 | 
			
		||||
	url = https://github.com/SirVer/ultisnips.git
 | 
			
		||||
[submodule "vim/snippets/vim-snippets"]
 | 
			
		||||
	path = vim/snippets/vim-snippets
 | 
			
		||||
	url = https://github.com/honza/vim-snippets
 | 
			
		||||
[submodule "vim/snippets/bootstrap-snippets"]
 | 
			
		||||
	path = vim/snippets/bootstrap-snippets
 | 
			
		||||
	url = https://github.com/bonsaiben/bootstrap-snippets.git
 | 
			
		||||
[submodule "vim/snippets/snipmate-snippets-bib"]
 | 
			
		||||
	path = vim/snippets/snipmate-snippets-bib
 | 
			
		||||
	url = https://github.com/rbonvall/snipmate-snippets-bib.git
 | 
			
		||||
[submodule "vim/plugins/singlecompile"]
 | 
			
		||||
	path = vim/plugins/singlecompile
 | 
			
		||||
	url = https://github.com/xuhdev/singlecompile
 | 
			
		||||
[submodule "vim/plugins/javacomplete"]
 | 
			
		||||
	path = vim/plugins/javacomplete
 | 
			
		||||
	url = https://github.com/vim-scripts/javacomplete
 | 
			
		||||
[submodule "vim/plugins/pythonsyntax"]
 | 
			
		||||
	path = vim/plugins/pythonsyntax
 | 
			
		||||
	url = https://github.com/hdima/python-syntax
 | 
			
		||||
[submodule "vim/plugins/vim-python-pep8-indent"]
 | 
			
		||||
	path = vim/plugins/vim-python-pep8-indent
 | 
			
		||||
	url = https://github.com/Vimjas/vim-python-pep8-indent
 | 
			
		||||
[submodule "vim/plugins/auto-pairs"]
 | 
			
		||||
	path = vim/plugins/auto-pairs
 | 
			
		||||
	url = https://github.com/jiangmiao/auto-pairs.git
 | 
			
		||||
[submodule "vim/plugins/kotlin-vim"]
 | 
			
		||||
	path = vim/plugins/kotlin-vim
 | 
			
		||||
	url = https://github.com/udalov/kotlin-vim.git
 | 
			
		||||
[submodule "vim/plugins/vim-hug-neovim-rpc"]
 | 
			
		||||
	path = vim/plugins/vim-hug-neovim-rpc
 | 
			
		||||
	url = https://github.com/roxma/vim-hug-neovim-rpc
 | 
			
		||||
[submodule "vim/plugins/deoplete.nvim"]
 | 
			
		||||
	path = vim/plugins/deoplete.nvim
 | 
			
		||||
	url = https://github.com/Shougo/deoplete.nvim.git
 | 
			
		||||
[submodule "vim/plugins/nvim-yarp"]
 | 
			
		||||
	path = vim/plugins/nvim-yarp
 | 
			
		||||
	url = https://github.com/roxma/nvim-yarp
 | 
			
		||||
[submodule "vim/plugins/deoplete-jedi"]
 | 
			
		||||
	path = vim/plugins/deoplete-jedi
 | 
			
		||||
	url = https://github.com/zchee/deoplete-jedi
 | 
			
		||||
[submodule "vim/plugins/vim-latex-live-preview"]
 | 
			
		||||
	path = vim/plugins/vim-latex-live-preview
 | 
			
		||||
	url = https://github.com/xuhdev/vim-latex-live-preview
 | 
			
		||||
							
								
								
									
										30
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
tmux:
 | 
			
		||||
	ln -s ~/.dotfiles/tmux ~/.tmux
 | 
			
		||||
	ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf
 | 
			
		||||
 | 
			
		||||
vim:
 | 
			
		||||
	ln -s ~/.dotfiles/vim ~/.vim
 | 
			
		||||
	ln -s ~/.dotfiles/vim/.vimc ~/.vimrc
 | 
			
		||||
	sudo pip3 uninstall greenlet
 | 
			
		||||
	sudo pip3 install neovim
 | 
			
		||||
	sudo pip2 uninstall greenlet
 | 
			
		||||
	sudo pacman -S python-greenlet
 | 
			
		||||
 | 
			
		||||
git:
 | 
			
		||||
	ln -s ~/.dotfiles/.gitconfig ~/.gitconfig
 | 
			
		||||
 | 
			
		||||
zsh:
 | 
			
		||||
	ln -s ~/.dotfiles/zsh ~/.zim
 | 
			
		||||
	zsh zimsetup.zsh
 | 
			
		||||
	rm ~/.zimrc
 | 
			
		||||
	ln -s ~/.dotfiles/zsh/.zimrc ~/.zimrc
 | 
			
		||||
 | 
			
		||||
i3:
 | 
			
		||||
	ln -s ~/.dotfiles/i3 ~/.config/i3
 | 
			
		||||
 | 
			
		||||
.PHONY: clean zsh git vim tmux i3
 | 
			
		||||
clean:
 | 
			
		||||
	rm -rf ~/.vim ~/.vimrc ~/.tmux ~/.tmux.conf ~/.gitconfig ~/.config/i3
 | 
			
		||||
	rm -rf ~/.zshrc ~/.zimrc ~/.zim ~/.zlogin
 | 
			
		||||
 | 
			
		||||
all: clean tmux vim git zsh i3
 | 
			
		||||
							
								
								
									
										42
									
								
								i3/config
									
									
									
									
									
								
							
							
						
						
									
										42
									
								
								i3/config
									
									
									
									
									
								
							@@ -20,11 +20,15 @@
 | 
			
		||||
 | 
			
		||||
    # Define names for default workspaces for which we configure key bindings later on.
 | 
			
		||||
    # We use variables to avoid repeating the names in multiple places.
 | 
			
		||||
    set $ws1 "1"
 | 
			
		||||
    set $ws2 "2"
 | 
			
		||||
    set $ws3 "3"
 | 
			
		||||
    # Browser
 | 
			
		||||
    set $ws1 "1 "
 | 
			
		||||
    # Terminal
 | 
			
		||||
    set $ws2 "2 "
 | 
			
		||||
    # Work
 | 
			
		||||
    set $ws3 "3 "
 | 
			
		||||
    set $ws4 "4"
 | 
			
		||||
    set $ws5 "5"
 | 
			
		||||
    # Mail
 | 
			
		||||
    set $ws5 "5 "
 | 
			
		||||
    set $ws6 "6"
 | 
			
		||||
    set $ws7 "7"
 | 
			
		||||
    set $ws8 "8"
 | 
			
		||||
@@ -132,6 +136,9 @@ floating_modifier $mod
 | 
			
		||||
    # UNBIND F1
 | 
			
		||||
    bindsym F1 exec --no-startup-id echo > /dev/null
 | 
			
		||||
 | 
			
		||||
    # Urgent window
 | 
			
		||||
    bindsym $mod+x [urgent=latest] focus
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    # MEDIA KEYS
 | 
			
		||||
    bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 2%+
 | 
			
		||||
@@ -142,6 +149,13 @@ floating_modifier $mod
 | 
			
		||||
    bindsym XF86AudioPrev        exec --no-startup-id playerctl previous
 | 
			
		||||
    bindsym XF86AudioStop        exec --no-startup-id playerctl stop
 | 
			
		||||
 | 
			
		||||
    # Screensaver || ThinkVantage
 | 
			
		||||
    bindsym XF86ScreenSaver exec xscreensaver-command -lock
 | 
			
		||||
    bindsym XF86Launch1     exec "xscreensaver-command -lock; sleep 1; xset dpms force off"
 | 
			
		||||
 | 
			
		||||
    # Screenshot
 | 
			
		||||
    bindsym Print exec ~/.config/i3/scripts/screenshot.sh
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    # {{{ RESIZE MODE }}}
 | 
			
		||||
    mode "resize" {
 | 
			
		||||
@@ -199,6 +213,26 @@ bar {
 | 
			
		||||
    default_border none
 | 
			
		||||
    default_floating_border normal
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# {{{ WORKSPACES }}}
 | 
			
		||||
 | 
			
		||||
    # Browser
 | 
			
		||||
        workspace $ws1 gaps outer 0
 | 
			
		||||
        workspace $ws1 gaps inner 0
 | 
			
		||||
        assign [class="Firefox"] $ws1
 | 
			
		||||
 | 
			
		||||
    # Terminal
 | 
			
		||||
        assign [class="URxvt"]   $ws2
 | 
			
		||||
 | 
			
		||||
    # Mail
 | 
			
		||||
        workspace $ws5 gaps outer 0
 | 
			
		||||
        workspace $ws5 gaps inner 0
 | 
			
		||||
        assign [class="Thunderbird"] $ws5
 | 
			
		||||
    # KeepassXC
 | 
			
		||||
        assign [class="keepassxc"] $ws10
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# {{{ KEYBOARD MAP }}}
 | 
			
		||||
    exec_always setxkbmap de
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										2
									
								
								i3/scripts/screenshot.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										2
									
								
								i3/scripts/screenshot.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
xfce4-screenshooter -o "/usr/bin/xclip -i -t image/png -selection clipboard" -r
 | 
			
		||||
							
								
								
									
										1
									
								
								vim
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								vim
									
									
									
									
									
										Submodule
									
								
							 Submodule vim added at 128636d8af
									
								
							
							
								
								
									
										11
									
								
								zimsetup.zsh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										11
									
								
								zimsetup.zsh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
#!/usr/bin/env zsh
 | 
			
		||||
 | 
			
		||||
setopt EXTENDED_GLOB
 | 
			
		||||
  for template_file ( ${ZDOTDIR:-${HOME}}/.zim/templates/* ); do
 | 
			
		||||
    user_file="${ZDOTDIR:-${HOME}}/.${template_file:t}"
 | 
			
		||||
    touch ${user_file}
 | 
			
		||||
    ( print -rn "$(<${template_file})$(<${user_file})" >! ${user_file} ) 2>/dev/null
 | 
			
		||||
  done
 | 
			
		||||
chsh -s =zsh
 | 
			
		||||
zsh -c 'source ${ZDOTDIR:-${HOME}}/.zlogin'
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								zsh
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								zsh
									
									
									
									
									
										Submodule
									
								
							 Submodule zsh added at 1d21538507
									
								
							
		Reference in New Issue
	
	Block a user