Use dpms in i3lock, try to disable autocorrection in zshrc. Added stick and flappyvim commands.
This commit is contained in:
parent
e833805d1a
commit
7aa5f48295
@ -8,7 +8,7 @@ bindsym XF86AudioLowerVolume exec "amixer set Master 5%- unmute"
|
|||||||
bindsym XF86AudioMute exec "amixer -D pulse set Master 1+ toggle"
|
bindsym XF86AudioMute exec "amixer -D pulse set Master 1+ toggle"
|
||||||
|
|
||||||
#screensaver
|
#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
|
#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&'
|
#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
|
# reload the configuration file
|
||||||
bindsym $mod+Shift+r reload
|
bindsym $mod+Shift+r reload
|
||||||
# To initialize wallpapers, run:
|
# 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
|
# 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 -i `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`; sleep 60; pgrep i3lock && xset dpms force off"
|
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 -i `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`"
|
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
|
# Tees the filename to /tmp/wall for debugging
|
||||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||||
bindsym $mod+q restart
|
bindsym $mod+q restart
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
export ZSH=$HOME/.oh-my-zsh
|
export ZSH=$HOME/.oh-my-zsh
|
||||||
ZSH_THEME="af-magic"
|
ZSH_THEME="af-magic"
|
||||||
# Uncomment the following line to enable command auto-correction.
|
# Uncomment the following line to enable command auto-correction.
|
||||||
ENABLE_CORRECTION="true"
|
ENABLE_CORRECTION="false"
|
||||||
COMPLETION_WAITING_DOTS="true"
|
COMPLETION_WAITING_DOTS="true"
|
||||||
# Uncomment the following line if you want to change the command execution time
|
# Uncomment the following line if you want to change the command execution time
|
||||||
# stamp shown in the history command output.
|
# 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 g="git $@"
|
||||||
alias echip="curl ifconfig.me"
|
alias echip="curl ifconfig.me"
|
||||||
alias vpn="cd ~/.openvpn;sudo openvpn config.ovpn;cd -"
|
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 html="firefox"
|
||||||
alias -s log="less -MN"
|
alias -s log="less -MN"
|
||||||
alias -g nify=" > /dev/null 2>&1 &"
|
alias -g nify=" > /dev/null 2>&1 &"
|
||||||
|
@ -140,6 +140,7 @@ set noesckeys
|
|||||||
set mouse-=a
|
set mouse-=a
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
|
set modeline
|
||||||
set softtabstop=2
|
set softtabstop=2
|
||||||
set expandtab
|
set expandtab
|
||||||
set history=1000
|
set history=1000
|
||||||
@ -304,6 +305,8 @@ Bundle 'othree/eregex.vim'
|
|||||||
"Real regexes in vim | https://github.com/othree/eregex.vim
|
"Real regexes in vim | https://github.com/othree/eregex.vim
|
||||||
Bundle 'vim-scripts/sessionman.vim'
|
Bundle 'vim-scripts/sessionman.vim'
|
||||||
" |https://github.com/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
|
"DO NOT DELETE LINE ABOVE OR \bun WILL BREAK
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
Loading…
Reference in New Issue
Block a user