From 47a6c42c77244b4b18f6e074542c15bc43bc4273 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 16 Jan 2025 10:53:08 +0900 Subject: updated some scripts for better notification visibility. Swaync notification width reduce to look better --- config/hypr/UserScripts/RofiBeats.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/hypr/UserScripts/RofiBeats.sh') diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index 51b869f1..54064752 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -39,7 +39,7 @@ populate_local_music() { # Function for displaying notifications notification() { - notify-send -u normal -i "$iDIR/music.png" "$(printf "\n Playing:\n $@")" + notify-send -u normal -i "$iDIR/music.png" " Now Playing:" " $@" } # Main function for playing local music @@ -92,7 +92,7 @@ play_online_music() { } # Check if an online music process is running and send a notification, otherwise run the main function -pkill mpv && notify-send -u low -i "$iDIR/music.png" "$(printf "\n Music stopped")" || { +pkill mpv && notify-send -u low -i "$iDIR/music.png" " Music stopped" || { # Check if rofi is already running if pidof rofi > /dev/null; then -- cgit v1.2.3