From 215132eeb92a0e95cd6424de2fd9f9b9563557a7 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 13 Jul 2015 13:07:07 +0200 Subject: changed .* to *; --- .config/terminator/config | 37 ---- .dir_colors | 455 --------------------------------------- .gitmodules | 16 +- .i3/config | 212 ------------------ .i3/conky-i3bar | 13 -- .i3/conkyrc | 110 ---------- .i3/conkyrc_unicode | 106 --------- .vim/.netrwhist | 3 - .vim/autoload/pathogen.vim | 347 ----------------------------- .vim/bundle/a.vim | 1 - .vim/bundle/table-mode | 1 - .vim/bundle/vim-autoclose | 1 - .vim/bundle/vim-colors-solarized | 1 - .vimrc | 122 ----------- .zshrc | 127 ----------- config/terminator/config | 37 ++++ dir_colors | 455 +++++++++++++++++++++++++++++++++++++++ i3/config | 212 ++++++++++++++++++ i3/conky-i3bar | 13 ++ i3/conkyrc | 110 ++++++++++ i3/conkyrc_unicode | 106 +++++++++ vim/.netrwhist | 3 + vim/autoload/pathogen.vim | 347 +++++++++++++++++++++++++++++ vimrc | 122 +++++++++++ zshrc | 127 +++++++++++ 25 files changed, 1540 insertions(+), 1544 deletions(-) delete mode 100644 .config/terminator/config delete mode 100644 .dir_colors delete mode 100644 .i3/config delete mode 100755 .i3/conky-i3bar delete mode 100644 .i3/conkyrc delete mode 100644 .i3/conkyrc_unicode delete mode 100755 .vim/.netrwhist delete mode 100755 .vim/autoload/pathogen.vim delete mode 160000 .vim/bundle/a.vim delete mode 160000 .vim/bundle/table-mode delete mode 160000 .vim/bundle/vim-autoclose delete mode 160000 .vim/bundle/vim-colors-solarized delete mode 100644 .vimrc delete mode 100644 .zshrc create mode 100644 config/terminator/config create mode 100644 dir_colors create mode 100644 i3/config create mode 100755 i3/conky-i3bar create mode 100644 i3/conkyrc create mode 100644 i3/conkyrc_unicode create mode 100755 vim/.netrwhist create mode 100755 vim/autoload/pathogen.vim create mode 100644 vimrc create mode 100644 zshrc diff --git a/.config/terminator/config b/.config/terminator/config deleted file mode 100644 index 3d3efd0..0000000 --- a/.config/terminator/config +++ /dev/null @@ -1,37 +0,0 @@ -[global_config] - title_transmit_bg_color = "#d30102" - focus = system -[keybindings] -[profiles] - [[default]] - urgent_bell = True - background_image = None - [[solarized-dark]] - scrollbar_position = hidden - palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3" - visible_bell = True - urgent_bell = True - background_type = transparent - background_image = None - cursor_color = "#eee8d5" - foreground_color = "#eee8d5" - show_titlebar = False - background_color = "#002b36" - [[solarized-light]] - palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3" - visible_bell = True - urgent_bell = True - background_image = None - cursor_color = "#002b36" - foreground_color = "#002b36" - background_color = "#eee8d5" -[layouts] - [[default]] - [[[child1]]] - type = Terminal - parent = window0 - profile = solarized-dark - [[[window0]]] - type = Window - parent = "" -[plugins] diff --git a/.dir_colors b/.dir_colors deleted file mode 100644 index ff56576..0000000 --- a/.dir_colors +++ /dev/null @@ -1,455 +0,0 @@ -# Exact Solarized Dark color theme for the color GNU ls utility. -# Designed for dircolors (GNU coreutils) 5.97 -# -# This simple theme was simultaneously designed for these terminal color schemes: -# - Solarized dark (best) -# - Solarized light -# - default dark -# - default light -# with a slight optimization for Solarized Dark. -# -# How the colors were selected: -# - Terminal emulators often have an option typically enabled by default that makes -# bold a different color. It is important to leave this option enabled so that -# you can access the entire 16-color Solarized palette, and not just 8 colors. -# - We favor universality over a greater number of colors. So we limit the number -# of colors so that this theme will work out of the box in all terminals, -# Solarized or not, dark or light. -# - We choose to have the following category of files: -# NORMAL & FILE, DIR, LINK, EXEC and -# editable text including source, unimportant text, binary docs & multimedia source -# files, viewable multimedia, archived/compressed, and unimportant non-text -# - For uniqueness, we stay away from the Solarized foreground colors are -- either -# base00 (brightyellow) or base0 (brighblue). However, they can be used if -# you know what the bg/fg colors of your terminal are, in order to optimize the display. -# - 3 different options are provided: universal, solarized dark, and solarized light. -# The only difference between the universal scheme and one that's optimized for -# dark/light is the color of "unimportant" files, which should blend more with the -# background -# - We note that blue is the hardest color to see on dark bg and yellow is the hardest -# color to see on light bg (with blue being particularly bad). So we choose yellow -# for multimedia files which are usually accessed in a GUI folder browser anyway. -# And blue is kept for custom use of this scheme's user. -# - See table below to see the assignments. - - -# Installation instructions: -# This file goes in the /etc directory, and must be world readable. -# You can copy this file to .dir_colors in your $HOME directory to override -# the system defaults. - -# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not -# pipes. 'all' adds color characters to all output. 'none' shuts colorization -# off. -COLOR tty - -# Below, there should be one TERM entry for each termtype that is colorizable -TERM ansi -TERM color_xterm -TERM color-xterm -TERM con132x25 -TERM con132x30 -TERM con132x43 -TERM con132x60 -TERM con80x25 -TERM con80x28 -TERM con80x30 -TERM con80x43 -TERM con80x50 -TERM con80x60 -TERM cons25 -TERM console -TERM cygwin -TERM dtterm -TERM dvtm -TERM dvtm-256color -TERM Eterm -TERM eterm-color -TERM fbterm -TERM gnome -TERM gnome-256color -TERM jfbterm -TERM konsole -TERM konsole-256color -TERM kterm -TERM linux -TERM linux-c -TERM mach-color -TERM mlterm -TERM nxterm -TERM putty -TERM putty-256color -TERM rxvt -TERM rxvt-256color -TERM rxvt-cygwin -TERM rxvt-cygwin-native -TERM rxvt-unicode -TERM rxvt-unicode256 -TERM rxvt-unicode-256color -TERM screen -TERM screen-16color -TERM screen-16color-bce -TERM screen-16color-s -TERM screen-16color-bce-s -TERM screen-256color -TERM screen-256color-bce -TERM screen-256color-s -TERM screen-256color-bce-s -TERM screen-bce -TERM screen-w -TERM screen.linux -TERM screen.xterm-new -TERM st -TERM st-meta -TERM st-256color -TERM st-meta-256color -TERM vt100 -TERM xterm -TERM xterm-new -TERM xterm-16color -TERM xterm-256color -TERM xterm-88color -TERM xterm-color -TERM xterm-debian -TERM xterm-termite - -# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output) -EIGHTBIT 1 - -############################################################################# -# Below are the color init strings for the basic file types. A color init -# string consists of one or more of the following numeric codes: -# -# Attribute codes: -# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed -# Text color codes: -# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white -# Background color codes: -# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white -# -# NOTES: -# - See http://www.oreilly.com/catalog/wdnut/excerpt/color_names.html -# - Color combinations -# ANSI Color code Solarized Notes Universal SolDark SolLight -# ~~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~ ~~~~~~~~~ ~~~~~~~ ~~~~~~~~ -# 00 none NORMAL, FILE -# 30 black base02 -# 01;30 bright black base03 bg of SolDark -# 31 red red docs & mm src -# 01;31 bright red orange EXEC -# 32 green green editable text -# 01;32 bright green base01 unimportant text -# 33 yellow yellow unclear in light bg multimedia -# 01;33 bright yellow base00 fg of SolLight unimportant non-text -# 34 blue blue unclear in dark bg user customized -# 01;34 bright blue base0 fg in SolDark unimportant text -# 35 magenta magenta LINK -# 01;35 bright magenta violet archive/compressed -# 36 cyan cyan DIR -# 01;36 bright cyan base1 unimportant non-text -# 37 white base2 -# 01;37 bright white base3 bg in SolLight -# 05;37;41 unclear in Putty dark - - -### By file type - -# global default -NORMAL 00 -# normal file -FILE 00 -# directory -DIR 34 -# 777 directory -OTHER_WRITABLE 34;40 -# symbolic link -LINK 35 - -# pipe, socket, block device, character device (blue bg) -FIFO 30;44 -SOCK 35;44 -DOOR 35;44 # Solaris 2.5 and later -BLK 33;44 -CHR 37;44 - - -############################################################################# -### By file attributes - -# Orphaned symlinks (blinking white on red) -# Blink may or may not work (works on iTerm dark or light, and Putty dark) -ORPHAN 05;37;41 -# ... and the files that orphaned symlinks point to (blinking white on red) -MISSING 05;37;41 - -# files with execute permission -EXEC 01;31 # Unix -.cmd 01;31 # Win -.exe 01;31 # Win -.com 01;31 # Win -.bat 01;31 # Win -.reg 01;31 # Win -.app 01;31 # OSX - -############################################################################# -### By extension - -# List any file extensions like '.gz' or '.tar' that you would like ls -# to colorize below. Put the extension, a space, and the color init string. -# (and any comments you want to add after a '#') - -### Text formats - -# Text that we can edit with a regular editor -.txt 32 -.org 32 -.md 32 -.mkd 32 - -# Source text -.h 32 -.c 32 -.C 32 -.cc 32 -.cpp 32 -.cxx 32 -.objc 32 -.sh 32 -.csh 32 -.zsh 32 -.el 32 -.vim 32 -.java 32 -.pl 32 -.pm 32 -.py 32 -.rb 32 -.hs 32 -.php 32 -.htm 32 -.html 32 -.shtml 32 -.erb 32 -.haml 32 -.xml 32 -.rdf 32 -.css 32 -.sass 32 -.scss 32 -.less 32 -.js 32 -.coffee 32 -.man 32 -.0 32 -.1 32 -.2 32 -.3 32 -.4 32 -.5 32 -.6 32 -.7 32 -.8 32 -.9 32 -.l 32 -.n 32 -.p 32 -.pod 32 -.tex 32 - -### Multimedia formats - -# Image -.bmp 33 -.cgm 33 -.dl 33 -.dvi 33 -.emf 33 -.eps 33 -.gif 33 -.jpeg 33 -.jpg 33 -.JPG 33 -.mng 33 -.pbm 33 -.pcx 33 -.pdf 33 -.pgm 33 -.png 33 -.PNG 33 -.ppm 33 -.pps 33 -.ppsx 33 -.ps 33 -.svg 33 -.svgz 33 -.tga 33 -.tif 33 -.tiff 33 -.xbm 33 -.xcf 33 -.xpm 33 -.xwd 33 -.xwd 33 -.yuv 33 - -# Audio -.aac 33 -.au 33 -.flac 33 -.mid 33 -.midi 33 -.mka 33 -.mp3 33 -.mpa 33 -.mpeg 33 -.mpg 33 -.ogg 33 -.ra 33 -.wav 33 - -# Video -.anx 33 -.asf 33 -.avi 33 -.axv 33 -.flc 33 -.fli 33 -.flv 33 -.gl 33 -.m2v 33 -.m4v 33 -.mkv 33 -.mov 33 -.mp4 33 -.mp4v 33 -.mpeg 33 -.mpg 33 -.nuv 33 -.ogm 33 -.ogv 33 -.ogx 33 -.qt 33 -.rm 33 -.rmvb 33 -.swf 33 -.vob 33 -.webm 33 -.wmv 33 - -### Misc - -# Binary document formats and multimedia source -.doc 31 -.docx 31 -.rtf 31 -.dot 31 -.dotx 31 -.xls 31 -.xlsx 31 -.ppt 31 -.pptx 31 -.fla 31 -.psd 31 - -# Archives, compressed -.7z 1;35 -.apk 1;35 -.arj 1;35 -.bin 1;35 -.bz 1;35 -.bz2 1;35 -.cab 1;35 # Win -.deb 1;35 -.dmg 1;35 # OSX -.gem 1;35 -.gz 1;35 -.iso 1;35 -.jar 1;35 -.msi 1;35 # Win -.rar 1;35 -.rpm 1;35 -.tar 1;35 -.tbz 1;35 -.tbz2 1;35 -.tgz 1;35 -.tx 1;35 -.war 1;35 -.xpi 1;35 -.xz 1;35 -.z 1;35 -.Z 1;35 -.zip 1;35 - -# For testing -.ANSI-30-black 30 -.ANSI-01;30-brblack 01;30 -.ANSI-31-red 31 -.ANSI-01;31-brred 01;31 -.ANSI-32-green 32 -.ANSI-01;32-brgreen 01;32 -.ANSI-33-yellow 33 -.ANSI-01;33-bryellow 01;33 -.ANSI-34-blue 34 -.ANSI-01;34-brblue 01;34 -.ANSI-35-magenta 35 -.ANSI-01;35-brmagenta 01;35 -.ANSI-36-cyan 36 -.ANSI-01;36-brcyan 01;36 -.ANSI-37-white 37 -.ANSI-01;37-brwhite 01;37 - -############################################################################# -# Your customizations - -# Unimportant text files -# For universal scheme, use brightgreen 01;32 -# For optimal on light bg (but too prominent on dark bg), use white 01;34 -.log 01;32 -*~ 01;32 -*# 01;32 -#.log 01;34 -#*~ 01;34 -#*# 01;34 - -# Unimportant non-text files -# For universal scheme, use brightcyan 01;36 -# For optimal on dark bg (but too prominent on light bg), change to 01;33 -#.bak 01;36 -#.BAK 01;36 -#.old 01;36 -#.OLD 01;36 -#.org_archive 01;36 -#.off 01;36 -#.OFF 01;36 -#.dist 01;36 -#.DIST 01;36 -#.orig 01;36 -#.ORIG 01;36 -#.swp 01;36 -#.swo 01;36 -#*,v 01;36 -.bak 01;33 -.BAK 01;33 -.old 01;33 -.OLD 01;33 -.org_archive 01;33 -.off 01;33 -.OFF 01;33 -.dist 01;33 -.DIST 01;33 -.orig 01;33 -.ORIG 01;33 -.swp 01;33 -.swo 01;33 -*,v 01;33 - -# The brightmagenta (Solarized: purple) color is free for you to use for your -# custom file type -.gpg 34 -.gpg 34 -.pgp 34 -.asc 34 -.3des 34 -.aes 34 -.enc 34 -.sqlite 34 diff --git a/.gitmodules b/.gitmodules index 9b32a5d..c1bc57a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,12 +1,12 @@ -[submodule ".vim/bundle/table-mode"] - path = .vim/bundle/table-mode +[submodule "vim/bundle/table-mode"] + path = vim/bundle/table-mode url = git@github.com:dhruvasagar/vim-table-mode.git -[submodule ".vim/bundle/vim-colors-solarized"] - path = .vim/bundle/vim-colors-solarized +[submodule "vim/bundle/vim-colors-solarized"] + path = vim/bundle/vim-colors-solarized url = https://github.com/altercation/vim-colors-solarized.git -[submodule ".vim/bundle/vim-autoclose"] - path = .vim/bundle/vim-autoclose +[submodule "vim/bundle/vim-autoclose"] + path = vim/bundle/vim-autoclose url = https://github.com/Townk/vim-autoclose.git -[submodule ".vim/bundle/a.vim"] - path = .vim/bundle/a.vim +[submodule "vim/bundle/a.vim"] + path = vim/bundle/a.vim url = https://github.com/vim-scripts/a.vim.git diff --git a/.i3/config b/.i3/config deleted file mode 100644 index 87afa51..0000000 --- a/.i3/config +++ /dev/null @@ -1,212 +0,0 @@ -# i3 config file (v4) -# -# Please see http://i3wm.org/docs/userguide.html for a complete reference! -# -# This config file uses keycodes (bindsym) and was written for the QWERTY -# layout. -# -# To get a config file with the same key positions, but for your current -# layout, use the i3-config-wizard -# - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -font pango:DejaVu Sans Mono 10 -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - -set $mod Mod4 - -# use these keys for focus, movement, and resize directions when reaching for -# the arrows is not convenient -set $up l -set $down k -set $left j -set $right semicolon - -# use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# start a terminal -bindsym $mod+Return exec i3-sensible-terminal - -# kill focused window -bindsym $mod+Shift+q kill - -# start dmenu (a program launcher) -bindsym $mod+d exec dmenu_run -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. -# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop - -# change focus -bindsym $mod+$left focus left -bindsym $mod+$down focus down -bindsym $mod+$up focus up -bindsym $mod+$right focus right - -# alternatively, you can use the cursor keys: -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+$left move left -bindsym $mod+Shift+$down move down -bindsym $mod+Shift+$up move up -bindsym $mod+Shift+$right move right - -# alternatively, you can use the cursor keys: -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+h split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -bindsym $mod+a focus parent - -# focus the child container -#bindsym $mod+d focus child - -# move the currently focused window to the scratchpad -bindsym $mod+Shift+minus move scratchpad - -# Show the next scratchpad window or hide the focused scratchpad window. -# If there are multiple scratchpad windows, this command cycles through them. -bindsym $mod+minus scratchpad show - -# switch to workspace -bindsym $mod+1 workspace 1 -bindsym $mod+2 workspace 2: www -bindsym $mod+3 workspace 3: work -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: mail -bindsym $mod+9 workspace 9: spotify -bindsym $mod+0 workspace 10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace 1 -bindsym $mod+Shift+2 move container to workspace 2: www -bindsym $mod+Shift+3 move container to workspace 3: work -bindsym $mod+Shift+4 move container to workspace 4 -bindsym $mod+Shift+5 move container to workspace 5 -bindsym $mod+Shift+6 move container to workspace 6 -bindsym $mod+Shift+7 move container to workspace 7 -bindsym $mod+Shift+8 move container to workspace 8: mail -bindsym $mod+Shift+9 move container to workspace 9: spotify -bindsym $mod+Shift+0 move container to workspace 10 - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym $left resize shrink width 10 px or 10 ppt - bindsym $down resize grow height 10 px or 10 ppt - bindsym $up resize shrink height 10 px or 10 ppt - bindsym $right resize grow width 10 px or 10 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape - bindsym Return mode "default" - bindsym Escape mode "default" -} - -bindsym $mod+r mode "resize" - -# Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) -bar { - #status_command i3status - status_command $HOME/.i3/conky-i3bar -} - -# Audio shortcuts -bindsym XF86AudioLowerVolume exec amixer -q set Master 10%- -bindsym XF86AudioRaiseVolume exec amixer -q set Master 10%+ -bindsym XF86AudioMute exec -q set Master toggle - -## brightnescontroll -bindsym XF86MonBrightnessUp exec /usr/bin/xbacklight +10 -bindsym XF86MonBrightnessDown exec /usr/bin/xbacklight -10 - -# Toogle Touchpad with Batterybutton -bindsym XF86Battery exec bash ~/.toogle_syn_touchpad - -#hide broders -new_window pixel 1 -hide_edge_borders both - -# Set Displayorientation -exec xrandr --output HDMI1 --right-of eDP1 - -# set i3lock as xscreensaver -exec xss-lock -- i3lock -i ~/.dotfiles/wallpapers/blue_screen.png #-lock - -# Autostart Programms -exec --no-startup-id feh --bg-fill ~/.dotfiles/wallpapers/nsa_wallpaper.png -exec --no-startup-id syndaemon -i 1 -d -#exec --no-startup-id nm-applet -exec --no-startup-id owncloud -exec --no-startup-id mpd - -# Autorestore Layout -exec --no-startup-id "i3-msg 'workspace 1; append_layout /home/fischerling/.i3/workspace-1.json'" - -####################################################################### -# automatically start i3-config-wizard to offer the user to create a -# keysym-based config which used his favorite modifier (alt or windows) -# -# i3-config-wizard will not launch if there already is a config file -# in ~/.i3/config. -# -# Please remove the following exec line: -####################################################################### -exec i3-config-wizard - diff --git a/.i3/conky-i3bar b/.i3/conky-i3bar deleted file mode 100755 index bb1bb8e..0000000 --- a/.i3/conky-i3bar +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# Send the header so that i3bar knows we want to use JSON: -echo '{"version":1}' - -# Begin the endless array. -echo '[' - -# We send an empty first array of blocks to make the loop simpler: -echo '[],' - -# Now send blocks with information forever: -exec conky -c $HOME/.i3/conkyrc diff --git a/.i3/conkyrc b/.i3/conkyrc deleted file mode 100644 index f37098a..0000000 --- a/.i3/conkyrc +++ /dev/null @@ -1,110 +0,0 @@ -background no -out_to_x no -out_to_console yes -update_interval 1 -mpd_port 6601 - -# Network interface must have an ip address to be considered up -if_up_strictness address - -TEXT -[ - #{"name": "uptime", "color":"\#ffffff", "full_text":"${uptime_short} "}, - - ################## cpu ################# - - #{"name": "cpuTemperature", "full_text": "${exec sensors | grep -A 1 'temp1' | cut -c13-16 | sed '/^$/d'}C"}, - - {"name": "cpuStart", "color" : "\#ffffff", "full_text": "CPU: [", "separator": false}, - - {"name": "cpu1", "color": ${if_match ${cpu cpu1}<89}"\#ffffff"${else}"\#ff0000"${endif}, - "full_text": "${cpu cpu1}%,", "separator": false}, - - {"name": "cpu2", "color": ${if_match ${cpu cpu2}<89}"\#ffffff"${else}"\#ff0000"${endif}, - - "full_text": "${cpu cpu2}%,", "separator": false}, - - {"name": "cpu3", "color": ${if_match ${cpu cpu3}<89}"\#ffffff"${else}"\#ff0000"${endif}, - "full_text": "${cpu cpu3}%,", "separator": false}, - - {"name": "cpu4", "color": ${if_match ${cpu cpu4}<89}"\#ffffff"${else}"\#ff0000"${endif}, - "full_text": "${cpu cpu4}%", "separator": false}, - - {"name": "cpuEnd", "color": "\#ffffff", "full_text": "]"}, - - - ################ memory######################### - - {"name": "memory", "color": ${if_match ${memperc}<80}"\#ffffff"${else}"\#ff0000"${endif}, - "full_text": "RAM: ${memperc}% "}, - - #{"name": "disk", "color": "\#ffffff", "full_text": " ${fs_used_perc /}% "}, - - - ############### music / mpd ################### - - ${if_mpd_playing} - # {"name": "test status", "full_text":"${mpd_status}", "separator":false}, - - {"name": "statusSymbol", "color": "\#ffffff", "separator": false, - "full_text": ${if_match ${mpd_status}=="Playing"}"▶"${else}"▐▐"${endif}}, - - {"name": "music", "color": "\#ffffff", "full_text":"${mpd_title} ${mpd_bar}"}, - ${else} - {"name": "nomusic", "color": "\#ffffff", "full_text": "no music"}, - ${endif} - - - ########### networking ######################## - - ${if_up wlp2s0} - {"name":"wifi", "color": ${if_match ${wireless_link_qual_perc wlan0}>60}"\#339966"${else}"\#FF9200"${endif}, - "full_text": "${addr wlp2s0} ${wireless_link_qual_perc wlp2s0}%"}, - {"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed wlp2s0}"}, - - ${else} ${if_up enp0s20u2} - {"name":"eth0", "color": "\#339966", "full_text": "IP: ${addr enp0s20u2} "}, - {"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed enp0s20u2}"}, - - ${else} - {"name":"nonet", "full_text": "no connection" }, - ${endif} - ${endif} - - - ################ Volume ######################## - - {"name": "symbol", "color": "\#ffffff", "full_text": - ${if_match ${exec amixer sget Master | grep Mono: | - sed -e 's/[ \t]* Mono: Playback [0-9]* \[\([0-9]*\)%\].*/\1/'}==0}"M"${else}"U"${endif}, - "separator": false}, - - {"name": "Volume", "color": "\#ffffff", "full_text": - "Volume: [${exec amixer sget Master | grep Mono: | sed -e 's/[ \t]*Mono: Playback [0-9]* \[\([0-9]*%\)\].*/\1/'}]"}, - - - - ################# Battery #################### - - {"name": "battery","color": - ${if_match ${battery_percent}<50} - ${if_match ${battery_percent}<25}"\#ff0000" - ${else}"\#ff9200" - ${endif} - ${else}"\#ffffff" - ${endif}, "full_text": "${battery BAT0}"}, - - {"name": "battery","color": - ${if_match ${battery_percent}<50} - ${if_match ${battery_percent}<25}"\#ff0000" - ${else}"\#ff9200" - ${endif} - ${else}"\#ffffff" - ${endif}, "full_text": "${battery BAT1}"}, - - - ############### Time ################## - - {"name": "time", "color": "\#CFCFCF", "full_text": " ${time %d/%m/%y} ${time %H:%M}"} -], - diff --git a/.i3/conkyrc_unicode b/.i3/conkyrc_unicode deleted file mode 100644 index c2bc7d7..0000000 --- a/.i3/conkyrc_unicode +++ /dev/null @@ -1,106 +0,0 @@ -background no -out_to_x no -out_to_console yes -update_interval 1 -mpd_port 6601 - -# Network interface must have an ip address to be considered up -if_up_strictness address - -TEXT -[ - #{"name": "uptime", "color":"\#ffffff", "full_text":"${uptime_short} "}, - - ################## cpu ################# - - #{"name": "cpuTemperature", "full_text": "${exec sensors | grep -A 1 'temp1' | cut -c13-16 | sed '/^$/d'}C"}, - - {"name": "cpuStart", "color" : "\#ffffff", "full_text": "[", "separator": false}, - - {"name": "cpu1", "color": ${if_match ${cpu cpu1}<89}"\#ffffff"${else}"\#ff0000"${endif}, - "full_text": "${cpu cpu1}%,", "separator": false}, - - {"name": "cpu2", "color": ${if_match ${cpu cpu2}<89}"\#ffffff"${else}"\#ff0000"${endif}, - - "full_text": "${cpu cpu2}%,", "separator": false}, - - {"name": "cpu3", "color": ${if_match ${cpu cpu3}<89}"\#ffffff"${else}"\#ff0000"${endif}, - "full_text": "${cpu cpu3}%,", "separator": false}, - - {"name": "cpu4", "color": ${if_match ${cpu cpu4}<89}"\#ffffff"${else}"\#ff0000"${endif}, - "full_text": "${cpu cpu4}%", "separator": false}, - - {"name": "cpuEnd", "color": "\#ffffff", "full_text": "]"}, - - - ################ memory######################### - - {"name": "memory", "color": ${if_match ${memperc}<80}"\#ffffff"${else}"\#ff0000"${endif}, - "full_text": "RAM: ${memperc}% "}, - - #{"name": "disk", "color": "\#ffffff", "full_text": " ${fs_used_perc /}% "}, - - - ############### music / mpd ################### - - ${if_mpd_playing} - # {"name": "test status", "full_text":"${mpd_status}", "separator":false}, - - {"name": "statusSymbol", "color": "\#ffffff", "separator": false, - "full_text": ${if_match ${mpd_status}=="Playing"}"▶"${else}"▐▐"${endif}}, - - {"name": "music", "color": "\#ffffff", "full_text":"${mpd_title} ${mpd_bar}"}, - ${else} - {"name": "nomusic", "color": "\#ffffff", "full_text": "no music"}, - ${endif} - - - ########### networking ######################## - - ${if_up wlp2s0} - {"name":"wifi", "color": ${if_match ${wireless_link_qual_perc wlan0}>60}"\#339966"${else}"\#FF9200"${endif}, - "full_text": "${addr wlan0}  ${wireless_link_qual_perc wlp2s0}%"}, - {"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed wlp2s0}"}, - - ${else} ${if_up enp0s20u1} - {"name":"eth0", "color": "\#339966", "full_text": "IP: ${addr enp0s20u1} "}, - {"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed enp0s20u1}"}, - - ${else} - {"name":"nonet", "full_text": "no connection" }, - ${endif} - ${endif} - - - ################ Volume ######################## - - {"name": "symbol", "color": "\#ffffff", "full_text": - ${if_match ${exec amixer sget Master | grep Left: | - sed -e 's/[ \t]*Front Left: Playback [0-9]* \[\([0-9]*\)%\].*/\1/'}==0}""${else}""${endif}, - "separator": false}, - - {"name": "left", "color": "\#ffffff", "full_text": - "Volume: [${exec amixer sget Master | grep Left: | sed -e 's/[ \t]*Front Left: Playback [0-9]* \[\([0-9]*%\)\].*/\1/'},", "separator": false}, - - {"name": "right", "color": "\#ffffff", "full_text": - "${exec amixer sget Master | grep Right: | sed -e 's/[ \t]*Front Right: Playback [0-9]* \[\([0-9]*%\)\].*/ \1/'}] "}, - - - ################# Battery #################### - - ${if_empty ${battery BAT1} } ${else} - {"name": "battery","color": - ${if_match ${battery_percent}<50} - ${if_match ${battery_percent}<25}"\#ff0000" - ${else}"\#ff9200" - ${endif} - ${else}"\#ffffff" - ${endif}, "full_text": "${battery BAT0}% "}, - ${endif} - - - ############### Time ################## - - {"name": "time", "color": "\#CFCFCF", "full_text": " ${time %d/%m/%y} ${time %H:%M}"} -], - diff --git a/.vim/.netrwhist b/.vim/.netrwhist deleted file mode 100755 index ef12ad7..0000000 --- a/.vim/.netrwhist +++ /dev/null @@ -1,3 +0,0 @@ -let g:netrw_dirhistmax =10 -let g:netrw_dirhist_cnt =1 -let g:netrw_dirhist_1='/home/fischerling/Documents/Study/FAU Erlangen/1.Semester/AUD/uebung/10.' diff --git a/.vim/autoload/pathogen.vim b/.vim/autoload/pathogen.vim deleted file mode 100755 index a13ae08..0000000 --- a/.vim/autoload/pathogen.vim +++ /dev/null @@ -1,347 +0,0 @@ -" pathogen.vim - path option manipulation -" Maintainer: Tim Pope -" Version: 2.3 - -" Install in ~/.vim/autoload (or ~\vimfiles\autoload). -" -" For management of individually installed plugins in ~/.vim/bundle (or -" ~\vimfiles\bundle), adding `execute pathogen#infect()` to the top of your -" .vimrc is the only other setup necessary. -" -" The API is documented inline below. - -if exists("g:loaded_pathogen") || &cp - finish -endif -let g:loaded_pathogen = 1 - -" Point of entry for basic default usage. Give a relative path to invoke -" pathogen#interpose() (defaults to "bundle/{}"), or an absolute path to invoke -" pathogen#surround(). Curly braces are expanded with pathogen#expand(): -" "bundle/{}" finds all subdirectories inside "bundle" inside all directories -" in the runtime path. -function! pathogen#infect(...) abort - for path in a:0 ? filter(reverse(copy(a:000)), 'type(v:val) == type("")') : ['bundle/{}'] - if path =~# '^\%({\=[$~\\/]\|{\=\w:[\\/]\).*[{}*]' - call pathogen#surround(path) - elseif path =~# '^\%([$~\\/]\|\w:[\\/]\)' - call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')') - call pathogen#surround(path . '/{}') - elseif path =~# '[{}*]' - call pathogen#interpose(path) - else - call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')') - call pathogen#interpose(path . '/{}') - endif - endfor - call pathogen#cycle_filetype() - if pathogen#is_disabled($MYVIMRC) - return 'finish' - endif - return '' -endfunction - -" Split a path into a list. -function! pathogen#split(path) abort - if type(a:path) == type([]) | return a:path | endif - if empty(a:path) | return [] | endif - let split = split(a:path,'\\\@]','\\&','') - endif -endfunction - -" Like findfile(), but hardcoded to use the runtimepath. -function! pathogen#runtime_findfile(file,count) abort "{{{1 - let rtp = pathogen#join(1,pathogen#split(&rtp)) - let file = findfile(a:file,rtp,a:count) - if file ==# '' - return '' - else - return fnamemodify(file,':p') - endif -endfunction - -" Section: Deprecated - -function! s:warn(msg) abort - echohl WarningMsg - echomsg a:msg - echohl NONE -endfunction - -" Prepend all subdirectories of path to the rtp, and append all 'after' -" directories in those subdirectories. Deprecated. -function! pathogen#runtime_prepend_subdirectories(path) abort - call s:warn('Change pathogen#runtime_prepend_subdirectories('.string(a:path).') to pathogen#infect('.string(a:path.'/{}').')') - return pathogen#surround(a:path . pathogen#slash() . '{}') -endfunction - -function! pathogen#incubate(...) abort - let name = a:0 ? a:1 : 'bundle/{}' - call s:warn('Change pathogen#incubate('.(a:0 ? string(a:1) : '').') to pathogen#infect('.string(name).')') - return pathogen#interpose(name) -endfunction - -" Deprecated alias for pathogen#interpose(). -function! pathogen#runtime_append_all_bundles(...) abort - if a:0 - call s:warn('Change pathogen#runtime_append_all_bundles('.string(a:1).') to pathogen#infect('.string(a:1.'/{}').')') - else - call s:warn('Change pathogen#runtime_append_all_bundles() to pathogen#infect()') - endif - return pathogen#interpose(a:0 ? a:1 . '/{}' : 'bundle/{}') -endfunction - -if exists(':Vedit') - finish -endif - -let s:vopen_warning = 0 - -function! s:find(count,cmd,file,lcd) - let rtp = pathogen#join(1,pathogen#split(&runtimepath)) - let file = pathogen#runtime_findfile(a:file,a:count) - if file ==# '' - return "echoerr 'E345: Can''t find file \"".a:file."\" in runtimepath'" - endif - if !s:vopen_warning - let s:vopen_warning = 1 - let warning = '|echohl WarningMsg|echo "Install scriptease.vim to continue using :V'.a:cmd.'"|echohl NONE' - else - let warning = '' - endif - if a:lcd - let path = file[0:-strlen(a:file)-2] - execute 'lcd `=path`' - return a:cmd.' '.pathogen#fnameescape(a:file) . warning - else - return a:cmd.' '.pathogen#fnameescape(file) . warning - endif -endfunction - -function! s:Findcomplete(A,L,P) - let sep = pathogen#slash() - let cheats = { - \'a': 'autoload', - \'d': 'doc', - \'f': 'ftplugin', - \'i': 'indent', - \'p': 'plugin', - \'s': 'syntax'} - if a:A =~# '^\w[\\/]' && has_key(cheats,a:A[0]) - let request = cheats[a:A[0]].a:A[1:-1] - else - let request = a:A - endif - let pattern = substitute(request,'/\|\'.sep,'*'.sep,'g').'*' - let found = {} - for path in pathogen#split(&runtimepath) - let path = expand(path, ':p') - let matches = split(glob(path.sep.pattern),"\n") - call map(matches,'isdirectory(v:val) ? v:val.sep : v:val') - call map(matches,'expand(v:val, ":p")[strlen(path)+1:-1]') - for match in matches - let found[match] = 1 - endfor - endfor - return sort(keys(found)) -endfunction - -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Ve :execute s:find(,'edit',,0) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vedit :execute s:find(,'edit',,0) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vopen :execute s:find(,'edit',,1) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vsplit :execute s:find(,'split',,1) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vvsplit :execute s:find(,'vsplit',,1) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vtabedit :execute s:find(,'tabedit',,1) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vpedit :execute s:find(,'pedit',,1) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vread :execute s:find(,'read',,1) - -" vim:set et sw=2 foldmethod=expr foldexpr=getline(v\:lnum)=~'^\"\ Section\:'?'>1'\:getline(v\:lnum)=~#'^fu'?'a1'\:getline(v\:lnum)=~#'^endf'?'s1'\:'=': diff --git a/.vim/bundle/a.vim b/.vim/bundle/a.vim deleted file mode 160000 index 2cbe946..0000000 --- a/.vim/bundle/a.vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2cbe946206ec622d9d8cf2c99317f204c4d41885 diff --git a/.vim/bundle/table-mode b/.vim/bundle/table-mode deleted file mode 160000 index 5395c9f..0000000 --- a/.vim/bundle/table-mode +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5395c9f52b91ae6083fd7b26577b8f926da6871e diff --git a/.vim/bundle/vim-autoclose b/.vim/bundle/vim-autoclose deleted file mode 160000 index a9a3b73..0000000 --- a/.vim/bundle/vim-autoclose +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a9a3b7384657bc1f60a963fd6c08c63fc48d61c3 diff --git a/.vim/bundle/vim-colors-solarized b/.vim/bundle/vim-colors-solarized deleted file mode 160000 index 528a59f..0000000 --- a/.vim/bundle/vim-colors-solarized +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 528a59f26d12278698bb946f8fb82a63711eec21 diff --git a/.vimrc b/.vimrc deleted file mode 100644 index 3ae2b81..0000000 --- a/.vimrc +++ /dev/null @@ -1,122 +0,0 @@ -" All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by -" the call to :runtime you can find below. If you wish to change any of those -" settings, you should do it in this file (/etc/vim/vimrc), since debian.vim -" will be overwritten everytime an upgrade of the vim packages is performed. -" It is recommended to make changes after sourcing debian.vim since it alters -" the value of the 'compatible' option. - -" Uncomment the next line to make Vim more Vi-compatible -" NOTE: debian.vim sets 'nocompatible'. Setting 'compatible' changes numerous -" options, so any other options should be set AFTER setting 'compatible'. -"set compatible - -" Vim5 and later versions support syntax highlighting. Uncommenting the next -" line enables syntax highlighting by default. - -execute pathogen#infect() -filetype plugin indent on - -set t_Co=256 -syntax on -set background=dark" dark | light " -colorscheme solarized -hi Normal ctermbg=none - -set cursorline -set colorcolumn=80 - -" The following are commented out as they cause vim to behave a lot -" differently from regular Vi. They are highly recommended though. -set showcmd " Show (partial) command in status line. -set showmatch " Show matching brackets. -"set ignorecase " Do case insensitive matching -"set smartcase " Do smart case matching -"set incsearch " Incremental search -"set autowrite " Automatically save before commands like :next and :make -"set hidden " Hide buffers when they are abandoned -"set mouse=a " Enable mouse usage (all modes) -set backup " Enable backup files -"set number " Enable line numbers - -" Return to last edit position when opening files (You want this!) -autocmd BufReadPost * -\ if line("'\"") > 0 && line("'\"") <= line("$") | -\ exe "normal! g`\"" | -\ endif - -"""""""""""""""""""""""""""""" -" => Highlight Groups -"""""""""""""""""""""""""""""" -:highlight ExtraWhitespace ctermbg=red guibg=red - -"""""""""""""""""""""""""""""" -" => Visual mode related -"""""""""""""""""""""""""""""" -" Visual mode pressing * or # searches for the current selection -" Super useful! From an idea by Michael Naumann -vnoremap * :call VisualSelection('f', '') -vnoremap # :call VisualSelection('b', '') - -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" => Text, tab and indent related -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" Use spaces instead of tabs -set expandtab -" Be smart when using tabs ;) -set smarttab -" 1 tab == 4 spaces -set shiftwidth=4 -set tabstop=4 -" Linebreak on 500 characters -set lbr -set tw=500 -set ai "Auto indent -set si "Smart indent -set wrap "Wrap lines - -"""""""""""""""""""""""""""""" -" => Status line -"""""""""""""""""""""""""""""" -" Always show the status line -set laststatus=2 -" Format the status line -set statusline=\ %{HasPaste()}%F%m%r%h\ \ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l - -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" => Helper functions -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -function! CmdLine(str) - exe "menu Foo.Bar :" . a:str - emenu Foo.Bar - unmenu Foo -endfunction - -function! VisualSelection(direction, extra_filter) range - let l:saved_reg = @" - execute "normal! vgvy" - - let l:pattern = escape(@", '\\/.*$^~[]') - let l:pattern = substitute(l:pattern, "\n$", "", "") - - if a:direction == 'b' - execute "normal ?" . l:pattern . "^M" - elseif a:direction == 'gv' - call CmdLine("Ack \"" . l:pattern . "\" " ) - elseif a:direction == 'replace' - call CmdLine("%s" . '/'. l:pattern . '/') - elseif a:direction == 'f' - execute "normal /" . l:pattern . "^M" - endif - - let @/ = l:pattern - let @" = l:saved_reg -endfunction - -" Returns true if paste mode is enabled -function! HasPaste() - if &paste - return 'PASTE MODE ' - en - return '' -endfunction - diff --git a/.zshrc b/.zshrc deleted file mode 100644 index a0d5061..0000000 --- a/.zshrc +++ /dev/null @@ -1,127 +0,0 @@ -# Path to your oh-my-zsh installation. -export ZSH=$HOME/.oh-my-zsh - -# Set name of the theme to load. -# Look in ~/.oh-my-zsh/themes/ -# Optionally, if you set this to "random", it'll load a random theme each -# time that oh-my-zsh is loaded. -ZSH_THEME="sunrise" - -# Uncomment the following line to use case-sensitive completion. -# CASE_SENSITIVE="true" - -# Uncomment the following line to disable bi-weekly auto-update checks. -# DISABLE_AUTO_UPDATE="true" - -# Uncomment the following line to change how often to auto-update (in days). -# export UPDATE_ZSH_DAYS=13 - -# Uncomment the following line to disable colors in ls. -# DISABLE_LS_COLORS="true" - -# Uncomment the following line to disable auto-setting terminal title. -# DISABLE_AUTO_TITLE="true" - -# Uncomment the following line to enable command auto-correction. -ENABLE_CORRECTION="true" - -# Uncomment the following line to display red dots whilst waiting for completion. -COMPLETION_WAITING_DOTS="true" - -# Uncomment the following line if you want to disable marking untracked files -# under VCS as dirty. This makes repository status check for large repositories -# much, much faster. -# DISABLE_UNTRACKED_FILES_DIRTY="true" - -# Uncomment the following line if you want to change the command execution time -# stamp shown in the history command output. -# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" -# HIST_STAMPS="mm/dd/yyyy" - -# Would you like to use another custom folder than $ZSH/custom? -# ZSH_CUSTOM=/path/to/new-custom-folder - -# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) -# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ -# Example format: plugins=(rails git textmate ruby lighthouse) -# Add wisely, as too many plugins slow down shell startup. -plugins=(git archlinux pip python sudo web-search wd) - -source $ZSH/oh-my-zsh.sh - -# User configuration - -HIST_IGNORE_ALL_DUPS="true" - -# export PATH=$HOME/bin:/usr/local/bin:$PATH -# export MANPATH="/usr/local/man:$MANPATH" - -# You may need to manually set your language environment -# export LANG=en_US.UTF-8 - -# Preferred editor -export EDITOR='vim' - -# Compilation flags -# export ARCHFLAGS="-arch x86_64" - -# ssh -export SSH_KEY_PATH="~/.ssh/rsa_id" - -# XDG_CONFIG_HOME -#export XDG_CONFIG_HOME="~/.config" - -# mpd port -export MPD_PORT="6601" - -# Set personal aliases, overriding those provided by oh-my-zsh libs, -# plugins, and themes. Aliases can be placed here, though oh-my-zsh -# users are encouraged to define aliases within the ZSH_CUSTOM folder. -# For a full list of active aliases, run `alias`. -# -# Example aliases -# alias zshconfig="mate ~/.zshrc" -# alias ohmyzsh="mate ~/.oh-my-zsh" -alias diff="colordiff" - -# alias for FAU vpn -alias fauvpnfull="wd FAUAllgemein && sudo openvpn ~/Documents/MyDocuments/Study/FAU\ Erlangen/Allgemein/FAU-Fulltunnel.ovpn && cd ~" -alias fauvpnsplit="openvpn ~/Documents/MyDocuments/Study/FAU\ Erlangen/Allgemein/FAU-Splittunnel.ovpn" - -# x screen saver alias - -alias screensoff="xset s off; xset -dpms && echo 'xcreensaver and dpms disabled'" -alias screenson="xset s on; xset +dpms && echo 'xscreensaver and dpms enabled'" - -# Aliases for filetypes -alias -s pdf="apvlv" -alias -s tar="tar xfv" -alias -s zip="unzip" - -eval `dircolors ~/.dir_colors` - -# A simple function to retrieve your current remote ip. - -get_ip() { - page='http://myip.dnsomatic.com' - - which curl > /dev/null 2>&1 - if [ "$?" -eq "0" ]; then - echo "ip: `curl -s $page`" - else - echo -e "curl is not installed, aborting" - fi -} - -pss() { - if [ -z "$1" ]; then - echo -e "usage: pss PATTERN" - else - pids=$(pgrep -d, -f $1) - if [ ! -z $pids ]; then - echo -ne "\033[1;32m" - ps -Fp $pids - echo -ne "\033[1;0m" - fi - fi -} diff --git a/config/terminator/config b/config/terminator/config new file mode 100644 index 0000000..3d3efd0 --- /dev/null +++ b/config/terminator/config @@ -0,0 +1,37 @@ +[global_config] + title_transmit_bg_color = "#d30102" + focus = system +[keybindings] +[profiles] + [[default]] + urgent_bell = True + background_image = None + [[solarized-dark]] + scrollbar_position = hidden + palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3" + visible_bell = True + urgent_bell = True + background_type = transparent + background_image = None + cursor_color = "#eee8d5" + foreground_color = "#eee8d5" + show_titlebar = False + background_color = "#002b36" + [[solarized-light]] + palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3" + visible_bell = True + urgent_bell = True + background_image = None + cursor_color = "#002b36" + foreground_color = "#002b36" + background_color = "#eee8d5" +[layouts] + [[default]] + [[[child1]]] + type = Terminal + parent = window0 + profile = solarized-dark + [[[window0]]] + type = Window + parent = "" +[plugins] diff --git a/dir_colors b/dir_colors new file mode 100644 index 0000000..ff56576 --- /dev/null +++ b/dir_colors @@ -0,0 +1,455 @@ +# Exact Solarized Dark color theme for the color GNU ls utility. +# Designed for dircolors (GNU coreutils) 5.97 +# +# This simple theme was simultaneously designed for these terminal color schemes: +# - Solarized dark (best) +# - Solarized light +# - default dark +# - default light +# with a slight optimization for Solarized Dark. +# +# How the colors were selected: +# - Terminal emulators often have an option typically enabled by default that makes +# bold a different color. It is important to leave this option enabled so that +# you can access the entire 16-color Solarized palette, and not just 8 colors. +# - We favor universality over a greater number of colors. So we limit the number +# of colors so that this theme will work out of the box in all terminals, +# Solarized or not, dark or light. +# - We choose to have the following category of files: +# NORMAL & FILE, DIR, LINK, EXEC and +# editable text including source, unimportant text, binary docs & multimedia source +# files, viewable multimedia, archived/compressed, and unimportant non-text +# - For uniqueness, we stay away from the Solarized foreground colors are -- either +# base00 (brightyellow) or base0 (brighblue). However, they can be used if +# you know what the bg/fg colors of your terminal are, in order to optimize the display. +# - 3 different options are provided: universal, solarized dark, and solarized light. +# The only difference between the universal scheme and one that's optimized for +# dark/light is the color of "unimportant" files, which should blend more with the +# background +# - We note that blue is the hardest color to see on dark bg and yellow is the hardest +# color to see on light bg (with blue being particularly bad). So we choose yellow +# for multimedia files which are usually accessed in a GUI folder browser anyway. +# And blue is kept for custom use of this scheme's user. +# - See table below to see the assignments. + + +# Installation instructions: +# This file goes in the /etc directory, and must be world readable. +# You can copy this file to .dir_colors in your $HOME directory to override +# the system defaults. + +# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not +# pipes. 'all' adds color characters to all output. 'none' shuts colorization +# off. +COLOR tty + +# Below, there should be one TERM entry for each termtype that is colorizable +TERM ansi +TERM color_xterm +TERM color-xterm +TERM con132x25 +TERM con132x30 +TERM con132x43 +TERM con132x60 +TERM con80x25 +TERM con80x28 +TERM con80x30 +TERM con80x43 +TERM con80x50 +TERM con80x60 +TERM cons25 +TERM console +TERM cygwin +TERM dtterm +TERM dvtm +TERM dvtm-256color +TERM Eterm +TERM eterm-color +TERM fbterm +TERM gnome +TERM gnome-256color +TERM jfbterm +TERM konsole +TERM konsole-256color +TERM kterm +TERM linux +TERM linux-c +TERM mach-color +TERM mlterm +TERM nxterm +TERM putty +TERM putty-256color +TERM rxvt +TERM rxvt-256color +TERM rxvt-cygwin +TERM rxvt-cygwin-native +TERM rxvt-unicode +TERM rxvt-unicode256 +TERM rxvt-unicode-256color +TERM screen +TERM screen-16color +TERM screen-16color-bce +TERM screen-16color-s +TERM screen-16color-bce-s +TERM screen-256color +TERM screen-256color-bce +TERM screen-256color-s +TERM screen-256color-bce-s +TERM screen-bce +TERM screen-w +TERM screen.linux +TERM screen.xterm-new +TERM st +TERM st-meta +TERM st-256color +TERM st-meta-256color +TERM vt100 +TERM xterm +TERM xterm-new +TERM xterm-16color +TERM xterm-256color +TERM xterm-88color +TERM xterm-color +TERM xterm-debian +TERM xterm-termite + +# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output) +EIGHTBIT 1 + +############################################################################# +# Below are the color init strings for the basic file types. A color init +# string consists of one or more of the following numeric codes: +# +# Attribute codes: +# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed +# Text color codes: +# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white +# Background color codes: +# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white +# +# NOTES: +# - See http://www.oreilly.com/catalog/wdnut/excerpt/color_names.html +# - Color combinations +# ANSI Color code Solarized Notes Universal SolDark SolLight +# ~~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~ ~~~~~~~~~ ~~~~~~~ ~~~~~~~~ +# 00 none NORMAL, FILE +# 30 black base02 +# 01;30 bright black base03 bg of SolDark +# 31 red red docs & mm src +# 01;31 bright red orange EXEC +# 32 green green editable text +# 01;32 bright green base01 unimportant text +# 33 yellow yellow unclear in light bg multimedia +# 01;33 bright yellow base00 fg of SolLight unimportant non-text +# 34 blue blue unclear in dark bg user customized +# 01;34 bright blue base0 fg in SolDark unimportant text +# 35 magenta magenta LINK +# 01;35 bright magenta violet archive/compressed +# 36 cyan cyan DIR +# 01;36 bright cyan base1 unimportant non-text +# 37 white base2 +# 01;37 bright white base3 bg in SolLight +# 05;37;41 unclear in Putty dark + + +### By file type + +# global default +NORMAL 00 +# normal file +FILE 00 +# directory +DIR 34 +# 777 directory +OTHER_WRITABLE 34;40 +# symbolic link +LINK 35 + +# pipe, socket, block device, character device (blue bg) +FIFO 30;44 +SOCK 35;44 +DOOR 35;44 # Solaris 2.5 and later +BLK 33;44 +CHR 37;44 + + +############################################################################# +### By file attributes + +# Orphaned symlinks (blinking white on red) +# Blink may or may not work (works on iTerm dark or light, and Putty dark) +ORPHAN 05;37;41 +# ... and the files that orphaned symlinks point to (blinking white on red) +MISSING 05;37;41 + +# files with execute permission +EXEC 01;31 # Unix +.cmd 01;31 # Win +.exe 01;31 # Win +.com 01;31 # Win +.bat 01;31 # Win +.reg 01;31 # Win +.app 01;31 # OSX + +############################################################################# +### By extension + +# List any file extensions like '.gz' or '.tar' that you would like ls +# to colorize below. Put the extension, a space, and the color init string. +# (and any comments you want to add after a '#') + +### Text formats + +# Text that we can edit with a regular editor +.txt 32 +.org 32 +.md 32 +.mkd 32 + +# Source text +.h 32 +.c 32 +.C 32 +.cc 32 +.cpp 32 +.cxx 32 +.objc 32 +.sh 32 +.csh 32 +.zsh 32 +.el 32 +.vim 32 +.java 32 +.pl 32 +.pm 32 +.py 32 +.rb 32 +.hs 32 +.php 32 +.htm 32 +.html 32 +.shtml 32 +.erb 32 +.haml 32 +.xml 32 +.rdf 32 +.css 32 +.sass 32 +.scss 32 +.less 32 +.js 32 +.coffee 32 +.man 32 +.0 32 +.1 32 +.2 32 +.3 32 +.4 32 +.5 32 +.6 32 +.7 32 +.8 32 +.9 32 +.l 32 +.n 32 +.p 32 +.pod 32 +.tex 32 + +### Multimedia formats + +# Image +.bmp 33 +.cgm 33 +.dl 33 +.dvi 33 +.emf 33 +.eps 33 +.gif 33 +.jpeg 33 +.jpg 33 +.JPG 33 +.mng 33 +.pbm 33 +.pcx 33 +.pdf 33 +.pgm 33 +.png 33 +.PNG 33 +.ppm 33 +.pps 33 +.ppsx 33 +.ps 33 +.svg 33 +.svgz 33 +.tga 33 +.tif 33 +.tiff 33 +.xbm 33 +.xcf 33 +.xpm 33 +.xwd 33 +.xwd 33 +.yuv 33 + +# Audio +.aac 33 +.au 33 +.flac 33 +.mid 33 +.midi 33 +.mka 33 +.mp3 33 +.mpa 33 +.mpeg 33 +.mpg 33 +.ogg 33 +.ra 33 +.wav 33 + +# Video +.anx 33 +.asf 33 +.avi 33 +.axv 33 +.flc 33 +.fli 33 +.flv 33 +.gl 33 +.m2v 33 +.m4v 33 +.mkv 33 +.mov 33 +.mp4 33 +.mp4v 33 +.mpeg 33 +.mpg 33 +.nuv 33 +.ogm 33 +.ogv 33 +.ogx 33 +.qt 33 +.rm 33 +.rmvb 33 +.swf 33 +.vob 33 +.webm 33 +.wmv 33 + +### Misc + +# Binary document formats and multimedia source +.doc 31 +.docx 31 +.rtf 31 +.dot 31 +.dotx 31 +.xls 31 +.xlsx 31 +.ppt 31 +.pptx 31 +.fla 31 +.psd 31 + +# Archives, compressed +.7z 1;35 +.apk 1;35 +.arj 1;35 +.bin 1;35 +.bz 1;35 +.bz2 1;35 +.cab 1;35 # Win +.deb 1;35 +.dmg 1;35 # OSX +.gem 1;35 +.gz 1;35 +.iso 1;35 +.jar 1;35 +.msi 1;35 # Win +.rar 1;35 +.rpm 1;35 +.tar 1;35 +.tbz 1;35 +.tbz2 1;35 +.tgz 1;35 +.tx 1;35 +.war 1;35 +.xpi 1;35 +.xz 1;35 +.z 1;35 +.Z 1;35 +.zip 1;35 + +# For testing +.ANSI-30-black 30 +.ANSI-01;30-brblack 01;30 +.ANSI-31-red 31 +.ANSI-01;31-brred 01;31 +.ANSI-32-green 32 +.ANSI-01;32-brgreen 01;32 +.ANSI-33-yellow 33 +.ANSI-01;33-bryellow 01;33 +.ANSI-34-blue 34 +.ANSI-01;34-brblue 01;34 +.ANSI-35-magenta 35 +.ANSI-01;35-brmagenta 01;35 +.ANSI-36-cyan 36 +.ANSI-01;36-brcyan 01;36 +.ANSI-37-white 37 +.ANSI-01;37-brwhite 01;37 + +############################################################################# +# Your customizations + +# Unimportant text files +# For universal scheme, use brightgreen 01;32 +# For optimal on light bg (but too prominent on dark bg), use white 01;34 +.log 01;32 +*~ 01;32 +*# 01;32 +#.log 01;34 +#*~ 01;34 +#*# 01;34 + +# Unimportant non-text files +# For universal scheme, use brightcyan 01;36 +# For optimal on dark bg (but too prominent on light bg), change to 01;33 +#.bak 01;36 +#.BAK 01;36 +#.old 01;36 +#.OLD 01;36 +#.org_archive 01;36 +#.off 01;36 +#.OFF 01;36 +#.dist 01;36 +#.DIST 01;36 +#.orig 01;36 +#.ORIG 01;36 +#.swp 01;36 +#.swo 01;36 +#*,v 01;36 +.bak 01;33 +.BAK 01;33 +.old 01;33 +.OLD 01;33 +.org_archive 01;33 +.off 01;33 +.OFF 01;33 +.dist 01;33 +.DIST 01;33 +.orig 01;33 +.ORIG 01;33 +.swp 01;33 +.swo 01;33 +*,v 01;33 + +# The brightmagenta (Solarized: purple) color is free for you to use for your +# custom file type +.gpg 34 +.gpg 34 +.pgp 34 +.asc 34 +.3des 34 +.aes 34 +.enc 34 +.sqlite 34 diff --git a/i3/config b/i3/config new file mode 100644 index 0000000..87afa51 --- /dev/null +++ b/i3/config @@ -0,0 +1,212 @@ +# i3 config file (v4) +# +# Please see http://i3wm.org/docs/userguide.html for a complete reference! +# +# This config file uses keycodes (bindsym) and was written for the QWERTY +# layout. +# +# To get a config file with the same key positions, but for your current +# layout, use the i3-config-wizard +# + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +# This font is widely installed, provides lots of unicode glyphs, right-to-left +# text rendering and scalability on retina/hidpi displays (thanks to pango). +font pango:DejaVu Sans Mono 10 +# Before i3 v4.8, we used to recommend this one as the default: +# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 +# The font above is very space-efficient, that is, it looks good, sharp and +# clear in small sizes. However, its unicode glyph coverage is limited, the old +# X core fonts rendering does not support right-to-left and this being a bitmap +# font, it doesn’t scale on retina/hidpi displays. + +set $mod Mod4 + +# use these keys for focus, movement, and resize directions when reaching for +# the arrows is not convenient +set $up l +set $down k +set $left j +set $right semicolon + +# use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec i3-sensible-terminal + +# kill focused window +bindsym $mod+Shift+q kill + +# start dmenu (a program launcher) +bindsym $mod+d exec dmenu_run +# There also is the (new) i3-dmenu-desktop which only displays applications +# shipping a .desktop file. It is a wrapper around dmenu, so you need that +# installed. +# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop + +# change focus +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +# alternatively, you can use the cursor keys: +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+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right + +# alternatively, you can use the cursor keys: +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+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child + +# move the currently focused window to the scratchpad +bindsym $mod+Shift+minus move scratchpad + +# Show the next scratchpad window or hide the focused scratchpad window. +# If there are multiple scratchpad windows, this command cycles through them. +bindsym $mod+minus scratchpad show + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2: www +bindsym $mod+3 workspace 3: work +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: mail +bindsym $mod+9 workspace 9: spotify +bindsym $mod+0 workspace 10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1 +bindsym $mod+Shift+2 move container to workspace 2: www +bindsym $mod+Shift+3 move container to workspace 3: work +bindsym $mod+Shift+4 move container to workspace 4 +bindsym $mod+Shift+5 move container to workspace 5 +bindsym $mod+Shift+6 move container to workspace 6 +bindsym $mod+Shift+7 move container to workspace 7 +bindsym $mod+Shift+8 move container to workspace 8: mail +bindsym $mod+Shift+9 move container to workspace 9: spotify +bindsym $mod+Shift+0 move container to workspace 10 + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" + +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym $left resize shrink width 10 px or 10 ppt + bindsym $down resize grow height 10 px or 10 ppt + bindsym $up resize shrink height 10 px or 10 ppt + bindsym $right resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + +bindsym $mod+r mode "resize" + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +bar { + #status_command i3status + status_command $HOME/.i3/conky-i3bar +} + +# Audio shortcuts +bindsym XF86AudioLowerVolume exec amixer -q set Master 10%- +bindsym XF86AudioRaiseVolume exec amixer -q set Master 10%+ +bindsym XF86AudioMute exec -q set Master toggle + +## brightnescontroll +bindsym XF86MonBrightnessUp exec /usr/bin/xbacklight +10 +bindsym XF86MonBrightnessDown exec /usr/bin/xbacklight -10 + +# Toogle Touchpad with Batterybutton +bindsym XF86Battery exec bash ~/.toogle_syn_touchpad + +#hide broders +new_window pixel 1 +hide_edge_borders both + +# Set Displayorientation +exec xrandr --output HDMI1 --right-of eDP1 + +# set i3lock as xscreensaver +exec xss-lock -- i3lock -i ~/.dotfiles/wallpapers/blue_screen.png #-lock + +# Autostart Programms +exec --no-startup-id feh --bg-fill ~/.dotfiles/wallpapers/nsa_wallpaper.png +exec --no-startup-id syndaemon -i 1 -d +#exec --no-startup-id nm-applet +exec --no-startup-id owncloud +exec --no-startup-id mpd + +# Autorestore Layout +exec --no-startup-id "i3-msg 'workspace 1; append_layout /home/fischerling/.i3/workspace-1.json'" + +####################################################################### +# automatically start i3-config-wizard to offer the user to create a +# keysym-based config which used his favorite modifier (alt or windows) +# +# i3-config-wizard will not launch if there already is a config file +# in ~/.i3/config. +# +# Please remove the following exec line: +####################################################################### +exec i3-config-wizard + diff --git a/i3/conky-i3bar b/i3/conky-i3bar new file mode 100755 index 0000000..bb1bb8e --- /dev/null +++ b/i3/conky-i3bar @@ -0,0 +1,13 @@ +#!/bin/sh + +# Send the header so that i3bar knows we want to use JSON: +echo '{"version":1}' + +# Begin the endless array. +echo '[' + +# We send an empty first array of blocks to make the loop simpler: +echo '[],' + +# Now send blocks with information forever: +exec conky -c $HOME/.i3/conkyrc diff --git a/i3/conkyrc b/i3/conkyrc new file mode 100644 index 0000000..f37098a --- /dev/null +++ b/i3/conkyrc @@ -0,0 +1,110 @@ +background no +out_to_x no +out_to_console yes +update_interval 1 +mpd_port 6601 + +# Network interface must have an ip address to be considered up +if_up_strictness address + +TEXT +[ + #{"name": "uptime", "color":"\#ffffff", "full_text":"${uptime_short} "}, + + ################## cpu ################# + + #{"name": "cpuTemperature", "full_text": "${exec sensors | grep -A 1 'temp1' | cut -c13-16 | sed '/^$/d'}C"}, + + {"name": "cpuStart", "color" : "\#ffffff", "full_text": "CPU: [", "separator": false}, + + {"name": "cpu1", "color": ${if_match ${cpu cpu1}<89}"\#ffffff"${else}"\#ff0000"${endif}, + "full_text": "${cpu cpu1}%,", "separator": false}, + + {"name": "cpu2", "color": ${if_match ${cpu cpu2}<89}"\#ffffff"${else}"\#ff0000"${endif}, + + "full_text": "${cpu cpu2}%,", "separator": false}, + + {"name": "cpu3", "color": ${if_match ${cpu cpu3}<89}"\#ffffff"${else}"\#ff0000"${endif}, + "full_text": "${cpu cpu3}%,", "separator": false}, + + {"name": "cpu4", "color": ${if_match ${cpu cpu4}<89}"\#ffffff"${else}"\#ff0000"${endif}, + "full_text": "${cpu cpu4}%", "separator": false}, + + {"name": "cpuEnd", "color": "\#ffffff", "full_text": "]"}, + + + ################ memory######################### + + {"name": "memory", "color": ${if_match ${memperc}<80}"\#ffffff"${else}"\#ff0000"${endif}, + "full_text": "RAM: ${memperc}% "}, + + #{"name": "disk", "color": "\#ffffff", "full_text": " ${fs_used_perc /}% "}, + + + ############### music / mpd ################### + + ${if_mpd_playing} + # {"name": "test status", "full_text":"${mpd_status}", "separator":false}, + + {"name": "statusSymbol", "color": "\#ffffff", "separator": false, + "full_text": ${if_match ${mpd_status}=="Playing"}"▶"${else}"▐▐"${endif}}, + + {"name": "music", "color": "\#ffffff", "full_text":"${mpd_title} ${mpd_bar}"}, + ${else} + {"name": "nomusic", "color": "\#ffffff", "full_text": "no music"}, + ${endif} + + + ########### networking ######################## + + ${if_up wlp2s0} + {"name":"wifi", "color": ${if_match ${wireless_link_qual_perc wlan0}>60}"\#339966"${else}"\#FF9200"${endif}, + "full_text": "${addr wlp2s0} ${wireless_link_qual_perc wlp2s0}%"}, + {"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed wlp2s0}"}, + + ${else} ${if_up enp0s20u2} + {"name":"eth0", "color": "\#339966", "full_text": "IP: ${addr enp0s20u2} "}, + {"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed enp0s20u2}"}, + + ${else} + {"name":"nonet", "full_text": "no connection" }, + ${endif} + ${endif} + + + ################ Volume ######################## + + {"name": "symbol", "color": "\#ffffff", "full_text": + ${if_match ${exec amixer sget Master | grep Mono: | + sed -e 's/[ \t]* Mono: Playback [0-9]* \[\([0-9]*\)%\].*/\1/'}==0}"M"${else}"U"${endif}, + "separator": false}, + + {"name": "Volume", "color": "\#ffffff", "full_text": + "Volume: [${exec amixer sget Master | grep Mono: | sed -e 's/[ \t]*Mono: Playback [0-9]* \[\([0-9]*%\)\].*/\1/'}]"}, + + + + ################# Battery #################### + + {"name": "battery","color": + ${if_match ${battery_percent}<50} + ${if_match ${battery_percent}<25}"\#ff0000" + ${else}"\#ff9200" + ${endif} + ${else}"\#ffffff" + ${endif}, "full_text": "${battery BAT0}"}, + + {"name": "battery","color": + ${if_match ${battery_percent}<50} + ${if_match ${battery_percent}<25}"\#ff0000" + ${else}"\#ff9200" + ${endif} + ${else}"\#ffffff" + ${endif}, "full_text": "${battery BAT1}"}, + + + ############### Time ################## + + {"name": "time", "color": "\#CFCFCF", "full_text": " ${time %d/%m/%y} ${time %H:%M}"} +], + diff --git a/i3/conkyrc_unicode b/i3/conkyrc_unicode new file mode 100644 index 0000000..c2bc7d7 --- /dev/null +++ b/i3/conkyrc_unicode @@ -0,0 +1,106 @@ +background no +out_to_x no +out_to_console yes +update_interval 1 +mpd_port 6601 + +# Network interface must have an ip address to be considered up +if_up_strictness address + +TEXT +[ + #{"name": "uptime", "color":"\#ffffff", "full_text":"${uptime_short} "}, + + ################## cpu ################# + + #{"name": "cpuTemperature", "full_text": "${exec sensors | grep -A 1 'temp1' | cut -c13-16 | sed '/^$/d'}C"}, + + {"name": "cpuStart", "color" : "\#ffffff", "full_text": "[", "separator": false}, + + {"name": "cpu1", "color": ${if_match ${cpu cpu1}<89}"\#ffffff"${else}"\#ff0000"${endif}, + "full_text": "${cpu cpu1}%,", "separator": false}, + + {"name": "cpu2", "color": ${if_match ${cpu cpu2}<89}"\#ffffff"${else}"\#ff0000"${endif}, + + "full_text": "${cpu cpu2}%,", "separator": false}, + + {"name": "cpu3", "color": ${if_match ${cpu cpu3}<89}"\#ffffff"${else}"\#ff0000"${endif}, + "full_text": "${cpu cpu3}%,", "separator": false}, + + {"name": "cpu4", "color": ${if_match ${cpu cpu4}<89}"\#ffffff"${else}"\#ff0000"${endif}, + "full_text": "${cpu cpu4}%", "separator": false}, + + {"name": "cpuEnd", "color": "\#ffffff", "full_text": "]"}, + + + ################ memory######################### + + {"name": "memory", "color": ${if_match ${memperc}<80}"\#ffffff"${else}"\#ff0000"${endif}, + "full_text": "RAM: ${memperc}% "}, + + #{"name": "disk", "color": "\#ffffff", "full_text": " ${fs_used_perc /}% "}, + + + ############### music / mpd ################### + + ${if_mpd_playing} + # {"name": "test status", "full_text":"${mpd_status}", "separator":false}, + + {"name": "statusSymbol", "color": "\#ffffff", "separator": false, + "full_text": ${if_match ${mpd_status}=="Playing"}"▶"${else}"▐▐"${endif}}, + + {"name": "music", "color": "\#ffffff", "full_text":"${mpd_title} ${mpd_bar}"}, + ${else} + {"name": "nomusic", "color": "\#ffffff", "full_text": "no music"}, + ${endif} + + + ########### networking ######################## + + ${if_up wlp2s0} + {"name":"wifi", "color": ${if_match ${wireless_link_qual_perc wlan0}>60}"\#339966"${else}"\#FF9200"${endif}, + "full_text": "${addr wlan0}  ${wireless_link_qual_perc wlp2s0}%"}, + {"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed wlp2s0}"}, + + ${else} ${if_up enp0s20u1} + {"name":"eth0", "color": "\#339966", "full_text": "IP: ${addr enp0s20u1} "}, + {"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed enp0s20u1}"}, + + ${else} + {"name":"nonet", "full_text": "no connection" }, + ${endif} + ${endif} + + + ################ Volume ######################## + + {"name": "symbol", "color": "\#ffffff", "full_text": + ${if_match ${exec amixer sget Master | grep Left: | + sed -e 's/[ \t]*Front Left: Playback [0-9]* \[\([0-9]*\)%\].*/\1/'}==0}""${else}""${endif}, + "separator": false}, + + {"name": "left", "color": "\#ffffff", "full_text": + "Volume: [${exec amixer sget Master | grep Left: | sed -e 's/[ \t]*Front Left: Playback [0-9]* \[\([0-9]*%\)\].*/\1/'},", "separator": false}, + + {"name": "right", "color": "\#ffffff", "full_text": + "${exec amixer sget Master | grep Right: | sed -e 's/[ \t]*Front Right: Playback [0-9]* \[\([0-9]*%\)\].*/ \1/'}] "}, + + + ################# Battery #################### + + ${if_empty ${battery BAT1} } ${else} + {"name": "battery","color": + ${if_match ${battery_percent}<50} + ${if_match ${battery_percent}<25}"\#ff0000" + ${else}"\#ff9200" + ${endif} + ${else}"\#ffffff" + ${endif}, "full_text": "${battery BAT0}% "}, + ${endif} + + + ############### Time ################## + + {"name": "time", "color": "\#CFCFCF", "full_text": " ${time %d/%m/%y} ${time %H:%M}"} +], + diff --git a/vim/.netrwhist b/vim/.netrwhist new file mode 100755 index 0000000..ef12ad7 --- /dev/null +++ b/vim/.netrwhist @@ -0,0 +1,3 @@ +let g:netrw_dirhistmax =10 +let g:netrw_dirhist_cnt =1 +let g:netrw_dirhist_1='/home/fischerling/Documents/Study/FAU Erlangen/1.Semester/AUD/uebung/10.' diff --git a/vim/autoload/pathogen.vim b/vim/autoload/pathogen.vim new file mode 100755 index 0000000..a13ae08 --- /dev/null +++ b/vim/autoload/pathogen.vim @@ -0,0 +1,347 @@ +" pathogen.vim - path option manipulation +" Maintainer: Tim Pope +" Version: 2.3 + +" Install in ~/.vim/autoload (or ~\vimfiles\autoload). +" +" For management of individually installed plugins in ~/.vim/bundle (or +" ~\vimfiles\bundle), adding `execute pathogen#infect()` to the top of your +" .vimrc is the only other setup necessary. +" +" The API is documented inline below. + +if exists("g:loaded_pathogen") || &cp + finish +endif +let g:loaded_pathogen = 1 + +" Point of entry for basic default usage. Give a relative path to invoke +" pathogen#interpose() (defaults to "bundle/{}"), or an absolute path to invoke +" pathogen#surround(). Curly braces are expanded with pathogen#expand(): +" "bundle/{}" finds all subdirectories inside "bundle" inside all directories +" in the runtime path. +function! pathogen#infect(...) abort + for path in a:0 ? filter(reverse(copy(a:000)), 'type(v:val) == type("")') : ['bundle/{}'] + if path =~# '^\%({\=[$~\\/]\|{\=\w:[\\/]\).*[{}*]' + call pathogen#surround(path) + elseif path =~# '^\%([$~\\/]\|\w:[\\/]\)' + call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')') + call pathogen#surround(path . '/{}') + elseif path =~# '[{}*]' + call pathogen#interpose(path) + else + call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')') + call pathogen#interpose(path . '/{}') + endif + endfor + call pathogen#cycle_filetype() + if pathogen#is_disabled($MYVIMRC) + return 'finish' + endif + return '' +endfunction + +" Split a path into a list. +function! pathogen#split(path) abort + if type(a:path) == type([]) | return a:path | endif + if empty(a:path) | return [] | endif + let split = split(a:path,'\\\@]','\\&','') + endif +endfunction + +" Like findfile(), but hardcoded to use the runtimepath. +function! pathogen#runtime_findfile(file,count) abort "{{{1 + let rtp = pathogen#join(1,pathogen#split(&rtp)) + let file = findfile(a:file,rtp,a:count) + if file ==# '' + return '' + else + return fnamemodify(file,':p') + endif +endfunction + +" Section: Deprecated + +function! s:warn(msg) abort + echohl WarningMsg + echomsg a:msg + echohl NONE +endfunction + +" Prepend all subdirectories of path to the rtp, and append all 'after' +" directories in those subdirectories. Deprecated. +function! pathogen#runtime_prepend_subdirectories(path) abort + call s:warn('Change pathogen#runtime_prepend_subdirectories('.string(a:path).') to pathogen#infect('.string(a:path.'/{}').')') + return pathogen#surround(a:path . pathogen#slash() . '{}') +endfunction + +function! pathogen#incubate(...) abort + let name = a:0 ? a:1 : 'bundle/{}' + call s:warn('Change pathogen#incubate('.(a:0 ? string(a:1) : '').') to pathogen#infect('.string(name).')') + return pathogen#interpose(name) +endfunction + +" Deprecated alias for pathogen#interpose(). +function! pathogen#runtime_append_all_bundles(...) abort + if a:0 + call s:warn('Change pathogen#runtime_append_all_bundles('.string(a:1).') to pathogen#infect('.string(a:1.'/{}').')') + else + call s:warn('Change pathogen#runtime_append_all_bundles() to pathogen#infect()') + endif + return pathogen#interpose(a:0 ? a:1 . '/{}' : 'bundle/{}') +endfunction + +if exists(':Vedit') + finish +endif + +let s:vopen_warning = 0 + +function! s:find(count,cmd,file,lcd) + let rtp = pathogen#join(1,pathogen#split(&runtimepath)) + let file = pathogen#runtime_findfile(a:file,a:count) + if file ==# '' + return "echoerr 'E345: Can''t find file \"".a:file."\" in runtimepath'" + endif + if !s:vopen_warning + let s:vopen_warning = 1 + let warning = '|echohl WarningMsg|echo "Install scriptease.vim to continue using :V'.a:cmd.'"|echohl NONE' + else + let warning = '' + endif + if a:lcd + let path = file[0:-strlen(a:file)-2] + execute 'lcd `=path`' + return a:cmd.' '.pathogen#fnameescape(a:file) . warning + else + return a:cmd.' '.pathogen#fnameescape(file) . warning + endif +endfunction + +function! s:Findcomplete(A,L,P) + let sep = pathogen#slash() + let cheats = { + \'a': 'autoload', + \'d': 'doc', + \'f': 'ftplugin', + \'i': 'indent', + \'p': 'plugin', + \'s': 'syntax'} + if a:A =~# '^\w[\\/]' && has_key(cheats,a:A[0]) + let request = cheats[a:A[0]].a:A[1:-1] + else + let request = a:A + endif + let pattern = substitute(request,'/\|\'.sep,'*'.sep,'g').'*' + let found = {} + for path in pathogen#split(&runtimepath) + let path = expand(path, ':p') + let matches = split(glob(path.sep.pattern),"\n") + call map(matches,'isdirectory(v:val) ? v:val.sep : v:val') + call map(matches,'expand(v:val, ":p")[strlen(path)+1:-1]') + for match in matches + let found[match] = 1 + endfor + endfor + return sort(keys(found)) +endfunction + +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Ve :execute s:find(,'edit',,0) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vedit :execute s:find(,'edit',,0) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vopen :execute s:find(,'edit',,1) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vsplit :execute s:find(,'split',,1) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vvsplit :execute s:find(,'vsplit',,1) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vtabedit :execute s:find(,'tabedit',,1) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vpedit :execute s:find(,'pedit',,1) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vread :execute s:find(,'read',,1) + +" vim:set et sw=2 foldmethod=expr foldexpr=getline(v\:lnum)=~'^\"\ Section\:'?'>1'\:getline(v\:lnum)=~#'^fu'?'a1'\:getline(v\:lnum)=~#'^endf'?'s1'\:'=': diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..3ae2b81 --- /dev/null +++ b/vimrc @@ -0,0 +1,122 @@ +" All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by +" the call to :runtime you can find below. If you wish to change any of those +" settings, you should do it in this file (/etc/vim/vimrc), since debian.vim +" will be overwritten everytime an upgrade of the vim packages is performed. +" It is recommended to make changes after sourcing debian.vim since it alters +" the value of the 'compatible' option. + +" Uncomment the next line to make Vim more Vi-compatible +" NOTE: debian.vim sets 'nocompatible'. Setting 'compatible' changes numerous +" options, so any other options should be set AFTER setting 'compatible'. +"set compatible + +" Vim5 and later versions support syntax highlighting. Uncommenting the next +" line enables syntax highlighting by default. + +execute pathogen#infect() +filetype plugin indent on + +set t_Co=256 +syntax on +set background=dark" dark | light " +colorscheme solarized +hi Normal ctermbg=none + +set cursorline +set colorcolumn=80 + +" The following are commented out as they cause vim to behave a lot +" differently from regular Vi. They are highly recommended though. +set showcmd " Show (partial) command in status line. +set showmatch " Show matching brackets. +"set ignorecase " Do case insensitive matching +"set smartcase " Do smart case matching +"set incsearch " Incremental search +"set autowrite " Automatically save before commands like :next and :make +"set hidden " Hide buffers when they are abandoned +"set mouse=a " Enable mouse usage (all modes) +set backup " Enable backup files +"set number " Enable line numbers + +" Return to last edit position when opening files (You want this!) +autocmd BufReadPost * +\ if line("'\"") > 0 && line("'\"") <= line("$") | +\ exe "normal! g`\"" | +\ endif + +"""""""""""""""""""""""""""""" +" => Highlight Groups +"""""""""""""""""""""""""""""" +:highlight ExtraWhitespace ctermbg=red guibg=red + +"""""""""""""""""""""""""""""" +" => Visual mode related +"""""""""""""""""""""""""""""" +" Visual mode pressing * or # searches for the current selection +" Super useful! From an idea by Michael Naumann +vnoremap * :call VisualSelection('f', '') +vnoremap # :call VisualSelection('b', '') + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Text, tab and indent related +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Use spaces instead of tabs +set expandtab +" Be smart when using tabs ;) +set smarttab +" 1 tab == 4 spaces +set shiftwidth=4 +set tabstop=4 +" Linebreak on 500 characters +set lbr +set tw=500 +set ai "Auto indent +set si "Smart indent +set wrap "Wrap lines + +"""""""""""""""""""""""""""""" +" => Status line +"""""""""""""""""""""""""""""" +" Always show the status line +set laststatus=2 +" Format the status line +set statusline=\ %{HasPaste()}%F%m%r%h\ \ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Helper functions +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +function! CmdLine(str) + exe "menu Foo.Bar :" . a:str + emenu Foo.Bar + unmenu Foo +endfunction + +function! VisualSelection(direction, extra_filter) range + let l:saved_reg = @" + execute "normal! vgvy" + + let l:pattern = escape(@", '\\/.*$^~[]') + let l:pattern = substitute(l:pattern, "\n$", "", "") + + if a:direction == 'b' + execute "normal ?" . l:pattern . "^M" + elseif a:direction == 'gv' + call CmdLine("Ack \"" . l:pattern . "\" " ) + elseif a:direction == 'replace' + call CmdLine("%s" . '/'. l:pattern . '/') + elseif a:direction == 'f' + execute "normal /" . l:pattern . "^M" + endif + + let @/ = l:pattern + let @" = l:saved_reg +endfunction + +" Returns true if paste mode is enabled +function! HasPaste() + if &paste + return 'PASTE MODE ' + en + return '' +endfunction + diff --git a/zshrc b/zshrc new file mode 100644 index 0000000..a0d5061 --- /dev/null +++ b/zshrc @@ -0,0 +1,127 @@ +# Path to your oh-my-zsh installation. +export ZSH=$HOME/.oh-my-zsh + +# Set name of the theme to load. +# Look in ~/.oh-my-zsh/themes/ +# Optionally, if you set this to "random", it'll load a random theme each +# time that oh-my-zsh is loaded. +ZSH_THEME="sunrise" + +# Uncomment the following line to use case-sensitive completion. +# CASE_SENSITIVE="true" + +# Uncomment the following line to disable bi-weekly auto-update checks. +# DISABLE_AUTO_UPDATE="true" + +# Uncomment the following line to change how often to auto-update (in days). +# export UPDATE_ZSH_DAYS=13 + +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" + +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) +# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=(git archlinux pip python sudo web-search wd) + +source $ZSH/oh-my-zsh.sh + +# User configuration + +HIST_IGNORE_ALL_DUPS="true" + +# export PATH=$HOME/bin:/usr/local/bin:$PATH +# export MANPATH="/usr/local/man:$MANPATH" + +# You may need to manually set your language environment +# export LANG=en_US.UTF-8 + +# Preferred editor +export EDITOR='vim' + +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# ssh +export SSH_KEY_PATH="~/.ssh/rsa_id" + +# XDG_CONFIG_HOME +#export XDG_CONFIG_HOME="~/.config" + +# mpd port +export MPD_PORT="6601" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" +alias diff="colordiff" + +# alias for FAU vpn +alias fauvpnfull="wd FAUAllgemein && sudo openvpn ~/Documents/MyDocuments/Study/FAU\ Erlangen/Allgemein/FAU-Fulltunnel.ovpn && cd ~" +alias fauvpnsplit="openvpn ~/Documents/MyDocuments/Study/FAU\ Erlangen/Allgemein/FAU-Splittunnel.ovpn" + +# x screen saver alias + +alias screensoff="xset s off; xset -dpms && echo 'xcreensaver and dpms disabled'" +alias screenson="xset s on; xset +dpms && echo 'xscreensaver and dpms enabled'" + +# Aliases for filetypes +alias -s pdf="apvlv" +alias -s tar="tar xfv" +alias -s zip="unzip" + +eval `dircolors ~/.dir_colors` + +# A simple function to retrieve your current remote ip. + +get_ip() { + page='http://myip.dnsomatic.com' + + which curl > /dev/null 2>&1 + if [ "$?" -eq "0" ]; then + echo "ip: `curl -s $page`" + else + echo -e "curl is not installed, aborting" + fi +} + +pss() { + if [ -z "$1" ]; then + echo -e "usage: pss PATTERN" + else + pids=$(pgrep -d, -f $1) + if [ ! -z $pids ]; then + echo -ne "\033[1;32m" + ps -Fp $pids + echo -ne "\033[1;0m" + fi + fi +} -- cgit v1.2.3