diff options
author | rathnor <rathnor> | 2004-09-09 15:25:26 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-09-09 15:25:26 (GMT) |
commit | dca2a55d7e554f79c4466c3098910e947aea0d1c (patch) | |
tree | fecd7ad6cfbe3760b0b1ba60023f391e017a5d01 | |
parent | 28359eadfd34be2fdcb9f406de29458a680e64e7 (diff) | |
download | fluxbox-dca2a55d7e554f79c4466c3098910e947aea0d1c.zip fluxbox-dca2a55d7e554f79c4466c3098910e947aea0d1c.tar.bz2 |
mod screenshot menu option in fbgm
-rw-r--r-- | ChangeLog | 2 | ||||
-rwxr-xr-x | util/fluxbox-generate_menu.in | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -1,6 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.11 | 2 | Changes for 0.9.11 |
3 | *04/09/09: | 3 | *04/09/09: |
4 | * tidy+replace qiv with display in screenshot, add jpg option (Han) | ||
5 | fluxbox-generate_menu.in | ||
4 | * Added forgotten [macrocmd] to menuitems (Mathias) | 6 | * Added forgotten [macrocmd] to menuitems (Mathias) |
5 | MenuCreator.cc | 7 | MenuCreator.cc |
6 | * Cleanup of code (Mathias) | 8 | * 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 @@ | |||
22 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | # DEALINGS IN THE SOFTWARE. | 23 | # DEALINGS IN THE SOFTWARE. |
24 | # | 24 | # |
25 | # $Id: fluxbox-generate_menu.in,v 1.28 2004/08/22 04:29:16 rathnor Exp $ | 25 | # $Id: fluxbox-generate_menu.in,v 1.29 2004/09/09 15:25:26 rathnor Exp $ |
26 | 26 | ||
27 | # | 27 | # |
28 | # Portability notes: | 28 | # Portability notes: |
@@ -152,7 +152,7 @@ append() { | |||
152 | echo >> ${MENUFILENAME} | 152 | echo >> ${MENUFILENAME} |
153 | fi | 153 | fi |
154 | else | 154 | else |
155 | echo " $*" >> ${MENUFILENAME} | 155 | echo " $*" >> ${MENUFILENAME} |
156 | fi | 156 | fi |
157 | } | 157 | } |
158 | 158 | ||
@@ -1257,7 +1257,8 @@ append_submenu "${FBSETTINGSMENU}" | |||
1257 | "[exec] (${WINDOWNAME}) {xprop WM_CLASS|cut -d \\\" -f 2|gxmessage -file - -center}" || \ | 1257 | "[exec] (${WINDOWNAME}) {xprop WM_CLASS|cut -d \\\" -f 2|gxmessage -file - -center}" || \ |
1258 | find_it xmessage append \ | 1258 | find_it xmessage append \ |
1259 | "[exec] (${WINDOWNAME}) {xprop WM_CLASS|cut -d \\\" -f 2|xmessage -file - -center}" | 1259 | "[exec] (${WINDOWNAME}) {xprop WM_CLASS|cut -d \\\" -f 2|xmessage -file - -center}" |
1260 | find_it import append "[exec] (${SCREENSHOT}) {import screenshot.png && qiv -W 50 screenshot.png}" | 1260 | find_it import append "[exec] (${SCREENSHOT} - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg}" |
1261 | find_it import append "[exec] (${SCREENSHOT} - PNG) {import screenshot.png && display -resize 50% screenshot.png}" | ||
1261 | find_it fbrun append "[exec] (${RUNCOMMAND}) {fbrun $FBRUNOPTIONS}" | 1262 | find_it fbrun append "[exec] (${RUNCOMMAND}) {fbrun $FBRUNOPTIONS}" |
1262 | find_it switch append "[exec] (gtk-theme-switch) {switch}" | 1263 | find_it switch append "[exec] (gtk-theme-switch) {switch}" |
1263 | find_it switch2 append "[exec] (gtk2-theme-switch) {switch2}" | 1264 | find_it switch2 append "[exec] (gtk2-theme-switch) {switch2}" |