pwmt / zathura

Document viewer
https://pwmt.org/projects/zathura
zlib License
1.87k stars 128 forks source link

Add $DBUS variable for exec #419

Closed sebastinas closed 2 months ago

sebastinas commented 9 months ago

On GitLab by @blankie on Sep 24, 2023, 14:51


I'm writing a shell script that is invoked with the exec command in zathura which opens a PDF or EPub (by asking the user with a GUI file selection dialog). It seems like zathura can be remotely controlled with D-Bus, but there doesn't appear to be a way to pass in the dbus name to the shell script (nor could I make one from the predictable format, as $PPID is 1).

sebastinas commented 7 months ago

mentioned in commit 5012485b196b95b1c974d58c4526599118de3617

sebastinas commented 7 months ago

On GitLab by @blankie on Dec 8, 2023, 18:42


mentioned in commit 89c47d106c6ead05017244cec730d8735f545967