Hello,
out of curiosity, what do you put in your offpunkrc file ?
Mine only contains the offline command.
Cheers
--
Xavier Maillard (https://www.maillard.im)
Partagez votre super pouvoir! (https://dondesang.efs.sante.fr/)
GPG: 84C7 EF28 760F 49A7 D7C0 BFD7 141B AF53 291E 888D
O ven., 14 de mar. de 2025 ás 09:36, Xavier Maillard (<x@maillard.im>) escribiu:
>> Hello,>> out of curiosity, what do you put in your offpunkrc file ?>> Mine only contains the offline command.
as of yesterday, mine looks like this:
---
theme window_title red bold
theme window_subtitle red faint
theme title blue bold underline
theme subtitle blue underline
theme subsubtitle blue underline
theme link blue
theme new_link yellow bold
theme oneline_link yellow
theme image_link yellow faint
theme preformatted faint
theme blockquote italic
theme prompt_on green
theme prompt_off green bold
---
(I copied the output of the "theme" command, after I had changed a
couple things, and then in vim edited it a bit (s/^/theme / , s/set to
\['// , and a couple more) to have it all there in case I want to
change something else later (I could remove the ones that are still
set as "default", but I don't care that much :D)
>> Cheers> --> Xavier Maillard (https://www.maillard.im)> Partagez votre super pouvoir! (https://dondesang.efs.sante.fr/)>> GPG: 84C7 EF28 760F 49A7 D7C0 BFD7 141B AF53 291E 888D>>
--
Saúde,
J. M. Castroagudín
Le 25 mar 14 09:36, Xavier Maillard a écrit :
>Hello,>>out of curiosity, what do you put in your offpunkrc file ?>>Mine only contains the offline command.>>Cheers
Good question!
Until recently, mine was also only containing one line: "offline".
I added the following 4 lines:
handler .pdf zathura
handler .odt lowriter
handler .docx lowriter
handler .epub foliate
Those are mostly used by "opnk" (which will renamed "openk" in 3.0
release) that I use as a universal opener in my shell. Reason is that,
at each update, calibre seems to take precedence over all my
configuration about which software should open pdf and epub. I was tired
of fixing my configuration for xdg-open so I put that in my offpunk
config.
I also added one line:
!grep `date -I` ~/inbox/calendar.txt --color
This is not really related to offpunk, this is a simple shell command
that will display the events of my day. I put it in offpunkrc so, when I
start offpunk, I have my daily planning displayed. This is an
experimental hack, not sure I will keep it.
>-->Xavier Maillard (https://www.maillard.im)>Partagez votre super pouvoir! (https://dondesang.efs.sante.fr/)>>GPG: 84C7 EF28 760F 49A7 D7C0 BFD7 141B AF53 291E 888D>>>
--
Ploum - Lionel Dricot
Blog: https://www.ploum.net
Newsletters: https://listes.ploum.net/mailman3/lists/
Bikepunk: https://bikepunk.fr/
Thank you Lionel for sharing.
I did not know we could make shell calls directly into offpunk. That's fun
--
Xavier Maillard (https://www.maillard.im)
Partagez votre super pouvoir! (https://dondesang.efs.sante.fr/)
GPG: 84C7 EF28 760F 49A7 D7C0 BFD7 141B AF53 291E 888D
Thank you José Manuel.
I copied/pasted your theme settings in mine. Love it.
--
Xavier Maillard (https://www.maillard.im)
Partagez votre super pouvoir! (https://dondesang.efs.sante.fr/)
GPG: 84C7 EF28 760F 49A7 D7C0 BFD7 141B AF53 291E 888D
Le 25 mar 18 06:21, Xavier Maillard a écrit :
>Thank you Lionel for sharing.>>I did not know we could make shell calls directly into offpunk. That's fun
Until 2.6, it could only be done when on a page as the content of the
page is piped to the shell command.
In HEAD, I’ve removed the need to be on page.
Content is still piped but if you don’t use that content, you can launch
arbitrary shell command.
-- Ploum - Lionel Dricot
Blog: https://www.ploum.net
Newsletters: https://listes.ploum.net/mailman3/lists/
Bikepunk: https://bikepunk.fr/