aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/MediaCtrl.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-01-27 10:59:27 +0900
committerGitHub <noreply@github.com>2025-01-27 10:59:27 +0900
commit1436fe7b03be17f824ffecc5926184ef7837077d (patch)
tree7154800e8c56ee1f74aa080cc485ce9d98a68f20 /config/hypr/scripts/MediaCtrl.sh
parent6c4db42efd6519f13b7e3b6375c16b8d2cb928f9 (diff)
parent31b1aa05196433e7c287eee68bdbce84b8be351a (diff)
Merge pull request #532 from JaKooLit/main
main to development synchronization
Diffstat (limited to 'config/hypr/scripts/MediaCtrl.sh')
-rwxr-xr-xconfig/hypr/scripts/MediaCtrl.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/hypr/scripts/MediaCtrl.sh b/config/hypr/scripts/MediaCtrl.sh
index f519340f..2cbeccf3 100755
--- a/config/hypr/scripts/MediaCtrl.sh
+++ b/config/hypr/scripts/MediaCtrl.sh
@@ -25,7 +25,7 @@ toggle_play_pause() {
# Stop playback
stop_playback() {
playerctl stop
- notify-send -e -u low -i "$music_icon" " Playback Stopped"
+ notify-send -e -u low -i $music_icon " Playback:" " Stopped"
}
# Display notification with song information
@@ -34,9 +34,9 @@ show_music_notification() {
if [[ "$status" == "Playing" ]]; then
song_title=$(playerctl metadata title)
song_artist=$(playerctl metadata artist)
- notify-send -e -u low -i "$music_icon" " Now Playing:" " $song_title by $song_artist"
+ notify-send -e -u low -i $music_icon "Now Playing:" "$song_title by $song_artist"
elif [[ "$status" == "Paused" ]]; then
- notify-send -e -u low -i "$music_icon" " Playback Paused"
+ notify-send -e -u low -i $music_icon " Playback:" " Paused"
fi
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage