Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Harsh-bin/hyprlock-nowplaying

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Now-Playing for Hyprlock

Display currently playing music on your Hyprlock lock screen with album-art and play-pause toogle.

Features

  • Displays currently playing track info
  • Shows album artwork
  • Automatic fallback for missing album-art
  • Play/pause toggle from lock screen

Preview

Clean look when nothing is playing p1 Spotify p2
Local Player p3 Browser p4

NOTE! the script isn't slow or lagging the delay in display of play-pause is because of this line in hyprlock.conf

text = cmd[update:1000] echo "$(~/.config/hypr/nowplaying/nowplaying.sh)"

change the update time to small like 100 then it will update instantly
toogle.mp4

Installation

Caution

The bash script is configured to use ~/.config/hypr/nowplaying as default path. So, you can use the suggested installation step or modify it as needed.

# --- Configuration ---
art_file="$HOME/.config/rofi/nowplaying/album_art.png"
fallback_art_file="$HOME/.config/rofi/nowplaying/fallback_album_art.png"
cache_file="$HOME/.config/rofi/nowplaying/song_title.cache"
  1. Create the required directories:
mkdir -p ~/.config/hypr/nowplaying
  1. Clone this repository:
git clone https://github.com/Harsh-bin/hyprlock-nowplaying ~/.config/hypr/nowplaying
  1. Make script executable
chmod +x ~/.config/hypr/nowplaying/nowplaying.sh

Quick-Tip

Try to run nowplaying.sh before hyprlock.


Also check Rofi-nowplaying based on this script.

rofi-nowplaying

Author ✍️

Created by Harsh-bin


Enjoy! 🎉

About

A bash script that shows song title, album-art and artist name on your hyprlock screen with ability to play-pause media.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages