diff options
| author | JaKooLit <jimmielovejay.com> | 2024-01-01 15:13:32 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay.com> | 2024-01-01 15:13:32 +0900 |
| commit | 16621bef0e8e3419f82389ba841b97db40a555b1 (patch) | |
| tree | 01d154902acde99d3e110072259a9d72f1eee4af /config/hypr/scripts/RofiBeats.sh | |
| parent | 978cb01c7794ca6aabc613810b23698f94fad298 (diff) | |
- Breaking Changes.
- Quick Edit script moved to user scripts - I understand some users wants to use other editor
- RofiBeats moved to user scripts - This is because users wants their own stations :)
- RofiBeats keybinds changed to SUPER SHIFT M keybind
- Keybinds to change layout SUPER ALT L
- Wlogout Script adjusted with 4K.
- Wallpaper Scripts are moved to UserScripts. This is because if users has a different location of wallpapers and also wants a different animations
Diffstat (limited to 'config/hypr/scripts/RofiBeats.sh')
| -rwxr-xr-x | config/hypr/scripts/RofiBeats.sh | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/config/hypr/scripts/RofiBeats.sh b/config/hypr/scripts/RofiBeats.sh deleted file mode 100755 index 405451f5..00000000 --- a/config/hypr/scripts/RofiBeats.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -# Directory for icons -iDIR="$HOME/.config/swaync/icons" - -# Note: You can add more options below with the following format: -# ["TITLE"]="link" - -# Define menu options as an associative array -declare -A menu_options=( - ["Lofi Girl ☕️🎶"]="https://play.streamafrica.net/lofiradio" - ["96.3 Easy Rock 📻🎶"]="https://radio-stations-philippines.com/easy-rock" - ["Ghibli Music 🎻🎶"]="https://youtube.com/playlist?list=PLNi74S754EXbrzw-IzVhpeAaMISNrzfUy&si=rqnXCZU5xoFhxfOl" - ["Top Youtube Music 2023 ☕️🎶"]="https://youtube.com/playlist?list=PLDIoUOhQQPlXr63I_vwF9GD8sAKh77dWU&si=y7qNeEVFNgA-XxKy" - ["Chillhop ☕️🎶"]="http://stream.zeno.fm/fyn8eh3h5f8uv" - ["SmoothChill ☕️🎶"]="https://media-ssl.musicradio.com/SmoothChill" - ["Relaxing Music ☕️🎶"]="https://youtube.com/playlist?list=PLMIbmfP_9vb8BCxRoraJpoo4q1yMFg4CE" - ["Youtube Remix 📻🎶"]="https://youtube.com/playlist?list=PLeqTkIUlrZXlSNn3tcXAa-zbo95j0iN-0" - ["Korean Drama OST 📻🎶"]="https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" -) - -# Function for displaying notifications -notification() { - notify-send -u normal -i "$iDIR/music.png" "Playing now: $@" -} - -# Main function -main() { - choice=$(printf "%s\n" "${!menu_options[@]}" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats.rasi -i -p "") - - if [ -z "$choice" ]; then - exit 1 - fi - - link="${menu_options[$choice]}" - - notification "$choice" - - # Check if the link is a playlist - if [[ $link == *playlist* ]]; then - mpv --shuffle --vid=no "$link" - else - mpv "$link" - fi -} - -# Check if an online music process is running and send a notification, otherwise run the main function -pkill -f http && notify-send -u low -i "$iDIR/music.png" "Online Music stopped" || main |
