Skip to content
G-PappasPublic

About

Omarchy bar widget: see your systemd user timers and switch each on or off with a click

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Timerdeck

An Omarchy bar widget for your scheduled jobs: see every systemd user timer at a glance and switch each one on or off with a click.

Timerdeck panel

Features

  • On/off switch per job. Off stops and disables the timer, so it stays off after a reboot; on enables and starts it again.
  • Run now starts the job's service once, immediately.
  • Edit opens the .timer and .service files in your Omarchy default editor. When you save, Timerdeck reloads systemd and restarts that timer on its next refresh, so no daemon-reload is needed. Only timers opened through Edit are reloaded this way; files you change by hand are left for you to apply.
  • Logs opens the job's journal in a terminal.
  • Status at a glance: schedule, next and last run, "running now", and a red "failed (exit N)" when the last run failed. The bar icon turns red when any job failed, and takes the accent color when a job is switched off.

Not cron

Timerdeck works with systemd user timers (systemctl --user list-timers), the usual cron replacement on Arch. It lists the timers whose unit files live in ~/.config/systemd/user/. It does not read crontab, and it does not touch system timers (those need root).

Requirements

  • Omarchy with the Quickshell-based omarchy-shell
  • python3 and systemd (both part of a standard Omarchy install)

Install

omarchy plugin add https://github.com/G-Pappas/timerdeck.git --enable

The widget appears in the right section of the bar. Move it with omarchy bar move io.github.gpappas.timerdeck --section <left|center|right>.

Remove

omarchy plugin remove io.github.gpappas.timerdeck

Removing the plugin leaves your timers exactly as they are.

How it works

Widget.qml draws the bar icon and panel. All system calls go through the bundled timers helper, which only runs systemctl --user with argument lists (no shell) and only accepts timer names that exist in ~/.config/systemd/user/:

timers list            JSON of your timers
timers enable  <unit>  enable + start
timers disable <unit>  stop + disable
timers run     <unit>  start the service once
timers edit    <unit>  open timer + service in your editor
timers logs    <unit>  open the service's journal in a terminal

License

MIT

About

Omarchy bar widget: see your systemd user timers and switch each on or off with a click

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages