feat(hyprlock): update

This commit is contained in:
2026-02-25 01:35:25 +01:00
parent 566513de78
commit 74dda82f24
10 changed files with 115 additions and 24 deletions

11
hypr/scripts/nowplaying.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
status=$(playerctl status 2>/dev/null)
if [ "$status" = "Playing" ]; then
artist=$(playerctl metadata artist)
title=$(playerctl metadata title)
echo "$artist - $title"
else
echo ""
fi