From 58ae3acdbd7223d56a227b25685215ab2e268fc6 Mon Sep 17 00:00:00 2001 From: vaskozl Date: Sat, 29 Nov 2014 15:55:33 +0000 Subject: spotlight! --- ratpoison/clipboard | 2 +- ratpoison/ratpoisonrc.conf | 3 +++ ratpoison/spotlight | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 ratpoison/spotlight (limited to 'ratpoison') 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 -- cgit v1.2.3-54-g00ecf