this post was submitted on 23 Jun 2024
33 points (92.3% liked)

Linux

48044 readers
774 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
33
Launcher for Everything* (sga.codeberg.page)
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 4 months ago (1 children)

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!

[–] [email protected] 2 points 4 months ago* (last edited 4 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