aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/RofiBeats.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2023-11-07 13:49:12 +0900
committerGitHub <noreply@github.com>2023-11-07 13:49:12 +0900
commitfd4c2c3f7566b46eb22c693ea97f25baadf292e2 (patch)
tree13f6698c9430bf4ea3ad9ba8d33e09f7f9c7512c /config/hypr/scripts/RofiBeats.sh
parent3fa5c6a5973d0cec5801f5b46da87e8ff2b7ee90 (diff)
parent56f61f9d90095eb5464bd6f38f606e03f8fd9c33 (diff)
Merge pull request #10 from JaKooLit/Beta-v0.4
Hyprland-Dots V2
Diffstat (limited to 'config/hypr/scripts/RofiBeats.sh')
-rwxr-xr-xconfig/hypr/scripts/RofiBeats.sh73
1 files changed, 73 insertions, 0 deletions
diff --git a/config/hypr/scripts/RofiBeats.sh b/config/hypr/scripts/RofiBeats.sh
new file mode 100755
index 00000000..37c1bba6
--- /dev/null
+++ b/config/hypr/scripts/RofiBeats.sh
@@ -0,0 +1,73 @@
+#!/bin/bash
+## Files
+
+iDIR="$HOME/.config/dunst/icons"
+
+notification(){
+ notify-send -h string:x-canonical-private-synchronous:sys-notify -u normal -i "$iDIR/music.png" "Playing now: " "$@"
+}
+
+menu(){
+printf "1. Lofi Girl\n"
+printf "2. 96.3 Easy Rock - FM Radio\n"
+printf "3. Ghibli Music (Instrumental)\n"
+printf "4. Top Music 2023\n"
+printf "5. Chillhop\n"
+printf "6. SmoothChill\n"
+printf "7. Relaxing Music\n"
+printf "8. Youtube Remix\n"
+printf "9. Korean Drama OST"
+}
+main() {
+choice=$(menu | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats.rasi | cut -d. -f1)
+
+case $choice in
+1)
+ notification "Lofi Girl ☕️🎶";
+ mpv "https://play.streamafrica.net/lofiradio"
+ return
+ ;;
+2)
+ notification "96.3 Easy Rock 📻🎶";
+ mpv "https://radio-stations-philippines.com/easy-rock"
+ return
+ ;;
+3)
+ notification "Ghibli Music 🎻🎶";
+ mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLNi74S754EXbrzw-IzVhpeAaMISNrzfUy&si=rqnXCZU5xoFhxfOl"
+ return
+ ;;
+4)
+ notification "Top Music 2023 ☕️🎶";
+ mpv --shuffle --vid=no "https://youtube.com/playlist?list=PL6k9a6aYB2zk0qSbXR-ZEiwqgdHymsRtQ"
+ return
+ ;;
+5)
+ notification "Chillhop ☕️🎶";
+ mpv "http://stream.zeno.fm/fyn8eh3h5f8uv"
+ return
+ ;;
+6)
+ notification "SmoothChill ☕️🎶";
+ mpv "https://media-ssl.musicradio.com/SmoothChill"
+ return
+ ;;
+7)
+ notification "Relaxing Music ☕️🎶";
+ mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLMIbmfP_9vb8BCxRoraJpoo4q1yMFg4CE"
+ return
+ ;;
+8)
+ notification "Youtube Remix 📻🎶";
+ mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLeqTkIUlrZXlSNn3tcXAa-zbo95j0iN-0"
+ return
+ ;;
+9)
+ notification "Korean Drama OST 📻🎶";
+ mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ"
+ return
+ ;;
+esac
+}
+
+pkill -f http && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/music.png" "Online Music stopped" || main
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage