This is an article I wrote. Sorry mods if it is not allowed I checked the sidebar rules, and closest was no ads, and I do not know if this qualifies for that (I do not have ads or analytics on the page)

Edit - Thanks to @utopiah@lemmy.ml for recommendations. I have now Included an image and a video demo of using the script, and also got syntax highlighting

https://sga.codeberg.page/articles/Launcher/Launcher_for_Everything.html

Edit 2 - I have chnaged my keys for password, so dont worry about that, and about low quality and stuttering video playback, that was just network being poor at that time, also i forgot to give a demo of calculator and web searching, forgive me for that, and if you want, instead of term-dmenu, you can use fzf directly, and you would not leave terminal

  • utopiah
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    6 months ago

    Superficial feedback but I can’t read more than 3 lines without syntax highlighting. Here I believe lines short for the text but makes code even harder to read due to new line. Maybe Codeberg allows for HTML embedding.

    Now for a comment on the content itself, how is that different from aliases in ~/.bashrc? I personally have a bunch of commands that are basically wrapped or shortcuts around existing ones with my default parameters.

    Finally, if the result is visual, like dmenu which I only use a bit in the PinePhone, then please start by sharing a screenshot of the result.

    Anyway, thanks for sharing, always exciting to learn from others how they make THEIR systems theirs!

    • sga@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      6 months ago

      I am sorry, I dont know how to do syntax highlighting in html, if it helps, can you please check it on codeberg (link in table of content and also mid text), there you can choose your preferred highlighting.

      Yes, it is similar to aliases, I covered that bit in executing stuff, my problem from the times i had aliases was that sometimes i could not remember the aliases i had set (i had greater than 50 at some time), and for such reasons, there are programs like navi and cheats, I used to use navi, but then i had a different binding to call navi (ctrl+g by default) and this way I have only 1 binding, and that helps develop a great muscle memory. also aliases can only mimic the behaviour of Type or Exec sections, for others, you would need something else

      and yes, the result is indeed graphical, I will add screenshots