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 @[email protected] 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@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    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

  • www-gem@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    6 months ago

    Thanks for sharing.
    I was personally not motivated/good enough to write a new tool so I’ve wrote scripts to use rofi (easily adaptable to dmenu) as:

    • an app launcher
    • a clipboard manager
    • an infobar to show things like the date/time, memory usage, disk space, battery level, wifi signal…
    • an omnibar to perform an internet search, quick units conversions
    • a calculator for simple math
    • a bookmark manager (list, open, edit, add, remove)
    • a password/2FA token manager (list, edit, add, remove, autofill internet fields)
    • a wifi manager
    • a vpn manager

    I’ve explained the basis here if you’re curious. Even though I was bad at keeping my code up to date you may get some ideas to expand your program.