~lioploum/offpunk-users

5 3

offpunk config file

Xavier Maillard <x@maillard.im>
Details
Message ID
<16471a9ab90f8d50c6d450e049020e11@maillard.im>
Sender timestamp
1741944975
DKIM signature
pass
Download raw message
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
José Manuel Castroagudín Silva <chavescesures@gmail.com>
Details
Message ID
<CAJjuAbg+XsyST248QadKf0PpNhkO4WeDyp4UMcHf5mmR1s8eLw@mail.gmail.com>
In-Reply-To
<16471a9ab90f8d50c6d450e049020e11@maillard.im> (view parent)
Sender timestamp
1741948250
DKIM signature
pass
Download raw message
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
Details
Message ID
<174194767069.6.9743151316552065497.636062554@ploum.eu>
In-Reply-To
<16471a9ab90f8d50c6d450e049020e11@maillard.im> (view parent)
Sender timestamp
1741947661
DKIM signature
pass
Download raw message
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/
Xavier Maillard <x@maillard.im>
Details
Message ID
<a7c9eddf1f321c41a1d73948c6789c32@maillard.im>
In-Reply-To
<174194767069.6.9743151316552065497.636062554@ploum.eu> (view parent)
Sender timestamp
1742278919
DKIM signature
pass
Download raw message
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
Xavier Maillard <x@maillard.im>
Details
Message ID
<8312f4a133ccfb70ccdddd3c5757dc54@maillard.im>
In-Reply-To
<CAJjuAbg+XsyST248QadKf0PpNhkO4WeDyp4UMcHf5mmR1s8eLw@mail.gmail.com> (view parent)
Sender timestamp
1742278920
DKIM signature
pass
Download raw message
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
Details
Message ID
<174229250826.7.582697105684755861.640898916@ploum.eu>
In-Reply-To
<a7c9eddf1f321c41a1d73948c6789c32@maillard.im> (view parent)
Sender timestamp
1742292501
DKIM signature
pass
Download raw message
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/
Reply to thread Export thread (mbox)