Re: guix open

2022-11-21 Thread John Kehayias
On Mon, Nov 21, 2022 at 08:43 AM, jgart wrote: > On Mon, 21 Nov 2022 12:07:32 +0100 Ludovic Courtès wrote: >> ‘guix show’ prints the home page URL, which is clickable in recent >> terminal emulators. Do we need something more? > > Hi Ludo, what terminal emulator are using, kitty or alakitty? I

Re: guix open

2022-11-21 Thread jgart
On Mon, 21 Nov 2022 12:07:32 +0100 Ludovic Courtès wrote: > ‘guix show’ prints the home page URL, which is clickable in recent > terminal emulators. Do we need something more? Hi Ludo, what terminal emulator are using, kitty or alakitty?

Re: guix open

2022-11-21 Thread Ludovic Courtès
Tobias Geerinckx-Rice skribis: > jgart 写道: >> what do you think of having a `guix open` command that opens the >> projects >> home-page in your $BROWSER? > > […] > >> bloat? > > Yes — as ‘guix open’ — but it would make a nice addition to ‘guix >

Re: guix open

2022-11-20 Thread zimoun
Hi, On Fri, 18 Nov 2022 at 13:49, jgart wrote: > what do you think of having a `guix open` command that opens the projects > home-page in your $BROWSER? It is already possible, thanks Unix composability. :-) $BROWSER $(guix show hello | recsel -P homepage) Well, ’recsel’ from the p

Re: guix open

2022-11-20 Thread zimoun
Hi, On Fri, 18 Nov 2022 at 20:25, "(" wrote: > On Fri Nov 18, 2022 at 8:22 PM GMT, Tobias Geerinckx-Rice wrote: >> Yes — as ‘guix open’ — but it would make a nice addition to ‘guix >> show’. > > How would that interact with ``guix package --show''? Perhaps it mi

Re: guix open

2022-11-20 Thread jgart
On Sun, 20 Nov 2022 07:45:31 + Mekeor Melire wrote: > what's the advantage over this one-liner? > > guix show recutils | recsel -P homepage | xargs xdg-open too many characters to type but I think I will turn that one-liner into a script, add it to my dots, and consider this feature

Re: guix open

2022-11-19 Thread Mekeor Melire
2022-11-18 / 13:49 / jg...@dismail.de: > what do you think of having a `guix open` command that opens the projects > home-page in your $BROWSER? > > For example, in case you want to specify the browser and override the default > $BROWSER (e.g. icecat): > > guix open n

Re: guix open

2022-11-19 Thread jgart
On Sat, 19 Nov 2022 08:54:42 + "(" wrote: > What would that even do? :) Run `M-x doctor` in GNU Emacs > > bloat? Ya

Re: guix open

2022-11-19 Thread (
On Sat Nov 19, 2022 at 12:40 AM GMT, jgart wrote: > Not sure, but maybe we should also add a guix package --bike-shed-alarm, > similar M-x doctor in GNU Emacs... What would that even do? :) > bloat? Yeah :) -- (

Re: guix open

2022-11-18 Thread jgart
On Fri, 18 Nov 2022 21:47:26 +0100 Tobias Geerinckx-Rice wrote: > (My bike shed alarm is now positively howling, but I feel like my > unconditional support for the actual feature makes that almost > OK?) Not sure, but maybe we should also add a guix package --bike-shed-alarm, similar M-x

Re: guix open

2022-11-18 Thread Tobias Geerinckx-Rice
( 写道: How would that interact with ``guix package --show''? Perhaps it might be better to add a ``guix package --open'' option? Ah, damn, yes. I didn't think of that. (Actually, I think this nicely illustrates the folly of adding cute subcommands that should be options. It illustrates

Re: guix open

2022-11-18 Thread (
On Fri Nov 18, 2022 at 8:22 PM GMT, Tobias Geerinckx-Rice wrote: > Yes — as ‘guix open’ — but it would make a nice addition to ‘guix > show’. How would that interact with ``guix package --show''? Perhaps it might be better to add a ``guix package --open'' option? -- (

Re: guix open

2022-11-18 Thread Tobias Geerinckx-Rice
jgart 写道: what do you think of having a `guix open` command that opens the projects home-page in your $BROWSER? […] bloat? Yes — as ‘guix open’ — but it would make a nice addition to ‘guix show’. Kind regards, T G-R signature.asc Description: PGP signature

Re: guix open

2022-11-18 Thread (
Heya, On Fri Nov 18, 2022 at 7:58 PM GMT, jgart wrote: > How would I do the above with recsel instead of awk? guix show git-open | recsel -P homepage -- (

Re: guix open

2022-11-18 Thread jgart
On Fri, 18 Nov 2022 19:51:33 + "(" wrote: > this instead for the command, though: > > guix home-page hello hi, thanks! I was just thinking of guix open like git open: $ guix show git-open | awk 'FNR == 8 {print}' homepage: https://github.com/paulirish/git-open How w

Re: guix open

2022-11-18 Thread (
On Fri Nov 18, 2022 at 7:49 PM GMT, jgart wrote: > guix open nnn --browser=chromium I actually quite like this idea! I think maybe we could use something like this instead for the command, though: guix home-page hello -- (

guix open

2022-11-18 Thread jgart
hi guixers, what do you think of having a `guix open` command that opens the projects home-page in your $BROWSER? For example, in case you want to specify the browser and override the default $BROWSER (e.g. icecat): guix open nnn --browser=chromium bloat? ;()