View Single Post
Old 10-29-2013, 12:38 AM   #26
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Post

It occurs to me a general purpose process killer would be helpful.

I have no idea how you are going to package this thing right now so...
I went with the most obvious solution, the killer is packed inside the displayer

"YAD" (latest from svn)

enjoy

can be called like /mnt/us/extensions/yad/usr/bin/process.sh (pictured) from your "swipe script"

or via KUAL.


Spoiler:

EDIT: Okay so I put it back on the dialog layer and added some screen sizing logic to support rotated operation.

there is a BIG grep "OR" line in there to stop anyone killing anything too fundamental

and a sed line:
sed 's/sh -c lipc-send-event com.lab126.system.event ; sh -c /LAUNCHER: /g' to make the launched things "more noticeable" so do please keep your formatting the same for each thing you launch


Attached Thumbnails
Click image for larger version

Name:	screenshot_2013_10_29T04_55_47+0000.png
Views:	177
Size:	16.0 KB
ID:	114146   Click image for larger version

Name:	screenshot_2013_10_29T05_57_53+0000.png
Views:	177
Size:	53.8 KB
ID:	114147   Click image for larger version

Name:	screenshot_2013_10_29T06_57_18+0000.png
Views:	167
Size:	36.6 KB
ID:	114148   Click image for larger version

Name:	screenshot_2013_10_29T05_58_08+0000.png
Views:	160
Size:	34.2 KB
ID:	114149  
Attached Files
File Type: zip Task-Manager-KUAL-yad.zip (581.4 KB, 116 views)

Last edited by twobob; 10-29-2013 at 03:31 AM. Reason: I made it fullscreen... other fixes
twobob is offline   Reply With Quote