From: Mart Lubbers Date: Fri, 26 Sep 2014 07:49:57 +0000 (+0200) Subject: updated for multimonitor setup with bar and screen X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=255090fd2c6f2e4f02ff5c35c473ffff985e1dcb;p=dotfiles.git updated for multimonitor setup with bar and screen --- diff --git a/.bashrc b/.bashrc index 5d220d7..4886f33 100644 --- a/.bashrc +++ b/.bashrc @@ -1,8 +1,14 @@ +#Shopt options shopt -s checkwinsize shopt -s histappend -set -o vi + +#Disable bell xset -b >/dev/null 2>&1 +#Set vim mode and macros +set -o vi +bind '"\es":"0isudo $a"' + #Variables export COLORFGBG="default:default" export EDITOR=vim @@ -11,7 +17,7 @@ export HISTSIZE=100000 export PATH=~/home/bin:$PATH export PYTHONDONTWRITEBYTECODE export PYTHONPATH=~/home/lib/python2.7/site-packages -export STCONTROL=ignoreboth +export HISTCONTROL=ignoreboth export TERM=screen export TERMINAL=urxvt export LD_LIBRARY_PATH=/home/marlub/home/lib64/:/home/marlub/home/lib/:/home/marlub/home/include diff --git a/.i3/config b/.i3/config index b6cf5b5..57a5ed0 100644 --- a/.i3/config +++ b/.i3/config @@ -14,6 +14,7 @@ exec skype exec ~/.i3/bg exec numlockx on exec urxvtd -q -o -f +exec ~/.i3/screen.sh set $mod Mod4 @@ -130,4 +131,5 @@ bar { status_command /home/marlub/.i3/bar position bottom Font -gnu-unifont-*-*-*-16-160-*-*-*-*-*-* + tray_output primary } diff --git a/.i3/screen.sh b/.i3/screen.sh new file mode 100755 index 0000000..0a9dfd8 --- /dev/null +++ b/.i3/screen.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output HDMI1 --mode 1280x1024 --pos 0x0 --rotate normal --output DP1 --off --output VGA1 --primary --mode 1680x1050 --pos 1280x0 --rotate normal