View Single Post
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#1354
Hmm, it is so simple...

Make Billboard.sh and place it into MyDocs (for example)
Code:
#!/bin/sh
#call Billboard.sh color
gconftool -s -t str /apps/billboard/color $1
$1 - color you need, available colours are



Then go to ProfileMatic, choose rule you need, set time and days, then go into More - Actions - Custom Action.



When rule activates (for example):

Code:
sh /home/user/MyDocs/Billboard.sh blue
When rule deactivates (for example):

Code:
sh /home/user/MyDocs/Billboard.sh red
Then click Test to check result. Probably by this way we can change text aligment, text size, text font - I didn't test it. Just make script you need and test it
 

The Following 6 Users Say Thank You to Ancelad For This Useful Post: