The twolamerc file - ParanoidNemo/twolame GitHub Wiki

Structure

The twolamerc file need a specific structure in order to work. Don't change the name of the sections or it will stop working correctly, only modify the entries below section title if you want to change the default behavior.

twolame section

The twolame section [twolame] contains the starting entry of the entire script. If you want to start only some specific thread you have to change the default values.

  • 0 = thread off
  • 1 = thread on

You can also find here a css file entry. It better not touch that, it's a experimental features and doesn't really works right now.

[twolame]

start_mail = 1
start_fs = 1
start_update = 1
start_music = 1

css_file = twolame.css

filesystem section

The filesystem section [fs] control the filesystem applet. You could find the number of the mount points monitored and the mount point itself. You could monitoring up to 5 different mount points but you have to update the mnt_num entry accordingly to the number of mount points you have set up under it. Please leave the unsued entries commented. The update_period entry is mandatory and it set the refresh time in seconds.

[fs]

update_period = 600

mnt_num = 2
mount_point0 = /
mount_point1 = ~
#mount_point2 =
#mount_point3 =
#mount_point4 =

email section

The email section [mail] contains the entries to control the email applets. The possible entries are:

  • update_period = int (measure the refresh time for the applet in seconds)
  • security = imap/pop (set the type of security your mail server use, RIGHT NOW ONLY IMAP WORKS)
  • server = server (the name of your email server)
  • user = user@mail (your complete email adress)
  • password = password (the password of your account; mandatory if you use 'plain = True', leave blank if 'plain = False')
  • plain = bool (If True use non secure password take from the password entry, if False use python-keyring to retrive the account password)
  • service = wallet name (the name you have used to store the password with python-keyring. Leave blank if you are using 'plain = True')

I'll add POP and multiple account features eventually

[mail]

update_period = 600
security = imap
server = imap.gmail.com
user =
password =
plain = False
service = gmail

update section

The update section [update] only controls the refresh time (in seconds) for the update applet

[update]

update_period = 600

music section

The music section [music] control the update period (in seconds) for the music applet. In it you can also set the mpd port, if you're using one different from the defaul and the path where your cover are stored locally, if you have someone.

[music]

update_period = 5
port = 6600
cover_path = ~/music