commit c6291267c27b6faad238e533eaf0d619eb3a836d parent f75f613f1d674f4257f970f6d40eb83f40163f00 Author: Ed van Bruggen <edvb54@gmail.com> Date: Thu, 3 Nov 2016 22:07:40 -0700 Remove prog++.sh and add $@ to prog.sh Diffstat:
prog++.sh | | | 11 | ----------- |
prog.sh | | | 3 | ++- |
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/prog++.sh b/prog++.sh @@ -1,11 +0,0 @@ -#!/bin/bash - -padding=100 - -screenw=$(xrandr | fgrep '*' | sed s/x/\ / | awk '{print $1}' | tail -1) -screenh=$(xrandr | fgrep '*' | sed s/x/\ / | awk '{print $2}' | tail -1) - -let "bar_width = screenw - (padding * 2)" -let "height = screenh/2 - (padding * 2)" - -dmenu_run -x $padding -y $height -w $bar_width -p ">>>" -l 10 diff --git a/prog.sh b/prog.sh @@ -1,2 +1,3 @@ #!/usr/bin/env bash -dmenu_path | dmenu | ${SHELL:-"/bin/sh"} + +dmenu_path | dmenu $@ | ${SHELL:-"/bin/sh"}