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 +++ xinitrc | 14 ++++++++++++-- 4 files changed, 19 insertions(+), 3 deletions(-) create mode 100755 ratpoison/spotlight 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 -- cgit v1.2.3-54-g00ecf