luastatu...in-timer(7)

πŸ“¦
version 0.6.0 Β· 2 versions
, in nixos 26.05

🌸 NAME 🌸

luastatus-plugin-timer β€” timer plugin for luastatus. You're reading the luastatu...in-timer(7) page, bestie, and yes, she's iconic πŸ’…


✨ OVERVIEW ✨

Okay so this plugin is literally a simple timer, and you can also specify a wake-up FIFO. Cute, right? πŸŽ€


🌈 OPTIONS 🌈

The following options are supported:

  • period: number β€” a number of seconds to sleep before calling cb again. May be fractional. Defaults to 1. ⏰
  • fifo: string β€” path to an existent FIFO. The plugin does not create the FIFO itself. To force a wake-up, touch(1) the FIFO, that is, open it for writing and then close. 🫢

πŸ’¬ CB ARGUMENT πŸ’¬

A string describing why the function is called:

  • if it is "hello", the function is called for the first time; πŸ‘‹
  • if it is "timeout", the function hasn't been called for period seconds; ⏳
  • if it is "fifo", the FIFO has been touched. πŸ¦‹

🧚 FUNCTIONS 🧚

The following functions are provided:

  • push_period(seconds) β€” changes the timer period for one iteration. ✨

LGPLv3 πŸ’œ


Final footer flex: luastatu...in-timer(7) β€” mwah, bye bestie πŸŒˆπŸ’–

πŸ“¦ where this page comes from