mirror of https://github.com/nkoehring/configs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.0 KiB
Ruby
51 lines
1.0 KiB
Ruby
12 years ago
|
#
|
||
|
# == Sublets
|
||
|
#
|
||
|
# Sublets are Ruby scripts that provide data for the panel and can be managed
|
||
|
# with the sur script that comes with subtle.
|
||
|
#
|
||
|
# === Example
|
||
|
#
|
||
|
# sur install clock
|
||
|
# sur uninstall clock
|
||
|
# sur list
|
||
|
#
|
||
|
# === Configuration
|
||
|
#
|
||
|
# All sublets have a set of configuration values that can be changed directly
|
||
|
# from the config of subtle.
|
||
|
#
|
||
|
# There are three default properties, that can be be changed for every sublet:
|
||
|
#
|
||
|
# [*interval*] Update interval of the sublet
|
||
|
# [*foreground*] Default foreground color
|
||
|
# [*background*] Default background color
|
||
|
#
|
||
|
# sur can also give a brief overview about properties:
|
||
|
#
|
||
|
# === Example
|
||
|
#
|
||
|
# sur config clock
|
||
|
#
|
||
|
# The syntax of the sublet configuration is similar to other configuration
|
||
|
# options in subtle:
|
||
|
#
|
||
|
# === Example
|
||
|
#
|
||
|
# sublet :clock do
|
||
|
# interval 30
|
||
|
# foreground "#eeeeee"
|
||
|
# background "#000000"
|
||
|
# format_string "%H:%M:%S"
|
||
|
# end
|
||
|
#
|
||
|
# === Link
|
||
|
#
|
||
|
# http://subforge.org/projects/subtle/wiki/Sublets
|
||
|
#
|
||
|
|
||
|
sublet :fuzzytime do
|
||
|
interval 60
|
||
|
locale "de"
|
||
|
end
|