more updates

This commit is contained in:
Frieder Schlesier 2015-12-26 12:05:14 +01:00
parent 80d178777c
commit d59d6ce9bc
14 changed files with 35 additions and 13 deletions

1
.aliases Normal file → Executable file
View File

@ -12,3 +12,4 @@ alias di='docker images'
alias dip="docker inspect -f '{{ .NetworkSettings.IPAddress }}'" # call with <container name> or ID
alias dih="docker inspect -f '{{ .Config.Hostname }}'" # call with <container name> or ID
alias dstats="docker stats "'$(sudo docker ps -aq)' # shows stats thingy for all containers

0
.bashrc Normal file → Executable file
View File

20
.dockerfunc Normal file → Executable file
View File

@ -51,8 +51,8 @@ chrome() {
# one day remove /etc/hosts bind mount when effing
# overlay support inotify, such bullshit
# --memory 2gb \
docker run -d \
--memory 2gb \
--net host \
-v /etc/localtime:/etc/localtime:ro \
-v /tmp/.X11-unix:/tmp/.X11-unix \
@ -66,13 +66,12 @@ chrome() {
--device /dev/snd \
--device /dev/dri \
--device /dev/video0 \
--device /dev/usb \
--device /dev/bus/usb \
--group-add audio \
--group-add video \
--name chrome \
fschl/chrome --user-data-dir=/data --force-device-scale-factor=1 \
--proxy-server="$proxy" --host-resolver-rules="$map" "$args"
--name="chrome" \
fschl/chrome:latest --user-data-dir=/data
#--force-device-scale-factor=1 \
#--proxy-server="$proxy" --host-resolver-rules="$map" "$args"
}
eclipse() {
@ -80,13 +79,13 @@ eclipse() {
docker run -d \
--net host \
--name="eclipse" \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
-v $HOME/projects/java/workspace:/home/eclipse/workspace \
-v $HOME/.eclipse/plugins:/opt/eclipse/plugins \
-v $HOME/.eclipse/configuration:/opt/eclipse/configuration \
-v $HOME/.sonar:/home/eclipse/.sonar \
--name eclipse \
fschl/eclipse:latest
}
@ -103,14 +102,14 @@ icedove() {
del_stopped icedove
docker run -d \
--name="icedove" \
-v /etc/localtime:/etc/localtime:ro \
-v $HOME/Downloads/:/root/Downloads \
-v $HOME/.thunderbird/:/root/.icedove \
-v $HOME/.gnupg/:/root/.gnupg \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
--name icedove \
fschl/icedove
fschl/icedove:latest
}
latex() {
@ -144,6 +143,7 @@ openvpn() {
del_stopped openvpn
docker run -it --rm \
--name="openvpn" \
--net host \
--device /dev/net/tun:/dev/net/tun \
--cap-add NET_ADMIN \
@ -222,7 +222,7 @@ vlc() {
-v "$args":/home/vlc \
-v /etc/localtime:/etc/localtime:ro \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /run/user/1000/pulse:/run/user/1000/pulse \
-v /run/user/1000/pulse:/run/user/vlc/pulse \
-v /var/lib/dbus:/var/lib/dbus \
-v ~/.pulse:/root/.pulse \
-e DISPLAY=unix$DISPLAY \

0
.gitconfig Normal file → Executable file
View File

3
.i3/config Normal file → Executable file
View File

@ -87,6 +87,9 @@ bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
# float some applications
for_window [class="Tor Browser"] floating enable
# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2

11
.i3/status.conf Normal file → Executable file
View File

@ -18,7 +18,8 @@ order += "run_watch Docker"
order += "run_watch DHCP"
order += "path_exists VPN"
#order += "ipv6"
order += "wireless wlan0"
#order += "wireless wlan0"
order += "wireless wlp3s0"
order += "ethernet eth0"
order += "volume master"
order += "battery 0"
@ -30,6 +31,10 @@ wireless wlan0 {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
wireless wlp3s0 {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
ethernet eth0 {
# if you use %speed, i3status requires root privileges
@ -77,11 +82,11 @@ disk "/" {
}
disk "/var" {
format = "var %avail"
format = "/var %avail"
}
disk "/home" {
format = "home %avail"
format = "/home %avail"
}
volume master {

0
.profile Normal file → Executable file
View File

0
.tmux.conf Normal file → Executable file
View File

0
.xsessionrc Normal file → Executable file
View File

13
20-thinkpad.conf Normal file
View File

@ -0,0 +1,13 @@
# https://wiki.debian.org/InstallingDebianOn/Thinkpad/Trackpoint
# should reside at /usr/share/X11/xorg.conf.d/20-thinkpad.conf
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection

0
LICENSE.md Normal file → Executable file
View File

0
Makefile Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
install.sh Normal file → Executable file
View File