aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvaskozl <vasil.zlatanov@gmail.com>2014-11-29 15:55:33 +0000
committervaskozl <vasil.zlatanov@gmail.com>2014-11-29 15:55:33 +0000
commit58ae3acdbd7223d56a227b25685215ab2e268fc6 (patch)
treef24dae34e78e4d8928102f257cb47d5333437ea9
parent67ccc0e15e3ffca70e290b4b9cb1d799d2931b62 (diff)
downloaddotfiles-58ae3acdbd7223d56a227b25685215ab2e268fc6.tar.gz
dotfiles-58ae3acdbd7223d56a227b25685215ab2e268fc6.tar.bz2
dotfiles-58ae3acdbd7223d56a227b25685215ab2e268fc6.zip
spotlight!
-rwxr-xr-xratpoison/clipboard2
-rw-r--r--ratpoison/ratpoisonrc.conf3
-rwxr-xr-xratpoison/spotlight3
-rwxr-xr-xxinitrc14
4 files changed, 19 insertions, 3 deletions
diff --git a/ratpoison/clipboard b/ratpoison/clipboard
index 7183902..6b34271 100755
--- a/ratpoison/clipboard
+++ b/ratpoison/clipboard
@@ -41,7 +41,7 @@ function entries() {
}
function menu() {
- echo ratmenu -label "\"clipboard $command\"" \
+ echo ~/.ratpoison/ratmenu -label "\"clipboard $command\"" \
-style dreary -fg \'#657b83\' -bg \'#eee8d5\' -io 2 $(entries) | sh
}
diff --git a/ratpoison/ratpoisonrc.conf b/ratpoison/ratpoisonrc.conf
index 2294359..ee317fc 100644
--- a/ratpoison/ratpoisonrc.conf
+++ b/ratpoison/ratpoisonrc.conf
@@ -7,6 +7,9 @@ definekey top Arabic_dammatan meta
#unmanage Nautilus Desktop
unmanage Desktop
+#find files script
+bind f exec ~/.ratpoison/spotlight
+
# set font with unicode support
#set font -*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*
set font "DejaVu Sans Mono"
diff --git a/ratpoison/spotlight b/ratpoison/spotlight
new file mode 100755
index 0000000..550dacb
--- /dev/null
+++ b/ratpoison/spotlight
@@ -0,0 +1,3 @@
+#!/bin/sh
+find ~/ | sed 's/ /\\ /g' | dmenu -i -l 20 -nb '#eee8d5' -nf '#657b83' | xargs rifle -p0
+exit 0
diff --git a/xinitrc b/xinitrc
index 5e58124..9f73696 100755
--- a/xinitrc
+++ b/xinitrc
@@ -3,7 +3,7 @@
# http://www.desertsol.com/~kevin/ratpoison/
ratpoison_dir=$HOME/.ratpoison
ratpoison=/usr/bin/ratpoison
-xtoolwait="timeout --signal=KILL 5 /usr/bin/X11/xtoolwait -timeout 10"
+xtoolwait="timeout --signal=KILL 5 /usr/bin/xtoolwait -timeout 10"
workspace="/usr/bin/rpws"
screen_run="$ratpoison_dir/screen_run"
term="/usr/bin/urxvt -e"
@@ -23,8 +23,15 @@ function number_and_title() {
#
#######################################################################
+# Background
+nitrogen --restore
+
#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' &
+xset r 64
+xset r rate 200 30
+xset m 0 0
#Mount some stuff
pmount sda1 &
@@ -38,7 +45,7 @@ xautolock -detectsleep -locker i3lock -time 11 -corners 0-00 &
xrdb -merge ~/.Xresources
xrdb -merge ~/.Xdefaults
# Start some programs
-dropbox start
+#dropbox start
~/bin/offline-run
#~/bin/xflux -z 24531 -l 56 -g 13
#sudo nm-applet &
@@ -208,6 +215,9 @@ fi
# Default workspace: 1(ranger)
# $workspace 1
+xfce4-panel --disable-wm-check &
+sleep 2 && rpbar
+
#######################################################################
sleep 1
if [ $run_everything = true ]; then