Modified susp

This commit is contained in:
Austen Adler 2015-04-27 08:21:57 -04:00
parent fbe82d4c46
commit 594dd8bf49
2 changed files with 2 additions and 4 deletions

View File

@ -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)'

View File

@ -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"