def getActions(): return [ Action(volup, cond=appOnTop("camera-ui"), action=cmd("xresponse -d 820x240,820x240 -w 1")), Action(volup, cond=screenLocked, action=cmd( "killall mplayer || " + "find ~/MyDocs/Music -iname *.mp3 -print0 | " + "xargs -0 mplayer")) ])