aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerländer2014-01-29 17:32:02 +0100
committerAdrian Kummerländer2014-01-29 17:32:02 +0100
commita75c4fb7155dbdbec32725c94c596c81752e0011 (patch)
tree39756904ba8ca8779551f21c6b9e07757e48777c
downloaddotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.gz
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.bz2
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.lz
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.xz
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.zst
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.zip
Initial commit of my current dotfiles
-rw-r--r--conky/.conkyrc8
-rw-r--r--fish/.config/fish/config.fish10
-rw-r--r--i3wm/.i3/config157
-rw-r--r--urxvt/.Xresources15
-rw-r--r--vim/.gvimrc8
-rw-r--r--vim/.vimrc47
-rw-r--r--zsh/.zshrc24
7 files changed, 269 insertions, 0 deletions
diff --git a/conky/.conkyrc b/conky/.conkyrc
new file mode 100644
index 0000000..cd567f9
--- /dev/null
+++ b/conky/.conkyrc
@@ -0,0 +1,8 @@
+out_to_x no
+out_to_console yes
+total_run_times 0
+
+update_interval 5
+
+TEXT
+Host: $nodename | Kernel: $kernel | Root: ${fs_used_perc /}% | IP: ${addr eth0} | CPU-Temp: ${ibm_temps 0}°C | GPU-Temp: ${ibm_temps 3}°C | Fan: ${ibm_fan} rpm | RAM: ${memperc}% | CPU-Load: ${cpu cpu0}% | Battery: ${battery_percent} | ${time %d.%m.%y %H:%M}
diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish
new file mode 100644
index 0000000..9e6d442
--- /dev/null
+++ b/fish/.config/fish/config.fish
@@ -0,0 +1,10 @@
+umask 0077
+
+set EDITOR vim
+set PATH ~/.local/bin $PATH
+
+if status --is-login
+ if test -z "$DISPLAY" -a $XDG_VTNR = 1
+ exec startx
+ end
+end
diff --git a/i3wm/.i3/config b/i3wm/.i3/config
new file mode 100644
index 0000000..e157356
--- /dev/null
+++ b/i3wm/.i3/config
@@ -0,0 +1,157 @@
+# Autostart-Applications:
+exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
+exec --no-startup-id urxvtd
+exec --no-startup-id twmnd
+exec --no-startup-id feh --bg-center ~/.background.jpg
+
+# Set modifier key variables
+set $mod Mod4
+set $alt Mod1
+
+# font for window titles
+font -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso10646-1
+
+# Use Mouse+$mod to drag floating windows to their wanted position
+floating_modifier $mod
+
+bindsym $mod+Return exec urxvtc
+bindsym $alt+Return exec gvim
+
+# kill focused window
+bindsym $mod+Shift+Q kill
+
+# start dmenu
+bindsym $mod+space exec --no-startup-id dmenu_run
+bindsym $alt+space exec --no-startup-id passman fillbrowser
+
+# change focus
+bindsym $mod+h focus left
+bindsym $mod+j focus down
+bindsym $mod+k focus up
+bindsym $mod+l focus right
+
+bindsym $mod+Left focus left
+bindsym $mod+Down focus down
+bindsym $mod+Up focus up
+bindsym $mod+Right focus right
+
+# move focused window
+bindsym $mod+Shift+H move left
+bindsym $mod+Shift+J move down
+bindsym $mod+Shift+K move up
+bindsym $mod+Shift+L move right
+
+bindsym $mod+Shift+Left move left
+bindsym $mod+Shift+Down move down
+bindsym $mod+Shift+Up move up
+bindsym $mod+Shift+Right move right
+
+# split in horizontal orientation
+bindsym $mod+y split h
+
+# split in vertical orientation
+bindsym $mod+x split v
+
+# enter fullscreen mode for the focused container
+bindsym $mod+f fullscreen
+
+# change container layout (stacked, tabbed, default)
+bindsym $mod+s layout stacking
+bindsym $mod+w layout tabbed
+bindsym $mod+e layout default
+
+# toggle tiling / floating
+bindsym $mod+Shift+space floating toggle
+
+# focus the parent container
+bindsym $mod+a focus parent
+
+# focus the child container
+bindsym $mod+d focus child
+
+# switch to workspace
+bindsym $mod+1 workspace 1
+bindsym $mod+2 workspace 2
+bindsym $mod+3 workspace 3
+bindsym $mod+4 workspace 4
+bindsym $mod+5 workspace 5
+bindsym $mod+6 workspace 6
+bindsym $mod+7 workspace 7
+bindsym $mod+8 workspace 8
+bindsym $mod+9 workspace 9
+bindsym $mod+0 workspace 10
+
+bindsym Control+Mod1+Right workspace next_on_output
+bindsym Control+Mod1+Left workspace prev_on_output
+bindsym Control+Mod1+Down move workspace to output right
+
+# move focused container to workspace
+bindsym $mod+Shift+exclam move container to workspace 1
+bindsym $mod+Shift+quotedbl move container to workspace 2
+bindsym $mod+Shift+section move container to workspace 3
+bindsym $mod+Shift+dollar move container to workspace 4
+bindsym $mod+Shift+percent move container to workspace 5
+bindsym $mod+Shift+ampersand move container to workspace 6
+bindsym $mod+Shift+slash move container to workspace 7
+bindsym $mod+Shift+parenleft move container to workspace 8
+bindsym $mod+Shift+parenright move container to workspace 9
+bindsym $mod+Shift+equal move container to workspace 10
+
+# control i3 execution
+bindsym $mod+Shift+C reload
+bindsym $mod+Shift+R restart
+bindsym $mod+Shift+E exit
+
+# resize window
+mode "resize" {
+ bindsym h resize shrink width 10 px or 10 ppt
+ bindsym j resize grow height 10 px or 10 ppt
+ bindsym k resize shrink height 10 px or 10 ppt
+ bindsym l resize grow width 10 px or 10 ppt
+
+ bindsym 113 resize shrink width 10 px or 10 ppt
+ bindsym 116 resize grow height 10 px or 10 ppt
+ bindsym 111 resize shrink height 10 px or 10 ppt
+ bindsym 114 resize grow width 10 px or 10 ppt
+
+ bindsym Return mode "default"
+ bindsym Escape mode "default"
+}
+
+bindsym $mod+r mode "resize"
+
+# configure i3bar
+bar {
+ status_command conky
+ workspace_buttons yes
+
+ colors {
+ background #0e0e0e
+ statusline #839496
+
+ focused_workspace #b58900 #111111
+ inactive_workspace #586e75 #111111
+ urgent_workspace #839496 #dc322f
+ active_workspace #839496 #111111
+ }
+}
+
+
+# Colors
+client.focused #cb4b16 #cb4b16 #fdf6e3
+client.focused_inactive #657b83 #657b83 #fdf6e3
+client.unfocused #586e75 #586e75 #eee8d5
+client.urgent #dc322f #dc322f #fdf6e3
+
+# Custom-Windows
+for_window [class="Xfce4-notifyd"] floating enable; border none
+for_window [class="Arandr"] floating enable
+for_window [class="Sonata"] floating enable
+for_window [class="Chromium"] border none
+for_window [class="Thunderbird"] border none
+for_window [class="Firefox"] border none
+
+# Custom shortcuts
+bindsym Mod1+l exec --no-startup-id i3lock -c 000000
+bindsym control+Mod1+l exec --no-startup-id sh ~/.screenlayout/laptop.sh
+bindsym control+Mod1+d exec --no-startup-id sh ~/.screenlayout/docking.sh
diff --git a/urxvt/.Xresources b/urxvt/.Xresources
new file mode 100644
index 0000000..f8f17bb
--- /dev/null
+++ b/urxvt/.Xresources
@@ -0,0 +1,15 @@
+URxvt.foreground: white
+URxvt.background: black
+URxvt.scrollBar: false
+URxvt.transparent: false
+URxvt.font: xft:monospace:size=8
+URxvt.perl-ext-common: vtwheel,matcher,clipboard
+URxvt.saveLines: 10000
+URxvt.inheritPixmap: false
+URxvt.matcher.button: 1
+URxvt.matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-]
+URxvt.urlLauncher: firefox
+URxvt.keysym.Control-Up: \033[1;5A
+URxvt.keysym.Control-Down: \033[1;5B
+URxvt.keysym.Control-Left: \033[1;5D
+URxvt.keysym.Control-Right: \033[1;5C
diff --git a/vim/.gvimrc b/vim/.gvimrc
new file mode 100644
index 0000000..7d7d0dd
--- /dev/null
+++ b/vim/.gvimrc
@@ -0,0 +1,8 @@
+set guioptions+=LlRrb
+set guioptions-=LlRrb
+
+set guioptions-=m
+set guioptions-=T
+set guioptions-=e
+
+set guifont=Monospace\ 8
diff --git a/vim/.vimrc b/vim/.vimrc
new file mode 100644
index 0000000..9b9c4bb
--- /dev/null
+++ b/vim/.vimrc
@@ -0,0 +1,47 @@
+call pathogen#infect()
+
+syntax enable
+filetype plugin indent on
+set encoding=utf-8
+set showcmd
+set nocompatible
+set number
+set background=dark
+set lazyredraw
+set ttyfast
+
+set directory=~/.vim/swap,.
+
+set wrap
+set tabstop=4 shiftwidth=4
+set backspace=indent,eol,start
+set listchars=tab:\▶\
+set list
+
+set hlsearch
+set incsearch
+set ignorecase
+set smartcase
+
+colorscheme jellybeans
+
+vnoremap cc "+y
+nnoremap cc "+p
+nnoremap <F5> :GundoToggle<CR>
+nnoremap <F3> :TlistToggle<CR>
+
+nnoremap <C-left> gT
+nnoremap <C-right> gt
+
+nnoremap <A-left> <C-W>h
+nnoremap <A-right> <C-W>l
+
+nmap <Left> <<
+nmap <Right> >>
+vmap <Left> <gv
+vmap <Right> >gv
+
+nmap <Up> [e
+nmap <Down> ]e
+vmap <Up> [egv
+vmap <Down> ]egv
diff --git a/zsh/.zshrc b/zsh/.zshrc
new file mode 100644
index 0000000..cb38775
--- /dev/null
+++ b/zsh/.zshrc
@@ -0,0 +1,24 @@
+setopt no_beep auto_cd complete_in_word correct rm_star_wait hist_ignore_all_dups share_history append_history extended_history
+eval `dircolors`
+PROMPT='%B%n:~#%b '
+RPROMPT='%/'
+export EDITOR=vim
+export PAGER=less
+
+autoload -U compinit && compinit
+zstyle ':completion:*' menu select=1
+zstyle ':completion:*' completer _complete _correct _approximate
+
+HISTFILE=~/.zsh_history
+SAVEHIST=10000000
+HISTSIZE=12000000
+
+alias ls='ls --color=auto'
+alias grep='grep --color'
+alias evince='evince &> /dev/null'
+alias svim='sudo vim'
+
+alias sdefi='find -iname \*.h | xargs grep $1'
+alias simpl='find -iname \*.cc | xargs grep $1'
+alias grepsearch='grep -iRnH "$@"'
+alias psgrep='ps axuf | grep -v grep | grep "$@" -i --color=auto'