diff --git a/i3/config b/i3/config index f7b7eda..5023c1f 100644 --- a/i3/config +++ b/i3/config @@ -1,9 +1,7 @@ set $mod Mod4 for_window [class=ownCloud] floating disable assign [class=Firefox] 2 -#assign [class=libreoffice] 3 -#assign [class=soffice] 3 -#assign [class=Soffice] 3 +assign [class=midori4] 2 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: ' bindsym $mod+semicolon exec quickswitch.py -d 'rofi -dmenu $(i3-color-rofi)' diff --git a/shells/zshrc b/shells/zshrc index 22d92ca..9d97885 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -109,7 +109,7 @@ alias fk='k `fzf --no-mouse -m -1 -x`' alias fkill='ps -ef | sed 1d | fzf --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}' alias slp='smon ./x&DISPLAY=:0.0 i3lock -di `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`' alias updateall='sudo sh -c "apt-get update;apt-get upgrade -y;apt-get dist-upgrade -y;apt-get autoremove -y"' -alias susp="echo mem|sudo tee /sys/power/state>/dev/null" +alias susp="echo mem|tee /sys/power/state 2>&1 >/dev/null||echo mem|sudo tee /sys/power/state 2>&1 >/dev/null" alias -s html="firefox" alias -s log="less -MN" alias -s odt="libreoffice"