From ed1ce28e2b30a213f57b6c52bedbeb0209e2b732 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Wed, 4 Feb 2015 13:24:04 -0500 Subject: [PATCH] Gentoo fixes --- i3/Xmodmap | 2 +- i3/config | 1 + shells/zshrc | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/i3/Xmodmap b/i3/Xmodmap index a1585e8..d276a2d 100644 --- a/i3/Xmodmap +++ b/i3/Xmodmap @@ -3,4 +3,4 @@ keysym Caps_Lock = Escape keysym Escape = Caps_Lock add Lock = Caps_Lock keycode 248 = -pointer = 3 2 1 +pointer = 1 2 3 diff --git a/i3/config b/i3/config index b41de2f..d11fec3 100644 --- a/i3/config +++ b/i3/config @@ -1,5 +1,6 @@ set $mod Mod4 assign [class=Firefox] 2 +assign [class=libreoffice] 3 exec --no-startup-id "zsh -c 'xrandr --output LVDS1 --primary || xrandr --output HDMI3 --primary'" bindsym $mod+shift+d exec i3-input -F 'rename workspace to "%s"' -P 'Rename to: ' #exec xrandr --output HDMI3 --left-of HDMI1 & diff --git a/shells/zshrc b/shells/zshrc index e37b36e..1d8002c 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -40,7 +40,7 @@ fi alias steam='sudo kill -9 `pidof steam`;sudo unshare -n -- sh -c "ifconfig lo up;sudo -u stonewareslord steam" > /dev/null 2>&1 & disown' alias matlab='matlab -glnx86' alias srm='srm -dv' -alias pass='DISPLAY= pass' +#alias pass='DISPLAY= pass' alias ehistory='cat ~/.bash_eternal_history|egrep -iP $@' alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"' alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' @@ -65,7 +65,8 @@ alias awake='disphost; while true; do xdotool mousemove 0 0; sleep 60; done' alias adk='/home/stonewareslord/Applications/adk/bin/studio.sh & disown' alias resource='. ~/.zshrc' alias install='sudo apt-get --show-progress install' -alias ins='emerge -van ' +alias ins='sudo emerge --autounmask-write -va' +alias etup='sudo etc-update --automode -3 <<< y' alias search='apt-cache search' alias remove='sudo apt-get --show-progress remove' alias update='sudo apt-get update'