From dca2a55d7e554f79c4466c3098910e947aea0d1c Mon Sep 17 00:00:00 2001 From: rathnor Date: Thu, 9 Sep 2004 15:25:26 +0000 Subject: mod screenshot menu option in fbgm --- ChangeLog | 2 ++ util/fluxbox-generate_menu.in | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2ca9256..93fde91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ (Format: Year/Month/Day) Changes for 0.9.11 *04/09/09: + * tidy+replace qiv with display in screenshot, add jpg option (Han) + fluxbox-generate_menu.in * Added forgotten [macrocmd] to menuitems (Mathias) MenuCreator.cc * Cleanup of code (Mathias) diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in index 666ea35..ae9f34a 100755 --- a/util/fluxbox-generate_menu.in +++ b/util/fluxbox-generate_menu.in @@ -22,7 +22,7 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. # -# $Id: fluxbox-generate_menu.in,v 1.28 2004/08/22 04:29:16 rathnor Exp $ +# $Id: fluxbox-generate_menu.in,v 1.29 2004/09/09 15:25:26 rathnor Exp $ # # Portability notes: @@ -152,7 +152,7 @@ append() { echo >> ${MENUFILENAME} fi else - echo " $*" >> ${MENUFILENAME} + echo " $*" >> ${MENUFILENAME} fi } @@ -1257,7 +1257,8 @@ append_submenu "${FBSETTINGSMENU}" "[exec] (${WINDOWNAME}) {xprop WM_CLASS|cut -d \\\" -f 2|gxmessage -file - -center}" || \ find_it xmessage append \ "[exec] (${WINDOWNAME}) {xprop WM_CLASS|cut -d \\\" -f 2|xmessage -file - -center}" - find_it import append "[exec] (${SCREENSHOT}) {import screenshot.png && qiv -W 50 screenshot.png}" + find_it import append "[exec] (${SCREENSHOT} - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg}" + find_it import append "[exec] (${SCREENSHOT} - PNG) {import screenshot.png && display -resize 50% screenshot.png}" find_it fbrun append "[exec] (${RUNCOMMAND}) {fbrun $FBRUNOPTIONS}" find_it switch append "[exec] (gtk-theme-switch) {switch}" find_it switch2 append "[exec] (gtk2-theme-switch) {switch2}" -- cgit v0.11.2