Changeset 15248 in project


Ignore:
Timestamp:
07/25/09 13:53:53 (10 years ago)
Author:
sjamaan
Message:

Get rid of silly uptime command, and use builtin seconds->string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/wmiirc snippets

    r15247 r15248  
    5858     (wmii:write-tab
    5959       "rbar" "status"
    60        (conc charge "% | "
    61              (with-input-from-pipe "echo -n $(uptime | sed 's/.*://; s/,//g') '|' $(date)" read-string)))
     60       (conc charge "% | " (seconds->string (current-seconds))))
    6261     (when (<= charge 5)
    6362       (process-run "xmessage -center 'Low battery power!'")))
Note: See TracChangeset for help on using the changeset viewer.