67
submitted 1 year ago by christos@lemmy.world to c/linux@lemmy.world

cross-posted from: https://lemmy.world/post/7130937

radion is a customizable internet radio CLI client, written in Bash.

https://gitlab.com/christosangel/radion

Radion can be customized as far as the station selecting program is concerned. The user can choose between:

  • read

read

  • fzf

fzf

  • rofi

rofi

  • dmenu

dmenu


Using another bash script included in the same repo, the user also has the ability to record parts of the radio stream.

record notifications

all 9 comments
sorted by: hot top controversial new old
[-] BangersAndMash@lemmy.world 9 points 1 year ago

Saving because I want to learn how to make menus like that!

[-] nehal3m@sh.itjust.works 4 points 1 year ago

It’s released under GNU GPL2 so just steal this code and fit it to your purposes! Best way to learn imo.

[-] cholesterol@lemmy.world 2 points 1 year ago

Can you control colors like that only using bash or does that interact with a specific terminal theme?

[-] KrokanteBamischijf@feddit.nl 2 points 1 year ago

Asking the important questions here.

[-] christos@lemmy.world 1 points 1 year ago

The colors for fzf and terminal are defined within the script:

B="\x1b[38;5;60m" #Grid Color
Y="\033[1;33m"    #Yellow
G="\033[1;32m"    #Green
I="\e[7m" #Invert
R="\033[1;31m"    #Red
M="\033[1;35m"    #Magenta
C="\033[1;36m"    #Cyan

You can find the rofi theme here

dmenu colors are included and can be customized in radion.conf:

dmenu_format dmenu -fn 13 -nb "#2E3546" -sb "#434C5E" -l 24sc -i -p

Terminal background color and theming is in your control.

[-] Froyn@kbin.social 1 points 1 year ago

That menu gives me flashbacks to "TheDraw"

[-] christos@lemmy.world 1 points 1 year ago

Sorry, had no reference, had to search it.

Well, it is a terminal window.

this post was submitted on 30 Oct 2023
67 points (100.0% liked)

Linux

8074 readers
63 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS