Skip to content
The English translation is still being built: some pages may lag behind the German ones.
Desktop widget

Desktop widget

dms/samuAgenda is a plugin for the bar of DankMaterialShell (a desktop shell for Wayland compositors such as niri and Hyprland). It shows the forecast with appointments and lets you complete, flag, clock and capture. Everything goes through the command line and its session; it follows changes live through samu events.

Installing

ln -s "$PWD/dms/samuAgenda" ~/.config/DankMaterialShell/plugins/samuAgenda
dms ipc call plugins enable samuAgenda

Then add samudo to the bar in the settings under bar widgets.

Settings

SettingDefault
Scopeas on this deviceor no scope, or a scope from samu scope list
samu commandsamuname or path
Profileas the command linea profile from samu profile list
Open withsamu open-uri samu:{id}a shell command, {id} is replaced; for Emacs e.g. emacsclient -n -e '(samu-show "{id}")'
Fallback refresh15 minuteswithout an event, e.g. after midnight
Show “later”off
Clock task in the baronelse only the time

One widget per profile

“Ein Widget je Profil” › “Widget anlegen” makes a variant for one profile. It appears under bar › add widget as “samudo - profile” and shows that account, with the scope samu --profile <profile> scope use chose there.

Keys in the popout

Key
↑ ↓, j kselect
Enter, double clickopen
x, Space, the circlecomplete
fflag on/off
cstart the clock on the task, stop the running one
a, Tabcapture; Enter creates, Escape clears or goes back
rreload

From outside

dms ipc call samuAgenda toggle             # popout open/closed
dms ipc call samuAgenda capture            # popout on the capture tab
dms ipc call samuAgenda add "Milk #Shopping"
dms ipc call samuAgenda clockOut
dms ipc call samuAgenda refresh

In niri, for example: Mod+T { spawn "dms" "ipc" "call" "samuAgenda" "capture"; }.