wmiirc-rumai

git clone git://oldgit.suckless.org/wmiirc-rumai/
Log | Files | Refs | README | LICENSE

commit f9c30d89f26b7406ecc704f8b9149eb8d6f0b6be
parent ec34f95871213f8b941082724c72652bfdc43849
Author: wabu <waeber@inf.fu-berlin.de>
Date:   Mon, 11 May 2009 20:09:44 +0200

use wimenu instead of dmenu in key_menu()

Diffstat:
config.rb | 12+-----------
1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/config.rb b/config.rb @@ -81,17 +81,7 @@ end # Instruction on what the user should enter or choose. # def key_menu choices, prompt = nil - words = %w[dmenu -b -fn].push(CONFIG['display']['font']) - - words.concat %w[-nf -nb -sf -sb].zip( - [ - CONFIG['display']['color']['normal'], - CONFIG['display']['color']['focus'], - - ].map {|c| c.to_s.split[0,2] }.flatten - - ).flatten - + words = %w[wimenu] words.push '-p', prompt if prompt command = shell_join(words)