aboutsummaryrefslogtreecommitdiff
path: root/ratpoison
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 /ratpoison
parent67ccc0e15e3ffca70e290b4b9cb1d799d2931b62 (diff)
downloaddotfiles-58ae3acdbd7223d56a227b25685215ab2e268fc6.tar.gz
dotfiles-58ae3acdbd7223d56a227b25685215ab2e268fc6.tar.bz2
dotfiles-58ae3acdbd7223d56a227b25685215ab2e268fc6.zip
spotlight!
Diffstat (limited to 'ratpoison')
-rwxr-xr-xratpoison/clipboard2
-rw-r--r--ratpoison/ratpoisonrc.conf3
-rwxr-xr-xratpoison/spotlight3
3 files changed, 7 insertions, 1 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