Search This Blog

Sunday 21 February 2016

fbpanel clock setup with date time and color

fbpanel clock setup

I wanted my fbpanel clock to show the time in 24 hour format and current date and the colour  (color) for the Americanised to green.



The system wide config on my system is

 /usr/share/fbpanel/default


 The user configuration files is

 .config/fbpanel/default

I switched from dclock to tclock




#Plugin {
#    type = dclock
#    config {
#        ShowSeconds = true
#        HoursView = 24
#        TooltipFmt = %c %x
#    TextSize = small   
#        TextColor = green
#        Color = green
#    }
#}


Plugin {
    type = tclock
    config {
        # 2 line view, time in bold above and date below
    ClockFmt = <span font="Sans 8" color="green">%T%P&#xA;%D</span>
        TooltipFmt = %c %x
        #Action = xmessage Please define some command
        ShowCalendar = true
        ShowTooltip = true
    }
}