aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ratpoison/ratpoisonrc.conf4
-rwxr-xr-xratpoison/spotlight2
-rwxr-xr-xxinitrc7
3 files changed, 8 insertions, 5 deletions
diff --git a/ratpoison/ratpoisonrc.conf b/ratpoison/ratpoisonrc.conf
index 3c00259..45cc7ed 100644
--- a/ratpoison/ratpoisonrc.conf
+++ b/ratpoison/ratpoisonrc.conf
@@ -170,7 +170,7 @@ bind K exchangeup
bind w window_menu
bind a title
bind t time
-definekey top s-l exec i3lock
+definekey top s-l exec i3lock -n -i ~/Pictures/1440.png
definekey top s-s exec ~/bin/sus
definekey top s-L redisplay
bind c exec gnome-control-center
@@ -180,7 +180,7 @@ bind V hsplit 2/3
bind s vsplit
bind S vsplit 2/3
bind d remove
-bind space exec urxvt -e zsh
+bind space exec urxvt
bind o only
bind semicolon colon
bind e exec
diff --git a/ratpoison/spotlight b/ratpoison/spotlight
index ec0be39..bfe196e 100755
--- a/ratpoison/spotlight
+++ b/ratpoison/spotlight
@@ -1,3 +1,3 @@
#!/bin/sh
-find ~/ | sed 's/ /\\ /g' | dmenu -i -l 20 -nb '#eee8d5' -nf '#657b83' | xargs urxvt -e rifle
+{ find ~/ \( ! -regex '.*/\..*' \); find ~/ \( -regex '.*/\..*' \) ; } | grep -v 'dotfiles/vim/undodir' | sed 's/ /\\ /g' | dmenu -i -l 20 -nb '#eee8d5' -nf '#657b83' | xargs urxvt -e rifle -p0
exit 0
diff --git a/xinitrc b/xinitrc
index b1da90c..ae664eb 100755
--- a/xinitrc
+++ b/xinitrc
@@ -26,6 +26,9 @@ function number_and_title() {
# Background
nitrogen --restore
+# Autolock
+xss-lock -- i3lock -n -i ~/Pictures/1440.png &
+
#Keyboard Bindings
setxkbmap us -variant colemak
xcape -t 300 -e 'Shift_L=parenleft;Shift_R=parenright;Hyper_L=Shift_L|exclam;Hyper_R=Shift_L|question' &
@@ -39,13 +42,13 @@ pmount sda5 &
pmount sda6 &
# Launch locking program
-xautolock -detectsleep -locker i3lock -time 11 -corners 0-00 &
+#xautolock -detectsleep -locker i3lock -time 11 -corners 0-00 &
# Load xterm colors
xrdb -merge ~/.Xresources
xrdb -merge ~/.Xdefaults
# Start some programs
-dropboxd
+#dropbox start
~/bin/offline-run
#~/bin/xflux -z 24531 -l 56 -g 13
#sudo nm-applet &