dot-files

Dot files managed with stow
git clone http://milesalan.com/git/dot-files
Log | Files | Refs | Mirror | README

commit e4cd9d4f2d03e81e2ded1e63179782617c4b4cfa
parent e4956228324c9d022ab018547fc629ad55c02d07
Author: mil <miles.sandlar@gmail.com>
Date:   Sat, 26 Jan 2013 17:33:21 -0500

some forgotten

Diffstat:
M.xbindkeysrc | 11+++++++----
AScripts/X/fsize | 3+++
MScripts/X/mdmenu | 10+++++-----
AScripts/X/rangerterm | 3+++
AScripts/X/surf-urxvt | 5+++++
AScripts/X/tabbed-surf | 5+++++
AScripts/X/tabbed-urxvt | 5+++++
7 files changed, 33 insertions(+), 9 deletions(-)

diff --git a/.xbindkeysrc b/.xbindkeysrc @@ -1,5 +1,5 @@ ### Applications -"urxvt" +"tabbed-urxvt" m:0x8 + c:36 Alt + enter @@ -12,7 +12,7 @@ XF86Launch1 -"surf" +"tabbed-surf" m:0x8 + c:51 Alt + backslash @@ -137,12 +137,12 @@ Alt + d # WM Dmenu -"cat /home/mil/Code/Stable/foo-wm/config/commands | dmenu -h 40 -x 60 -y 350 -w 900 -fn 'Envy Code R-14' -sb '#000000' -nf '#2b4f00' -nb '#cfcfcf' -sf '#ffffff' -b -p 'Foo-WM' | xargs -0 -I INPUT foo-wm-c /tmp/foo-wm.socket INPUT" +"cat /usr/share/foo-wm/config/commands | dmenu -h 40 -x 60 -y 350 -w 900 -fn 'Envy Code R-14' -sb '#91ff00' -nf '#ffffff' -nb '#000000' -sf '#000000' -b -p 'Foo-WM' | xargs -0 -I INPUT foo-wm-c /tmp/foo-wm.socket INPUT" m:0x8 + c:38 Alt + a # Jump on Dmenu -"markselect | dmenu -x 100 -y 400 -w 700 -h 40 -fn 'Envy Code R-12' -sb '#000000' -nf '#2b4f00' -p 'Jump' -nb '#cfcfcf' | xargs -0 -I MARK foo-wm-c '/tmp/foo-wm.socket' 'jump MARK'" +"markselect | dmenu -x 100 -y 400 -w 700 -h 40 -fn 'Envy Code R-12' -sb '#ffc400' -nf '#ffffff' -p 'Jump' -nb '#000000' -sf '#000000' | xargs -0 -I MARK foo-wm-c '/tmp/foo-wm.socket' 'jump MARK'" m:0x8 + c:65 Alt + space @@ -217,3 +217,6 @@ XF86MonBrightnessUp m:0x0 + c:169 XF86Eject +"tabbed" + m:0x8 + c:49 + Alt + grave diff --git a/Scripts/X/fsize b/Scripts/X/fsize @@ -0,0 +1,3 @@ +#!/bin/bash +printf '\33]50;%s%d\007' "xft:EnvyCodeR:pixelsize=" $1 + diff --git a/Scripts/X/mdmenu b/Scripts/X/mdmenu @@ -13,13 +13,13 @@ $dmenuOptions = { # http://github.com/mil/dmenu-q-xywh-xft :h => 40, :x => 5, - :y => 24 , + :y => 360 , :w => 1014, :fn => 'Envy Code R-13', - :sb => '#ffffff', - :sf => '#000000', - :nb => '#cccccc', - :nf => '#000000' + :sb => '#0073bf', + :sf => '#ffffff', + :nb => '#000000', + :nf => '#c4c4c4' } diff --git a/Scripts/X/rangerterm b/Scripts/X/rangerterm @@ -0,0 +1,3 @@ +#!/bin/bash +fsize 14 +ranger diff --git a/Scripts/X/surf-urxvt b/Scripts/X/surf-urxvt @@ -0,0 +1,5 @@ +#!/usr/bin/env ruby +require 'json' +x = %x[foo-wm-c '/tmp/foo-wm.socket' 'get focus'] +puts x +%[urxvt -embed #{x}] diff --git a/Scripts/X/tabbed-surf b/Scripts/X/tabbed-surf @@ -0,0 +1,5 @@ +#!/usr/bin/env ruby +require 'json' +x = %x[foo-wm-c '/tmp/foo-wm.socket' 'get focus'] +id = JSON[x]['id'] +%x[surf -e #{id}] diff --git a/Scripts/X/tabbed-urxvt b/Scripts/X/tabbed-urxvt @@ -0,0 +1,5 @@ +#!/usr/bin/env ruby +require 'json' +x = %x[foo-wm-c '/tmp/foo-wm.socket' 'get focus'] +id = JSON[x]['id'] +%x[urxvt -embed #{id}]