Made changes

This commit is contained in:
Austen Adler 2015-01-16 11:11:49 -05:00
parent 1a1041ae7e
commit 4277433165
6 changed files with 9 additions and 5 deletions

View File

@ -11,7 +11,7 @@ bindsym Print exec "shutter -r"
#screensaver #screensaver
bindsym $mod+shift+backslash exec "cat /tmp/noss&&(rm /tmp/noss;notify-send 'Screensaver Enabled' -t 200)||(touch /tmp/noss;notify-send 'Screensaver Disabled' -t 200)" bindsym $mod+shift+backslash exec "cat /tmp/noss&&(rm /tmp/noss;notify-send 'Screensaver Enabled' -t 200)||(touch /tmp/noss;notify-send 'Screensaver Disabled' -t 200)"
exec --no-startup-id xautolock -time 3 -locker 'zsh -c "cat /tmp/noss||i3lock -di `shuf -n1 -e ~/.i3/wall/*`"' exec --no-startup-id xautolock -time 3 -locker '~/.i3/screensaver.sh'
set $bg #121212 set $bg #121212
set $fg #9f9f9f set $fg #9f9f9f

2
i3/screensaver.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
cat /tmp/noss||i3lock -di `shuf -n1 -e ~/.i3/wall/*`

View File

@ -31,7 +31,7 @@ suckless-tools
pm-utils pm-utils
alsa-utils alsa-utils
numlockx numlockx
virtualbox #virtualbox
x11vnc x11vnc
xvnc4viewer xvnc4viewer
ntop ntop

View File

@ -76,3 +76,4 @@ minimodem
hfsutils hfsutils
hfsprogs hfsprogs
vifm vifm
git-annex

View File

@ -78,9 +78,9 @@ while getopts ":hbsdpcw" VALUE "$@"; do
ln -s $ABSPATH/shells/liquidpromptrc ~/.config/liquidpromptrc ln -s $ABSPATH/shells/liquidpromptrc ~/.config/liquidpromptrc
if [ "$(uname)" != "Darwin" ]; then if [ "$(uname)" != "Darwin" ]; then
if which trash >/dev/null; then if which trash >/dev/null; then
trash ~/.i3/config ~/.i3/sleep.sh ~/.i3/wall.sh ~/.i3/i3status.conf ~/.Xmodmap ~/.xsession ~/.config/synapse/gtkrc ~/.Xresources trash ~/.i3/config ~/.i3/sleep.sh ~/.i3/wall.sh ~/.i3/i3status.conf ~/.i3/screensaver.sh ~/.Xmodmap ~/.xsession ~/.config/synapse/gtkrc ~/.Xresources
else else
rm ~/.i3/config ~/.i3/sleep.sh ~/.i3/wall.sh ~/i3status.conf ~/.Xmodmap ~/.xsession ~/.config/synapse/gtkrc ~/.Xresources rm ~/.i3/config ~/.i3/sleep.sh ~/.i3/wall.sh ~/i3status.conf ~/.i3/screensaver.sh ~/.Xmodmap ~/.xsession ~/.config/synapse/gtkrc ~/.Xresources
fi fi
# Don't install these on Mac # Don't install these on Mac
mkdir -p ~/.i3 mkdir -p ~/.i3
@ -88,6 +88,7 @@ while getopts ":hbsdpcw" VALUE "$@"; do
ln -s $ABSPATH/i3/sleep.sh ~/.i3/sleep.sh ln -s $ABSPATH/i3/sleep.sh ~/.i3/sleep.sh
ln -s $ABSPATH/i3/wall.sh ~/.i3/wall.sh ln -s $ABSPATH/i3/wall.sh ~/.i3/wall.sh
ln -s $ABSPATH/i3/i3status.conf ~/.i3/i3status.conf ln -s $ABSPATH/i3/i3status.conf ~/.i3/i3status.conf
ln -s $ABSPATH/i3/screensaver.sh ~/.i3/screensaver.sh
ln -s $ABSPATH/i3/Xmodmap ~/.Xmodmap ln -s $ABSPATH/i3/Xmodmap ~/.Xmodmap
ln -s $ABSPATH/i3/xsession ~/.xsession ln -s $ABSPATH/i3/xsession ~/.xsession
mkdir -p ~/.config/synapse mkdir -p ~/.config/synapse

View File

@ -49,7 +49,7 @@ alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo
alias disphost='export DISPLAY=:0.0' alias disphost='export DISPLAY=:0.0'
alias ll='ls -AglhF' alias ll='ls -AglhF'
alias la='ls -A' alias la='ls -A'
alias l='ls -CFA' alias l='ls -CF'
alias logout='sudo pkill -u $USER' alias logout='sudo pkill -u $USER'
alias fixsh='ssh-keygen -R' alias fixsh='ssh-keygen -R'
alias tmux='tmux -2' alias tmux='tmux -2'