Use dpms in i3lock, try to disable autocorrection in zshrc. Added stick and flappyvim commands.

This commit is contained in:
Austen Adler 2014-09-07 11:06:54 -04:00
parent e833805d1a
commit 7aa5f48295
3 changed files with 11 additions and 6 deletions

View File

@ -8,7 +8,7 @@ bindsym XF86AudioLowerVolume exec "amixer set Master 5%- unmute"
bindsym XF86AudioMute exec "amixer -D pulse set Master 1+ toggle"
#screensaver
exec --no-startup-id xautolock -time 3 -locker 'i3lock -i `shuf -n1 -e ~/.i3/wall/*`; sleep 60; pgrep i3lock && xset dpms force off' &
exec --no-startup-id xautolock -time 3 -locker 'i3lock -di `shuf -n1 -e ~/.i3/wall/*`; sleep 60; pgrep i3lock && xset dpms force off' &
#startup
#exec --no-startup-id i3-msg 'workspace 10; exec /home/stonewareslord/xmodmap.sh&/usr/bin/owncloud&/usr/bin/redshift t -l 36.3:-80.3 -t 6500:4000&wicd-gtk&'
@ -197,9 +197,9 @@ bindsym $mod+Shift+0 move container to workspace 10
# reload the configuration file
bindsym $mod+Shift+r reload
# To initialize wallpapers, run:
# echo -n "Use $(xrandr -q|perl -F'\s|,' -lane "/^Sc/&&print join '',@F[8..10]") as screen size?" ; read a && mkdir -p ~/.i3/wall ; cp ~/ownCloud/wallpaper/std/* ~/.i3/wall ; cd ~/.i3/wall ; rename -v 's/(.* )+//' * ; mogrify -resize `xrandr -q|perl -F'\s|,' -lane "/^Sc/&&print join '',@F[8..10]"`^ -verbose -gravity center -format png * ; rm *.jpg ; rm *.jpeg
bindsym $mod+grave exec "i3lock -i `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`; sleep 60; pgrep i3lock && xset dpms force off"
bindsym $mod+Shift+grave exec "sudo pm-suspend | i3lock -i `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`"
# export DISPLAY=:0.0;mkdir -p ~/.i3/wall;cp ~/ownCloud/wallpaper/std/* ~/.i3/wall;cd ~/.i3/wall;rename -v 's/(.* )+//' *;mogrify -resize `xrandr -q|perl -F'\s|,' -lane "/^Sc/&&print join '',@F[8..10]"`^ -verbose -gravity center -format png *;rm *.jpg;rm *.jpeg
bindsym $mod+grave exec "i3lock -di `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`; sleep 60; pgrep i3lock && xset dpms force off"
bindsym $mod+Shift+grave exec "sudo pm-suspend | i3lock -di `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`"
# Tees the filename to /tmp/wall for debugging
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+q restart

View File

@ -1,7 +1,7 @@
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="af-magic"
# Uncomment the following line to enable command auto-correction.
ENABLE_CORRECTION="true"
ENABLE_CORRECTION="false"
COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
@ -72,7 +72,9 @@ alias rname="while true;do echo -n \"Rename: \";read A;echo -n \"To: \";read B;i
alias g="git $@"
alias echip="curl ifconfig.me"
alias vpn="cd ~/.openvpn;sudo openvpn config.ovpn;cd -"
alias to="~/tmp/todo/todo.sh"
alias to="~/.todo/todo.sh"
alias stick="stikkit -b https://austenwares.com/paste"
alias flappyvim="vim -u NONE +\"so ~/.vim/bundle/flappyvird-vim/plugin/flappyvird.vim\" +\"so ~/.vim/bundle/flappyvird-vim/autoload/flappyvird.vim\" +\":FlappyVird\" +\":q\""
alias -s html="firefox"
alias -s log="less -MN"
alias -g nify=" > /dev/null 2>&1 &"

View File

@ -140,6 +140,7 @@ set noesckeys
set mouse-=a
set shiftwidth=2
set tabstop=2
set modeline
set softtabstop=2
set expandtab
set history=1000
@ -304,6 +305,8 @@ Bundle 'othree/eregex.vim'
"Real regexes in vim | https://github.com/othree/eregex.vim
Bundle 'vim-scripts/sessionman.vim'
" |https://github.com/vim-scripts/sessionman.vim
Bundle 'mattn/flappyvird-vim'
" |https://github.com/mattn/flappyvird-vim
" |
"DO NOT DELETE LINE ABOVE OR \bun WILL BREAK
filetype plugin indent on