dmenium

Unnamed repository; edit this file 'description' to name the repository.
git clone git://edryd.org/dmenium
Log | Files | Refs | LICENSE

commit 3bc3af9e5173d85f327ee60b53fa884402ad708b
parent bad221e45d58fa305881d8595e1816e94266c887
Author: Ed van Bruggen <edvb54@gmail.com>
Date:   Thu,  4 Feb 2016 19:15:09 -0800

Add dmenu-prog++.sh

Diffstat:
dmenu-prog++.sh | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/dmenu-prog++.sh b/dmenu-prog++.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +padding=100 + +read screenw screenh <<<$(xdpyinfo | awk -F'[ x]+' '/dimensions:/{print $3, $4}') + +let "bar_width = screenw/2 - (padding * 2)" +let "height = screenh/2 - (padding * 2)" + +dmenu_run -x $padding -y $height -w $bar_width -p ">>>" -l 10