GitHub PushEvent at 2014-11-09 13:26:06
Repository: P5-IdleRunner
Actor: firefish5000
Payload: {"shas":[["c5e3ab3eac9f10843080a6862c20cd5b34c8d3eb","e49e407b059306d4b2c25cb5aa2b37dc1c03d37e@gmail.com","Imported changes from example/IdleScriptv2.pl\n\nWill start working on making it OO in next commit.","Jhon Smith",true],["e970a4a4f57d09198ec31d0fd3389865ccc1db7c","e49e407b059306d4b2c25cb5aa2b37dc1c03d37e@gmail.com","DSeems to be working! Updated example and module.\n\nVarious changes. Now uses OOP.\nVarious minor problems still exist. Debuging for instance is enabled\nwith no means of turning it off.\nNext one should include a Warning Event, which will inform us x sec (set\nby Route{WarnTime}, before we take a route. This will work by setting\ntimedflags after rules have run. I may also add a Order enforcer which\nwill alow you to specif the order Routes should be taken. While I am at\nit, I may add a similar thing to rules.. Though im not positive there is\na good reason to ensure rules run in a certain order (if they are\ninterdependent, they should be in the same rule. if it needs to run\nafter all the rules, it is logicaly different from what I envisioned\nrules to be. of coarse you are free to deviate from the example and do\nas you please)\nI plane to add a Manager for this, so that you may add/remove rules,\npause it, change IdleTime/how long to wait, etc. without stopping the\ndaemon.\nThe example script features the following.\nTemporary flagging/disabling of screensaver/Suspend/etc when\n    VideoPlayers(vlc/mpv/mplayer/mplayer2/totem) are running. (1hr30m)\n    Builds(emerge/make/emake/gcc/g++) are running (1hr30m)\n    Remote(ssh) activity is detected (6hr)","Jhon Smith",true]],"size":2,"ref":"refs/heads/Development","head":"e970a4a4f57d09198ec31d0fd3389865ccc1db7c"}