Giter Site home page Giter Site logo

prbhtkumr / rofi-radio Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 19 KB

An extendable rofi based menu for streaming audio (optionally but preferably) on linux.

License: GNU General Public License v3.0

Shell 100.00%
background-music-player lofi-music lofi-player lofi-stream mpv mpv-media-player music music-streaming news news-stream

rofi-radio's Introduction

rofi-radio ๐Ÿ“ป

An extendable rofi based menu for streaming audio (optionally but preferably) on linux ๐Ÿง.

This script is inspired by Rofi-Beats.

Dependencies

  • notify-send
  • rofi

For Debian:

$ sudo apt install rofi notify-osd mpv

For Arch Linux:

$ sudo pacman -S rofi notify-osd mpv

Clone this repository:

$ git clone https://github.com/aerosol-can/rofi-radio
$ cd rofi-radio
$ chmod +x rofi-radio

Now test out the script:

$ ./rofi-radio

Usage

The script toggles the radio on and off depending on it's current state.

The script first checks to see if an instance of the radio is already playing.

If it finds the script is already playing music it kills the music. If the radio is not already playing it will launch the list of stations you can choose from.

mpv arguments

  • You can add options in the ARGS variable in the script to specify those options for running mpv. The default of --no-video is already added.
  • You can also add accitional arguments on a per stream basis using the ADDITIONAL_ARGS variable.

Extra Tips ๐Ÿ“

  • I'd highly recommend linking this script to a keybinding, using a tool such as skhd or sxhkd.

rofi-radio's People

Contributors

prbhtkumr avatar

Stargazers

 avatar  avatar

Watchers

 avatar

rofi-radio's Issues

yt-dlp

Try to add the installation command for yt-dlp. so that it would not crash if yt-dlp not installed in the system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.