Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: AWK if else statment on conky

  1. #11
    Join Date
    Oct 2007
    Location
    Portugal
    Beans
    155
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: AWK if else statment on conky

    Hi!

    Sorry for the delay! thanks for helping me, your command works for the color part, but it's always printing ON, no matter the condition.
    as the condition says "inactive" when doing gamemoded -s , it should print off
    Light a candle for the sinners...set the world on fire...

  2. #12
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    8,430
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: AWK if else statment on conky

    Well, like I said, I didn't test it. It's possible you need == rather than =. It's been a while. Or there might be some other syntax thing.

  3. #13
    Join Date
    Oct 2007
    Location
    Portugal
    Beans
    155
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: AWK if else statment on conky

    Holy shh!! you're right!! == did it!
    thanks a bunch man... really appreciate it!
    sooner or later something else will come up that i'll need to add. So i guess learning to mess with the LUA files is really a need.
    Cheers man
    Light a candle for the sinners...set the world on fire...

Page 2 of 2 FirstFirst 12

Tags for this Thread

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
  •