Results 1 to 2 of 2

Thread: Conky: alias not working as expected

  1. #1
    Join Date
    Jun 2009
    Beans
    3
    Distro
    Xubuntu 9.04 Jaunty Jackalope

    Conky: alias not working as expected

    I've installed conky 1.7.1.1 from the Karmic repos so that I can make use of the alias config setting. I'm trying to create aliases for fonts, colours etc. that I use several times in my config file so that I can quickly alter the appearance of conky to suit new wallpapers.

    For example, I use ${offset -15} at the beginning of each text line and ${offset -13} at the beginning of any line that starts with a bar. If I ever decide to change these it'd be nice if I didn't have to change every single line!

    So I add the following lines before TEXT
    Code:
    alias text_offset offset -15
    alias bar_offset offset -13
    I replace ${offset -15} with $text_offset but get "offset -15" as text output. ${text_offset} does the same.

    Adjusting the alias lines to
    Code:
    alias text_offset {offset -15}
    alias bar_offset {offset -13}
    or
    Code:
    alias text_offset ${offset -15}
    alias bar_offset ${offset -13}
    or
    Code:
    alias text_offset $offset -15
    alias bar_offset $offset -13
    doesn't work either.

  2. #2
    Join Date
    Aug 2008
    Beans
    1

    Re: Conky: alias not working as expected

    I have the same problem. Did you manage to solve this ?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •