Ascp

From AfterWiki
Revision as of 10:01, 4 November 2008 by Born2late (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

for now a single page... (feel free to polute aerea)

AfterStep desklets and other stuff


Themes/Desktop/etc... TODO:

  • make desklets use less ressources
  • solve xrandr problems with rotating displays
  • make full use of desktop menu spec in wharf to ease theming
  • find a solution for ~/Desktop icons through use of inotify and dynamically generated wharf configs

-> 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


wharf_editor : suggested to pop up at a right click on any wharf button (info context sensitive)

Wharf config general.png Wharf config this button.png

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