Difference between revisions of "Ascp"
From AfterWiki
Jump to navigationJump to search (New page: for now a single page... (feel free to polute aerea) wharf_editor : suggested to pop up at a right click on any wharf button (info context sensitive) Image:wharf_config_general.png [...) |
(No difference)
|
Revision as of 12:09, 25 January 2008
for now a single page... (feel free to polute aerea)
wharf_editor : suggested to pop up at a right click on any wharf button (info context sensitive)
mystyle editor :
Vaevictus´ suggestions:
- left justify style,font, and the draw text background checkbox along the same line.
- move the backcolor and forecolor to be right justified or
whatever, so there's a bit more space between it and the draw text background box
AfterStep desklets
-> simple combination of shellscript(sed, awk, dependencies should be kept low though) and ascompose -f - -I (using a simple pipe)
example : feel free to complete the scripts, they re really just a proof of concept
- sysinfo : for now displays cpu name and the temperature
#!/bin/bash
while true
do
echo "<composite align=center valign=center >"
echo "<solid width=\"400\" height=\"300\" color=\"#00000000\" />"
echo "<set var=\"my_y\" val=\"0\" />"
cal | sed '/[0-9A-Za-z]/s!.*!<text font=DefaultBoldOblique.ttf fgcolor=#FFFFFF align=center y=$my_y point=24>&</text><set var="my_y" val="$my_y + 32" />!'
echo "</composite>"
sleep 5
- calendar : simple calendar
#!/bin/bash
while true
do
echo "<composite align=center valign=center >"
echo "<solid width=\"400\" height=\"300\" color=\"#00000000\" />"
echo "<set var=\"my_y\" val=\"0\" />"
cal | sed '/[0-9A-Za-z]/s!.*!<text font=DefaultBoldOblique.ttf fgcolor=#FFFFFF align=center y=$my_y point=24>&</text><set var="my_y" val="$my_y + 32" />!'
echo "</composite>"
sleep 60

