=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal-24- configfile=$HOME/fvwm-crystal/$configname; fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal:25: elif [ -f "`dirname ${0}`/../share/fvwm-crystal/fvwm/$configname" ] fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal-26- then fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal:27: configfile="`dirname ${0}`/../share/fvwm-crystal/fvwm/$configname"; fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal-28-fi ############################################## fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu-154- RETVAL="no"; for j in ${FC_ICONEXIST}; do fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu:155: if [[ ! -z "`find ${j}/22x22 -name "$1.png"`" ]] && [[ ! -z "`find ${j}/32x32 -name "$1.png"`" ]] && [[ ! -z "`find ${j}/48x48 -name "$1.png"`" ]] ; then fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu-156- # icons found ############################################## fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu-166- if [ ! -e "$2" ]; then fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu:167: ICONSRCFILE=`find $SYSTEM_ICONDIRS -type f -iname "$2"` fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu-168- else ############################################## fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu-171- if [ -z "$ICONSRCFILE" ]; then fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu:172: ICONSRCFILE=`find $SYSTEM_ICONDIRS -type f -iname "$2.png" -or -iname "$2.xpm" -or -iname "$2.ico" -or -iname "svg" -or -iname "$2.bmp" -or -iname "$2.gif" -or -iname "$2.jpg" -or -iname "$2.pcx" -or -iname "$2.ppm" -or -iname "$2.tga"` fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu-173- fi ############################################## fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu-175- # try to find a suitable icon in the system directories fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu:176: ICONSRCFILE=`find $SYSTEM_ICONDIRS -type f -iname "$1.png" -or -iname "$1.xpm" -or -iname "$1.ico" -or -iname "$1.svg" -or -iname "$2.bmp" -or -iname "$2.gif" -or -iname "$2.jpg" -or -iname "$2.pcx" -or -iname "$2.ppm" -or -iname "$2.tga"` fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu-177- fi ############################################## fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu-1073- rm non_valid_cat.log fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu:1074: DesktopDir=`awk -v ORS="" '!/(#|^$)/{print $0"/* "}' $USERPREFS/DesktopDirs` fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu-1075- echo "Saving the date of the last installed desktop file in ${FVWM_USERDIR}/preferences/DateLastApp" fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu-1076- echo "Reloading the menu..." fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu:1077: echo "SetEnv DateLastApp \"`stat --printf="%y\n" ${DesktopDir} | sort -n -r | head -1`\"" > ${FVWM_USERDIR}/preferences/DateLastApp fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.generate-menu-1078- FvwmCommand 'ReloadRecipe' ############################################## fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.infoline-22-# Free memory (MB) fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.infoline:23:memory_free=`free -m | grep "Mem\:" | awk '{print $4}'` fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.infoline-24- fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.infoline-25-# Free swap (MB) fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.infoline:26:swap_free=`free -m | grep "Swap\:" | awk '{print $4}'` fvwm-crystal-3.4.1+dfsg/bin/fvwm-crystal.infoline-27- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/apps/DesktopIcons-97-+ I AddToMenu $0 fvwm-crystal-3.4.1+dfsg/fvwm/components/apps/DesktopIcons:98:+ I PipeRead 'index=`echo "$0" | sed -e "s:BrowserAction::"`; $[FVWM_SYSTEMDIR]/scripts/DesktopActions "$0" ${index}' fvwm-crystal-3.4.1+dfsg/fvwm/components/apps/DesktopIcons-99- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/apps/Nautilus-18-AddToFunc Wallpaper-Random fvwm-crystal-3.4.1+dfsg/fvwm/components/apps/Nautilus:19:+ I PipeRead "echo Wallpaper-Set `fvwm-crystal.wallpaper $*`" fvwm-crystal-3.4.1+dfsg/fvwm/components/apps/Nautilus-20- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/apps/QuakeConsole-38-# The folowing line imply a horizontal shift, don't know why it is here: fvwm-crystal-3.4.1+dfsg/fvwm/components/apps/QuakeConsole:39:#+ I All (QuakeConsoleNeedsUniqueName) Piperead 'echo Move `expr $[vp.width] / 2 - $[w.width] / 2`p w0' fvwm-crystal-3.4.1+dfsg/fvwm/components/apps/QuakeConsole-40-+ I Style QuakeConsoleNeedsUniqueName FixedPosition ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/apps/ROX-Filer-10-AddToFunc Wallpaper-Random fvwm-crystal-3.4.1+dfsg/fvwm/components/apps/ROX-Filer:11:+ I PipeRead "echo Wallpaper-Set `fvwm-crystal.wallpaper $*`" fvwm-crystal-3.4.1+dfsg/fvwm/components/apps/ROX-Filer-12- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-39-AddToFunc GotoPage-Left fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:40:+ I PipeRead 'test $[page.nx] = 0 && echo "GotoPage `expr $[desk.pagesx] - 1` 0p" || echo "GotoPage -1p 0p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-41- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-43-AddToFunc GotoPage-Right fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:44:+ I PipeRead 'test $[page.nx] = `expr $[desk.pagesx] - 1` && echo "GotoPage 0 0p" || echo "GotoPage +1p 0p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-45- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-47-AddToFunc GotoPage-Up fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:48:+ I PipeRead 'test $[page.ny] = 0 && echo "GotoPage 0p `expr $[desk.pagesy] - 1`" || echo "GotoPage 0p -1p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-49- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-51-AddToFunc GotoPage-Down fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:52:+ I PipeRead 'test $[page.ny] = `expr $[desk.pagesy] - 1` && echo "GotoPage 0p 0" || echo "GotoPage 0p +1p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-53- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-64-AddToFunc MoveToPage-Left fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:65:+ I PipeRead 'test $[page.nx] = 0 && echo "MoveToPage `expr $[desk.pagesx] - 1` 0p" || echo "MoveToPage -1p 0p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-66-+ I Next (CurrentPage, AcceptsFocus, Visible) Focus ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-69-AddToFunc MoveToPage-Right fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:70:+ I PipeRead 'test $[page.nx] = `expr $[desk.pagesx] - 1` && echo "MoveToPage 0 0p" || echo "MoveToPage +1p 0p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-71-+ I Next (CurrentPage, AcceptsFocus, Visible) Focus ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-74-AddToFunc MoveToPage-Up fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:75:+ I PipeRead 'test $[page.ny] = 0 && echo "MoveToPage 0p `expr $[desk.pagesy] - 1`" || echo "MoveToPage 0p -1p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-76-+ I Next (CurrentPage, AcceptsFocus, Visible) Focus ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-79-AddToFunc MoveToPage-Down fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:80:+ I PipeRead 'test $[page.ny] = `expr $[desk.pagesy] - 1` && echo "MoveToPage 0p 0" || echo "MoveToPage 0p +1p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-81-+ I Next (CurrentPage, AcceptsFocus, Visible) Focus ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-93-AddToFunc WarpToPage-Left fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:94:+ I PipeRead 'test $[page.nx] = 0 && echo "MoveToPage `expr $[desk.pagesx] - 1` 0p" || echo "MoveToPage -1p 0p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:95:+ I PipeRead 'test $[page.nx] = 0 && echo "GotoPage `expr $[desk.pagesx] - 1` 0p" || echo "GotoPage -1p 0p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-96- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-98-AddToFunc WarpToPage-Right fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:99:+ I PipeRead 'test $[page.nx] = `expr $[desk.pagesx] - 1` && echo "MoveToPage 0 0p" || echo "MoveToPage +1p 0p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:100:+ I PipeRead 'test $[page.nx] = `expr $[desk.pagesx] - 1` && echo "GotoPage 0 0p" || echo "GotoPage +1p 0p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-101- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-103-AddToFunc WarpToPage-Up fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:104:+ I PipeRead 'test $[page.ny] = 0 && echo "MoveToPage 0p `expr $[desk.pagesy] - 1`" || echo "MoveToPage 0p -1p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:105:+ I PipeRead 'test $[page.ny] = 0 && echo "GotoPage 0p `expr $[desk.pagesy] - 1`" || echo "GotoPage 0p -1p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-106- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-108-AddToFunc WarpToPage-Down fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:109:+ I PipeRead 'test $[page.ny] = `expr $[desk.pagesy] - 1` && echo "MoveToPage 0p 0" || echo "MoveToPage 0p +1p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager:110:+ I PipeRead 'test $[page.ny] = `expr $[desk.pagesy] - 1` && echo "GotoPage 0p 0" || echo "GotoPage 0p +1p"' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Desktop-Pager-111- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Exit-7-AddToFunc KillAutoHibernate fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Exit:8:+ I Piperead 'for i in /tmp/crystal_autohibernate_* ; do kill `echo $i | sed s:/tmp/crystal_autohibernate_::`; done' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Exit-9- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Fullscreen-79- for i in $(ls $[infostore.TmpDirectory]/fullscreen.19.0x?*.$[page.nx].$[page.ny].tmp 2>/dev/null); \ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Fullscreen:80: do file=`echo "${i}"|sed -e \'s:fullscreen.19:fullscreen.20:\'`; \ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Fullscreen-81- if [ -e "${file}" ]; then echo "WindowId $(echo $file | cut -d . -f 3) Disappear-Off"; exit; \ ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Fullscreen-134-AddToFunc RecoverFullscreen fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Fullscreen:135:PipeRead 'for i in $[infostore.TmpDirectory]/fullscreen.19.*; do wid=`basename "$i" | awk --field-separator . \'{print $$3}\'`; echo "+ I WindowId ${wid} Fullscreen-Recover"; done' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Fullscreen:136:PipeRead "for i in $[infostore.TmpDirectory]/fullscreen.20.*; do wid=`basename $i | awk --field-separator . '{print $$3}'`; echo \"+ I WindowId ${wid} Disappear-Recover\"; done" fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Fullscreen-137- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-42-PipeRead 'if [ $[infostore.Mixer] = amixer ] ; then \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer:43: echo "InfoStoreAdd Vol_Step `amixer -c$[infostore.SoundCard] cget numid=$[infostore.SoundDevice]|grep dB|sed -e \\"s:\\(.*step=\\)\\(.*dB\\)\\(.*\\):\\2:\\" -e \\"s:dB::\\"`"; \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-44- else echo "InfoStoreAdd Vol_Step 1.5"; fi' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-45-PipeRead 'if [ $[infostore.Mixer] = amixer ] ; then \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer:46: echo "InfoStoreAdd Vol_StepMax `amixer -c$[infostore.SoundCard] cget numid=$[infostore.SoundDevice]|grep type|sed -e \\"s:\\(.*max=\\)\\(.*,step\\)\\(.*\\):\\2:\\" -e \\"s:,step::\\"`"; fi' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-47- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-50-# Set VolControl: Test if MASTER mixer exist, fallback to PCM fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer:51:PipeRead "if [ $[infostore.Mixer] = aumix ] ; then NVolControl=`aumix -d /dev/mixer$[infostore.SoundCard] -q | grep \'master\\|vol\' -c` ; echo InfoStoreAdd VolControl `if [ $NVolControl = 0 ]; then echo w; else echo v ; fi` ; fi" fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-52- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-56-+ I PipeRead 'if [ $[infostore.Mixer] = amixer ] ; then \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer:57: echo "InfoStoreAdd CurrentVolume `amixer -c $[infostore.SoundCard] cget numid=$[infostore.SoundDevice] | grep \": values\" | sed -e \"s:.*values=::\" -e \"s:,.*::\"`"; \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-58- fi' ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-75-+ I PipeRead 'case $[infostore.Mixer] in \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer:76: amixer) exec amixer -c $[infostore.SoundCard] cset numid=$[infostore.SoundDevice] `echo \"(87-(($[0]*(100/$[infostore.Vol_StepMax]))*$[infostore.Vol_Step]))\"|bc -l` > /dev/null ; \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-77- echo AmixerCurrentVolume ;; \\ ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-91-+ I PipeRead 'case $[infostore.Mixer] in \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer:92: amixer) tmpval=`amixer -c $[infostore.SoundCard] cget numid=$[infostore.SoundDevice] | grep \": values\" | sed -e \"s:.*values=::\" -e \"s:,.*::\"`; \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-93- echo "InfoStoreAdd CurrentVolume $((${tmpval}+1))" ; \\ ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-100- cmus) exec cmus-remote --volume +$[0]% > /dev/null ;; \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer:101: mpd) exec mpc volume +`echo "($[0]*2+0.5)/1" | bc` > /dev/null ;; \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-102- quodlibet) exec quodlibet --volume-up > /dev/null ;; \\ ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-112-+ I PipeRead 'case $[infostore.Mixer] in \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer:113: amixer) tmpval=`amixer -c $[infostore.SoundCard] cget numid=$[infostore.SoundDevice] | grep \": values\" | sed -e \"s:.*values=::\" -e \"s:,.*::\"`; \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-114- echo "InfoStoreAdd CurrentVolume $((${tmpval}-1))" ; \\ ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-121- cmus) exec cmus-remote --volume -$[0]% > /dev/null ;; \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer:122: mpd) exec mpc volume -`echo "($[0]*2+0.5)/1" | bc` > /dev/null ;; \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-123- quodlibet) exec quodlibet --volume-down > /dev/null ;; \\ ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-139-+ I PipeRead 'if [ $[infostore.Mixer] = aumix ]; then \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer:140: if [ $[infostore.MixerMute] = 0 ]; then echo "InfoStoreAdd MixerMute 1"; tmpval=`aumix -d /dev/mixer$[infostore.SoundCard] -'$[infostore.VolControl]'q | sed -e "s:.*, ::"`; echo "InfoStoreAdd CurrentVolume $tmpval"; exec aumix -d /dev/mixer$[infostore.SoundCard] -'$[infostore.VolControl]' 0 > /dev/null; else echo "InfoStoreAdd MixerMute 0"; exec aumix -d /dev/mixer$[infostore.SoundCard] -'$[infostore.VolControl]' $[infostore.CurrentVolume] > /dev/null; fi; fi' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-141-+ I PipeRead 'if [ $[infostore.MusicPlayer] = audacious ]; then \\ ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-171-+ I PipeRead 'if [ $[infostore.Mixer] = aumix ]; then \\ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer:172: if [ $[infostore.MixerMute] = 0 ]; then echo "InfoStoreAdd MixerMute 1"; tmpval=`aumix -d /dev/mixer$[infostore.SoundCard] -'$[infostore.VolControl]'q | sed -e "s:.*, ::"`; echo "InfoStoreAdd CurrentVolume $tmpval"; exec aumix -d /dev/mixer$[infostore.SoundCard] -'$[infostore.VolControl]' 0 > /dev/null; else echo "InfoStoreAdd MixerMute 0"; exec aumix -d /dev/mixer$[infostore.SoundCard] -'$[infostore.VolControl]' $[infostore.CurrentVolume] > /dev/null; fi; fi' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Mixer-173- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayer-212-AddToFunc Music-Speed-Up fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayer:213:+ I PipeRead 'alsaplayer --speed $($[FVWM_SYSTEMDIR]/scripts/speed_value +1comma alsaplayer $[infostore.speed]) > /dev/null; echo InfoStoreAdd speed `$[FVWM_SYSTEMDIR]/scripts/speed_value +1comma alsaplayer $[infostore.speed]`' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayer-214- fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayer-215-AddToFunc Music-Speed-Down fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayer:216:+ I PipeRead 'alsaplayer --speed $($[FVWM_SYSTEMDIR]/scripts/speed_value -1comma alsaplayer $[infostore.speed]) > /dev/null ; echo InfoStoreAdd speed `$[FVWM_SYSTEMDIR]/scripts/speed_value -1comma alsaplayer $[infostore.speed]`' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayer-217- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayer-221-AddToFunc Music-Speed fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayer:222:+ I PipeRead 'alsaplayer --speed $($[FVWM_SYSTEMDIR]/scripts/speed_value $0 alsaplayer $[infostore.speed]) > /dev/null; echo InfoStoreAdd speed `$[FVWM_SYSTEMDIR]/scripts/speed_value $0 alsaplayer $[infostore.speed]`' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayer-223- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayerdaemon-211-AddToFunc Music-Speed-Up fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayerdaemon:212:+ I PipeRead 'alsaplayer --speed $($[FVWM_SYSTEMDIR]/scripts/speed_value +1comma alsaplayer $[infostore.speed]) > /dev/null; echo InfoStoreAdd speed `$[FVWM_SYSTEMDIR]/scripts/speed_value +1comma alsaplayer $[infostore.speed]`' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayerdaemon-213- fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayerdaemon-214-AddToFunc Music-Speed-Down fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayerdaemon:215:+ I PipeRead 'alsaplayer --speed $($[FVWM_SYSTEMDIR]/scripts/speed_value -1comma alsaplayer $[infostore.speed]) > /dev/null ; echo InfoStoreAdd speed `$[FVWM_SYSTEMDIR]/scripts/speed_value -1comma alsaplayer $[infostore.speed]`' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayerdaemon-216- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayerdaemon-220-AddToFunc Music-Speed fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayerdaemon:221:+ I PipeRead 'alsaplayer --speed $($[FVWM_SYSTEMDIR]/scripts/speed_value $0 alsaplayer $[infostore.speed]) > /dev/null; echo InfoStoreAdd speed `$[FVWM_SYSTEMDIR]/scripts/speed_value $0 alsaplayer $[infostore.speed]`' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-alsaplayerdaemon-222- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-audacious-48-*Music-SavePlaylist-Dialog: Command PipeRead 'numero=1; echo "#EXTM3U" > "$[infostore.UserManagedAudioPlaylists]/$(PlaylistName).m3u"; while [ $numero -le `audtool playlist-length` ]; do \ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-audacious:49: echo "#EXTINF:-1,"`audtool playlist-song $numero` >> "$[infostore.UserManagedAudioPlaylists]/$(PlaylistName).m3u"; \ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-audacious-50- audtool playlist-song-filename $numero >> "$[infostore.UserManagedAudioPlaylists]/$(PlaylistName).m3u"; \ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-audacious:51: numero=`expr $numero + 1`; \ fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Music-audacious-52- done' ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-22-AddToFunc Window-Warp-CenterCenter fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad:23:+ I Current Piperead 'echo Window-MPAnimatedMove `expr $[wa.width] / 2 - $[w.width] / 2`p `expr $[wa.height] / 2 - $[w.height] / 2`p' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-24- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-26-AddToFunc Window-Warp-LeftCenter fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad:27:+ I Current Piperead 'echo Window-MPAnimatedMove $[EWMH_BS_Panel_Left]p `expr $[wa.height] / 2 - $[w.height] / 2`p' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-28- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-34-AddToFunc Window-Warp-CenterTop fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad:35:+ I Current Piperead 'echo Window-MPAnimatedMove `expr $[wa.width] / 2 - $[w.width] / 2`p $[EWMH_BS_Panel_Top]p' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-36- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-38-AddToFunc Window-Warp-RightTop fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad:39:+ I Current Piperead 'echo Window-MPAnimatedMove `expr $[wa.width] - $[w.width]`p $[EWMH_BS_Panel_Top]p' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-40- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-42-AddToFunc Window-Warp-RightCenter fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad:43:+ I Current Piperead 'echo Window-MPAnimatedMove `expr $[wa.width] - $[w.width]`p `expr $[wa.height] / 2 - $[w.height] / 2`p' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-44- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-46-AddToFunc Window-Warp-CenterBottom fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad:47:+ I Current Piperead 'echo Window-MPAnimatedMove `expr $[wa.width] / 2 - $[w.width] / 2`p `expr $[vp.height] - $[EWMH_BS_Panel_Bottom] - $[w.height]`p' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-48- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-50-AddToFunc Window-Warp-LeftBottom fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad:51:+ I Current Piperead 'echo Window-MPAnimatedMove $[EWMH_BS_Panel_Left]p `expr $[wa.height] - $[w.height]`p' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-52- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-54-AddToFunc Window-Warp-RightBottom fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad:55:+ I Current Piperead 'echo Window-MPAnimatedMove `expr $[wa.width] - $[w.width]`p `expr $[wa.height] - $[w.height]`p' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Numpad-56- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Preferences-Menu-452-+ I FindCommand NotificationArea-Width $0 2 3 4 5 6 7 8 9 fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Preferences-Menu:453:+ I Piperead `echo SetEnv trayer_width $(($0*24))` fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Preferences-Menu-454-+ I SavePreferences NotificationArea-Width "SetEnv trayer_width $[trayer_width]" ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Preferences-Menu-599-+ I SavePreferences DefaultMixer "InfoStoreAdd Mixer $[infostore.DefaultMixer]" fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Preferences-Menu:600:+ I PipeRead `echo InfoStoreAdd Mixer $[infostore.DefaultMixer]` fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Preferences-Menu-601-+ I Schedule 500 Include components/functions/Mixer ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Preferences-Menu-606-+ I SavePreferences DefaultSoundDevice "InfoStoreAdd SoundDevice '$1'" fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Preferences-Menu:607:+ I PipeRead `echo InfoStoreAdd SoundCard $0` fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Preferences-Menu:608:+ I PipeRead `echo InfoStoreAdd SoundDevice \\'$1\\'` fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Preferences-Menu-609-+ I Schedule 1000 Include components/functions/Mixer ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Screenshot-import-5-+ I Exec exec mkdir -p $[FVWM_USERDIR]/screenshots fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Screenshot-import:6:+ I Exec exec import -window root -quality 100 "$[FVWM_USERDIR]/screenshots/`echo "$[gt.Screenshot]" | sed 's/[\]//g;s/[^[:alnum:]]/_/g'`-`date +%Y%m%d_%H%M%S`.png" fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Screenshot-import-7- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Screenshot-import-10-+ I Exec exec mkdir -p $[FVWM_USERDIR]/screenshots fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Screenshot-import:11:+ I Exec exec import -pause 10 -window root -quality 100 "$[FVWM_USERDIR]/screenshots/`echo "$[gt.Screenshot]" | sed 's/[\]//g;s/[^[:alnum:]]/_/g'`-`date +%Y%m%d_%H%M%S`.png" fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Screenshot-import-12- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Screenshot-import-15-+ I Exec exec mkdir -p $[FVWM_USERDIR]/screenshots fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Screenshot-import:16:+ I All (CurrentPage) Exec exec import -frame -quality 100 "$[FVWM_USERDIR]/screenshots/`echo "$[gt.Screenshot]" | sed 's/[\]//g;s/[^[:alnum:]]/_/g'`-`date +%Y%m%d_%H%M%S`.png" 2>/dev/null fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Screenshot-import-17- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Wallpaper-22-AddToFunc Wallpaper-Random fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Wallpaper:23:+ I PipeRead "echo Wallpaper-Set \\'`fvwm-crystal.wallpaper \"$*\"`\\'" fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Wallpaper-24- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Buttons-174-+ I AddToMenu /Window-Menu-Page "" Nop fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Buttons:175:+ I PipeRead 'for i in `seq 0 $(($[desk.pagesx]-1))` ; do echo "AddToMenu /Window-Menu-Page \'$[gt.Move to page] $(($i+1))\' MoveToPage $i 0" ; done' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Buttons-176- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Buttons-Vertical-171-+ I AddToMenu /Window-Menu-Page "" Nop fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Buttons-Vertical:172:+ I PipeRead 'for i in `seq 0 $(($[desk.pagesy]-1))` ; do echo "AddToMenu /Window-Menu-Page \'$[gt.Move to page] $(($i+1))\' MoveToPage 0 $i" ; done' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Buttons-Vertical-173- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Rearrange-5-+ I All (CurrentPage,!Fvwm*, !gkrellm, !trayer) WindowShade off fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Rearrange:6:+ I Piperead 'echo FvwmRearrange -cascade -animate -noresize -m $[EWMH_BS_Panel_Left]p $[EWMH_BS_Panel_Top]p `expr $[vp.width] - $[EWMH_BS_Panel_Right]`p `expr $[vp.height] - $[EWMH_BS_Panel_Bottom]`p' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Rearrange-7- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Rearrange-10-+ I All (CurrentPage,!Fvwm*, !gkrellm, !trayer) WindowShade on fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Rearrange:11:+ I Piperead 'echo FvwmRearrange -cascade -animate -noresize -m $[EWMH_BS_Panel_Left]p $[EWMH_BS_Panel_Top]p `expr $[vp.width] - $[EWMH_BS_Panel_Right]`p `expr $[vp.height] - $[EWMH_BS_Panel_Bottom]`p' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Rearrange-12- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Rearrange-15-+ I All (CurrentPage,!Fvwm*, !gkrellm, !trayer) WindowShade off fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Rearrange:16:+ I Piperead 'echo FvwmRearrange -tile -animate -resize -mn 1 -m $[EWMH_BS_Panel_Left]p $[EWMH_BS_Panel_Top]p `expr $[vp.width] - $[EWMH_BS_Panel_Right]`p `expr $[vp.height] - $[EWMH_BS_Panel_Bottom]`p' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Rearrange-17- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Rearrange-20-+ I All (CurrentPage,!Fvwm*, !gkrellm, !trayer) WindowShade off fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Rearrange:21:+ I Piperead 'echo FvwmRearrange -tile -animate -resize -mn 2 -m $[EWMH_BS_Panel_Left]p $[EWMH_BS_Panel_Top]p `expr $[vp.width] - $[EWMH_BS_Panel_Right]`p `expr $[vp.height] - $[EWMH_BS_Panel_Bottom]`p' fvwm-crystal-3.4.1+dfsg/fvwm/components/functions/Window-Rearrange-22- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Amiga-156-AddToFunc Get-InfoLine fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Amiga:157:+ I PipeRead `$[FVWM_SYSTEMDIR]/scripts/infoline_amiga` fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Amiga-158-+ I SendToModule FvwmButtons-TopLogo ChangeButton InfoLine Title "$[FVWM_INFOLINE]" ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Amiga-196-### *FvwmButtons-TopLogo: (2x1, Size 22 22, \ fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Amiga:197:### Swallow (Close, Respawn) Display `Exec exec animate $[FVWM_USERDIR]/icons/Default/22x22/fvwm-crystal/dancing-tux.gif &`) fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Amiga-198-## Crystal Variant fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Amiga:199:PipeRead `$[FVWM_SYSTEMDIR]/scripts/infoline_amiga` fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Amiga-200-*FvwmButtons-TopLogo: (1x1, Id "InfoLine", Title (Side) "$[infostore.Your_Id]'s Workbench: $[FVWM_INFOLINE]" Icon "22x22/fvwm-crystal/fvwm-crystal.png", \ ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI-252-*FvwmIconMan-Windows-Left: Title "" fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI:253:PipeRead "echo \*FvwmIconMan-Windows-Left: ButtonGeometry $((($[vp.width]-140)/2))x`if [ $[panel_font_size] -lt 15 ]; then echo 24; else echo $(($[panel_font_size]*2)); fi`" fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI-254-*FvwmIconMan-Windows-Left: ManagerGeometry 1x1+67-3 ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI-301-*FvwmIconMan-Windows-Right: Title "" fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI:302:PipeRead "echo \*FvwmIconMan-Windows-Right: ButtonGeometry $((($[vp.width]-315)/2))x`if [ $[panel_font_size] -lt 15 ]; then echo 24; else echo $(($[panel_font_size]*2)); fi`" fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI-303-*FvwmIconMan-Windows-Right: ManagerGeometry 1x1-155-3 ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI-346-*FvwmButtons-BottomAcpiBatt: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]" fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI:347:PipeRead 'echo "*FvwmButtons-BottomAcpiBatt: (2x1, Size 60 `if [ $[panel_font_size] -lt 15 ]; then echo 24; else echo $(($[panel_font_size]*2)); fi`, Swallow (Close, Respawn, FvwmModule) FvwmScript-AcpiBatt)"' fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI-348- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI-362-*FvwmButtons-BottomCpuTemp: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]" fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI:363:PipeRead 'echo "*FvwmButtons-BottomCpuTemp: (3x1, Size 72 `if [ $[panel_font_size] -lt 15 ]; then echo 24; else echo $(($[panel_font_size]*2)); fi`, Swallow (Close, Respawn, FvwmModule) FvwmScript-CpuTemp)"' fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI-364- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI-378-*FvwmButtons-BottomCpuFreq: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]" fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI:379:PipeRead 'echo "*FvwmButtons-BottomCpuFreq: (3x1, Size 72 `if [ $[panel_font_size] -lt 15 ]; then echo 24; else echo $(($[panel_font_size]*2)); fi`, Swallow (Close, Respawn, FvwmModule) FvwmScript-CpuFreq)"' fvwm-crystal-3.4.1+dfsg/fvwm/recipes/Default with ACPI-380- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-12-# The control's name: fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl:13:CName=`amixer -c $1 cget numid="$2"|grep numid|sed -e "s:.*name='::" -e "s:'::"` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-14-# The hardware maximum step (and volume): fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl:15:CStepMax=`amixer -c $1 cget numid="$2"|grep type|sed -e "s:.*max=::" -e "s:,step.*::"` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-16-# The hardware minimum step: fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl:17:CStepMin=`amixer -c $1 cget numid="$2"|grep type|sed -e "s:.*min=::" -e "s:,max.*::"` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-18-# The minimum level of the volume: fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl:19:CVolMin=`amixer -c $1 cget numid="$2"|grep dBscale|sed -e "s:.*dBscale-min=::" -e "s:dB.*::"` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-20-# The hardware step level: fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl:21:CStepLevel=`amixer -c $1 cget numid="$2"|grep dBscale|sed -e "s:.*step=::" -e "s:dB.*::"` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-22- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-28-# Initialise the menu fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl:29:CMenuStep=`echo $(( $CStepMax / $MenuStepMax ))` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-30-if [ ${CMenuStep} -lt 1 ] ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-32-fi fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl:33:VolMax=`echo "${CVolMin} + (${CStepLevel} * ${CStepMax})"|bc -l` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-34- fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-35-# Where is the 0dB fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl:36:AbsVolMin=`echo "a=$CVolMin/1;if(0>a)a*=-1;a"|bc -l` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl:37:Step0dB=`echo "$AbsVolMin/$CStepLevel"|bc` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-38- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-43-for (( x=${CStepMax} ; x >= ${CStepMin} ; x -= ${CMenuStep} )) ; do fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl:44: npas=`echo $(( ${CStepMax} - ${x} ))` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl:45: ndB=`echo "${VolMax} - ( ${npas} * ${CStepLevel} )"|bc -l` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerControl-46- # be sure to show the 0dB step ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerCurrentdBVolume-8-# The hardware current volume step: fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerCurrentdBVolume:9:CurrentVol=`amixer -c $1 cget numid="$2"|grep ": values"|sed -e "s:.*values=::" -e "s:,.*::"` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerCurrentdBVolume-10-# The minimum level of the volume: fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerCurrentdBVolume:11:CVolMin=`amixer -c $1 cget numid="$2"|grep dBscale|sed -e "s:.*dBscale-min=::" -e "s:dB.*::"` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerCurrentdBVolume-12-# The hardware step level: fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerCurrentdBVolume:13:CStepLevel=`amixer -c $1 cget numid="$2"|grep dBscale|sed -e "s:.*step=::" -e "s:dB.*::"` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerCurrentdBVolume-14-# 14 13 7 fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerCurrentdBVolume-15- fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerCurrentdBVolume:16:ndB=`echo "${CVolMin} + ( ${CurrentVol} * ${CStepLevel} )"|bc -l|awk '{printf "%.2f\n", $0}'` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/AmixerCurrentdBVolume-17-echo "InfoStoreAdd CurrentdBVolume ${ndB}" ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/CheckMenuDate-3- fvwm-crystal-3.4.1+dfsg/fvwm/scripts/CheckMenuDate:4:DesktopDir=`awk -v ORS="" '!/(#|^$)/{print $0"/* "}' ${FVWM_USERDIR}/preferences/DesktopDirs` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/CheckMenuDate-5-#echo "$DesktopDir" ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/CheckMenuDate-7- fvwm-crystal-3.4.1+dfsg/fvwm/scripts/CheckMenuDate:8:if [ "${DateLastApp}" != "`stat --printf="%y\n" ${DesktopDir} | sort -n -r | head -1`" ] fvwm-crystal-3.4.1+dfsg/fvwm/scripts/CheckMenuDate-9-then echo "A fvwm-crystal.generate-menu ${FVWM_SYSTEMDIR} ${FVWM_USERDIR}" ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/FvwmMPD/getdir.sh-2-if [ $2 = '..' ]; then fvwm-crystal-3.4.1+dfsg/fvwm/scripts/FvwmMPD/getdir.sh:3: `dirname $0`/getprevdir.py "${1}" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/FvwmMPD/getdir.sh-4-else fvwm-crystal-3.4.1+dfsg/fvwm/scripts/FvwmMPD/getdir.sh:5: echo "`mpc ls "$1"|head -n$2|tail -n1`" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/FvwmMPD/getdir.sh-6-fi ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/FvwmMPD/listsongs.sh-3- mpc ls "$1"|grep -o -e ".*.mp3\|.*.ogg\|.*.flac"| while read line; do fvwm-crystal-3.4.1+dfsg/fvwm/scripts/FvwmMPD/listsongs.sh:4: `dirname $0`/stripnames.py "${line}" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/FvwmMPD/listsongs.sh-5- done ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/convert_preferences-3- fvwm-crystal-3.4.1+dfsg/fvwm/scripts/convert_preferences:4:FC_VERSION=`grep Version "${FVWM_SYSTEMDIR}"/components/functions/About | sed -e 's/*About: Text "\$\[gt.Version\]: \([0-9.]\+\)"/\1/'` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/convert_preferences-5- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/convert_preferences-20-then convert_preferences fvwm-crystal-3.4.1+dfsg/fvwm/scripts/convert_preferences:21:else C_VERSION=`cat "${FVWM_USERDIR}"/Version` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/convert_preferences-22- if [ "${C_VERSION}" != "{FC_VERSION}" ] ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/desktop_manager-20- then gawk '/^\/.*|^simple-mtpfs.*\// { print $2; }' </proc/mounts |sort > ${7} fvwm-crystal-3.4.1+dfsg/fvwm/scripts/desktop_manager:21: IconNumber="$((${IconNumber}+`wc -l < ${7}`))" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/desktop_manager:22: IconNumber="$((${IconNumber}+`wc -l < ${HOME}/.fvwm-crystal/preferences/ShowDirectories`))" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/desktop_manager-23-fi ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm-5-# next free $DISPLAY, needed for nested wm in nested wm :) fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm:6:XephyrDisplay=$((`echo $DISPLAY|cut -d: -f2|cut -d. -f1`+1)) fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm-7-# nested session dimension; you can change it fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm:8:#XephyrWidth=$((`echo $(($1-200))`)) fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm:9:#XephyrHeight=$((`echo $(($2-100))`)) fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm-10-XephyrWidth=$1 ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm-12- fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm:13:EXECWM=`grep Exec $3 | grep -v Try | sed -e 's:Exec=::'` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm-14- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm-16-# launch Xephyr fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm:17:Xephyr -ac -reset -nolisten tcp -title `basename $EXECWM` -screen "$XephyrWidth"x"$XephyrHeight" :$XephyrDisplay & fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm:18:XEPHYR_PID=`echo $!` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm-19- ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm-25-# We dont want the fvwm and fvwm-themes files to be mixed with fvwm-crystal fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm:26:ENVWM=`basename $EXECWM` fvwm-crystal-3.4.1+dfsg/fvwm/scripts/launchwm-27-if [ "$ENVWM" = "fvwm-themes-start" ] ; then ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-73- # variable with the first character of the sub-path fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists:74: subdir="${AudioPlaylists}/`pwd| sed -e "s,$1,,"| sed -e 's,/,,'|sed -e 's,/,_,g'|sed -e 's,\(.\).*,\1,'`" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-75- # Check for main path. Needed because mplayer need a name before ".m3u". And also for this script when multiple calls. ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-77- if [[ "$1" == `pwd` ]]; then fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists:78: echo -n "" >> "${AudioPlaylists}/`echo \"$1\"| sed -e 's,/,,'| sed -e \"s,',_,g\"| sed -e 's,[/"\*\^?\$],_,g'`.m3u" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-79- else ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-81- mkdir -p ${subdir} fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists:82: echo -n "" >> "${subdir}/`pwd| sed -e \"s,$1,,\"| sed -e 's,/,,'| sed -e \"s,',_,g\"|sed -e 's,[/"\*\^?\$],_,g'`".m3u fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-83- fi ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-86- if [[ "$1" == `pwd` ]]; then fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists:87: echo "$(pwd)${line}" >> "${AudioPlaylists}/`echo \"$1\"| sed -e 's,/,,'| sed -e \"s,',_,g\"| sed -e 's,[/"\*\^?\$],_,g'`.m3u" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-88- else fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists:89: echo "$(pwd)${line}" >> "${subdir}/`pwd| sed -e \"s,$1,,\"|sed -e 's,/,,'| sed -e \"s,',_,g\"| sed -e 's,[/"\*\^?\$],_,g'`".m3u fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-90- fi ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-101- if [[ "$1" == `pwd` ]]; then fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists:102: echo -n "" >> "${VideoPlaylists}/`echo \"$1\"| sed -e 's,/,,'| sed -e \"s,',_,g\"| sed -e 's,[/"\*\^?\$],_,g'`.m3u" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-103- else fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists:104: echo -n "" >> "${VideoPlaylists}/`pwd| sed -e \"s,$1,,\"| sed -e 's,/,,'| sed -e \"s,',_,g\"| sed -e 's,[/"\*\^?\$],_,g'`".m3u fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-105- fi ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-108- if [[ "$1" == `pwd` ]]; then fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists:109: echo "$(pwd)${line}" >> "${VideoPlaylists}/`echo \"$1\"| sed -e 's,/,,'| sed -e \"s,',_,g\"| sed -e 's,[/"\*\^?\$],_,g'`.m3u" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-110- else fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists:111: echo "$(pwd)${line}" >> "${VideoPlaylists}/`pwd| sed -e \"s,$1,,\"| sed -e 's,/,,'| sed -e \"s,',_,g\"| sed -e 's,[/"\*\^?\$],_,g'`".m3u fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-112- fi ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-163-echo "Usage:" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists:164:echo " `basename $0` <>audio_playlist_path> <video_playlists_path>" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-165-echo "" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists:166:echo "Copyright: This software, `basename $0`, is copyrighted software that is licensed under the GPLv3 or later." fvwm-crystal-3.4.1+dfsg/fvwm/scripts/make_all_playlists-167-exit 65 ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories-18- audio*) fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories:19: Audio="${Audio} \"`echo "$1 "|cut -d " " -f 2`\"*) myexec=\"${fvwm_video_exec}\";; " fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories:20: BrowseAudio="${BrowseVideo} + '%22x22/categories/video_movies_view.png%\$[gt.Browse Music]' Popup `echo "$1 "|cut -d " " -f 2` \\n" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories-21- ;; fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories-22- video*) fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories:23: Video="${Video} \"`echo "$1 "|cut -d " " -f 2`\"*) myexec=\"${fvwm_video_exec}\";; " fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories:24: BrowseVideo="${BrowseVideo} + '%22x22/categories/video_movies_view.png%\$[gt.Browse Medias]' Popup `echo "$1 "|cut -d " " -f 2` \\n" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories-25- ;; fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories-26- cdrom*) fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories:27: CDrom="${CDrom} \"`echo "$1 "|cut -d " " -f 2`\"*) myexec=\"${fvwm_video_exec}\";; " fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories:28: BrowseCDrom="${BrowseCDrom} + '%22x22/categories/video_movies_view.png%\$[gt.Browse CDROM]' Popup `echo "$1 "|cut -d " " -f 2` \\n" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories-29- ;; fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories-30- dvd*) fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories:31: DVD="${DVD} \"`echo "$1 "|cut -d " " -f 2`\"*) myexec=\"${fvwm_video_exec}\";; " fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories:32: BrowseDVD="${BrowseDVD} + '%22x22/categories/video_movies_view.png%\$[gt.Browse DVD]' Popup `echo "$1 "|cut -d " " -f 2` \\n" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/media_directories-33- ;; ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/set_DesktopIconsGeom-19-IconNumber=0 fvwm-crystal-3.4.1+dfsg/fvwm/scripts/set_DesktopIconsGeom:20:if [[ "`cat ${FVWM_USERDIR}/preferences/DefaultDesktopManager | grep components/apps/DesktopIcons`" != "" ]] fvwm-crystal-3.4.1+dfsg/fvwm/scripts/set_DesktopIconsGeom-21-then ############################################## fvwm-crystal-3.4.1+dfsg/fvwm/scripts/set_DesktopIconsGeom-25- then gawk '/^\/.*|^simple-mtpfs.*\// { print $2; }' </proc/mounts |sort > ${tmpdrivefile} fvwm-crystal-3.4.1+dfsg/fvwm/scripts/set_DesktopIconsGeom:26: IconNumber="$((${IconNumber}+`wc -l < ${tmpdrivefile}`))" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/set_DesktopIconsGeom:27: IconNumber="$((${IconNumber}+`wc -l < ${HOME}/.fvwm-crystal/preferences/ShowDirectories`))" fvwm-crystal-3.4.1+dfsg/fvwm/scripts/set_DesktopIconsGeom-28- fi ############################################## fvwm-crystal-3.4.1+dfsg/debian/postinst-22- fi fvwm-crystal-3.4.1+dfsg/debian/postinst:23: for file in `find ${FC_ICONBASE}/${size}/debianmenu/ -name "*.png"`; do fvwm-crystal-3.4.1+dfsg/debian/postinst:24: rm -f -- "`readlink "${file}"`" fvwm-crystal-3.4.1+dfsg/debian/postinst-25- rm -f -- "${file}"