> It seems that these should be the other way around, though.
> Usually class beings with a capital letter and instance not.
>
> --
> Tuomo
>
Thanks for replying!
Yeah, your're right. But changing it does not have any effect whatsoever.
Also, I've played around with my statusbar, and it does aply the template I
define, reads my $MAIL but does not use my date format or the other
mailboxes.(Puts just ? in the statusbar)
In addition, autoprop works just fine by every defwinprop I define is
completely ignored.
My .xsession-errors contains: /usr/bin/ion3: No encoding given in LC_CTYPE
Maybe, you make some more of it than me ?
Thanks and best regards, Renee!
--
-- Ion statusbar module configuration file
--
-- Create a statusbar
mod_statusbar.create{
-- First screen, bottom left corner
screen=0,
pos='bl',
fullsize=false,
systray=true,
-- Template. Tokens %string are replaced with the value of the
-- corresponding meter. Currently supported meters are:
-- date date
-- load load average (1min, 5min, 15min)
-- load_Nmin N minute load average (N=1, 5, 15)
-- mail_new mail count (mbox format file $MAIL)
-- mail_unread mail count
-- mail_total mail count
-- mail_*_new mail count (from an alternate mail folder, see below)
-- mail_*_unread mail count
-- mail_*_total mail count
--
-- Space preceded by % adds stretchable space for alignment of variable
-- meter value widths. > before meter name aligns right using this
-- stretchable space , < left, and | centers.
-- Meter values may be zero-padded to a width preceding the meter name.
-- These alignment and padding specifiers and the meter name may be
-- enclosed in braces {}.
--
-- %filler causes things on the marker's sides to be aligned left and
-- right, respectively, and %systray is a placeholder for system tray
-- windows and icons.
template="[ %date - IN: %>mail_new/%>mail_total, deb:%>mail_deb_new,
ion:%>mail_ion_new - %>cpufreq_M MHz -
playing(%>mocp_currenttime/%>mocp_totaltime): %>mocp_title ] %filler%systray",
--template="[ %date || load: %05load_1min || mail:
%02mail_new/%02mail_total ] %filler%systray",
}
-- Launch ion-statusd. This must be done after creating any statusbars
-- for necessary modules to be parsed from the templates.
mod_statusbar.launch_statusd{
-- Date meter
--[[
date={
-- ISO-8601 date format with additional abbreviated day name
-- date_format='%a %Y-%m-%d %H:%M',
-- Finnish etc. date format
date_format='%a %d.%m.%Y %H:%M',
-- Locale date format (usually shows seconds, which would
require
-- updating rather often and can be distracting)
-- date_format='%c',
-- Additional date formats.
--[[
formats={
time = '%H:%M', -- %date_time
}
--]]
},
--]]
-- Load meter
--[[
load={
update_interval=10*1000,
important_threshold=1.5,
critical_threshold=4.0
},
--]]
-- Mail meter
--
-- To monitor more mbox files, add them to the files table. For
-- example, add mail_work_new and mail_junk_new to the template
-- above, and define them in the files table:
--
-- files = { work = "/path/to/work_email", junk = "/path/to/junk" }
--
-- Don't use the keyword 'spool' as it's reserved for mbox.
--[[
mail={
update_interval=60*1000,
mbox=os.getenv("MAIL"),
files={ deb = "/home/renee/Mail/debian-user", ion =
"/home/renee/Mail/ion-general" }
},
--]]
}
--
"The major difference between a thing that might go wrong and a thing that
cannot possibly go wrong is that when a thing that cannot possibly go wrong
goes wrong it usually turns out to be impossible to get at or repair."
Douglas Adams, Mostly Harmless