Works like a charm... thanks
i created a .sh script and the content is :
Code:
cat /proc/sys/vm/laptop_mode && sleep 5
quit
then i made a custom application launcher and choose the .sh script as command...
now it works as i wanted...nice
now i want to modify the output if possible, help me with this if you can...
when i run the script, the output is always a number, i want to do it like, if the number is zero then "OFF" should be printed to the terminal, if its any number other than 0 then it should print "ON"... i'll play around with it to see if i can achieve it myself, but if you have ideas, I'd be happy to know them
thanks
Bookmarks