A comprehensive fork of hyprlock that provides video and audio support and additional themeing options such as vertical labels and shapes.
- Locks your screen with a customizable video background using mpv.
- Designed for Wayland and Hyprland from hyprlock to provide more flexible theming options.
- Integrates with hypridle for idle timeout locking.
Before installing mpvlock, ensure you have the following dependencies:
mpvpaper (for video backgrounds)
hypridle (optional, for idle timeout integration)
mpvlock is available via AUR:
yay -S mpvlock-git
git clone https://github.com/nomadxxxx/mpvlock-themes.git
cd mpvlock-themes
chmod +x mpvlock_theme_installer.sh
./mpvlock_theme_installer.sh
**Note I'm still developing this script and have only tested on arch although ubuntu and fedora are supported.
git clone https://aur.archlinux.org/mpvlock-git.git
cd mpvlock-git
makepkg -si
mpvlock installs default configuration files to ~/.config/mpvlock/. You can customize the video background and other settings by editing ~/.config/mpvlock/mpvlock.conf
Scripts are located in ~/.config/mpvlock/scripts and you will need to update your location in weather.sh to get the weather widget working. To do this just go to here, search your location then pull your location ID from the URL.
cat-pool | cherry-blossom |
---|---|
![]() |
![]() |
elon | gothgirl |
---|---|
![]() |
![]() |
solitude | Neon Jinx |
---|---|
![]() |
![]() |
The themes are avaialble here.. You can also install them using below:
Install a specific theme directly without cloning the repository:
- Install a specific theme (e.g.,
cherry-blossom
):Replacecurl -L https://raw.githubusercontent.com/nomadxxxx/mpvlock-themes/main/mpvlock_theme_installer.sh | bash -s - -t cherry-blossom
cherry-blossom
with any available theme name (see above).
-
Prerequisites:
curl
must be installed on your system.- Git, CMake, Ninja, and various development libraries will be installed automatically by the script if missing (hopfully).
-
Clone the Repository (optional for advanced users):
git clone https://github.com/nomadxxxx/mpvlock-themes.git cd mpvlock-themes
-
Run the Installer:
chmod +x mpvlock_theme_installer.sh ./mpvlock_theme_installer.sh
- Follow the on-screen menu to install mpvlock (option 1) or select a theme (options 2-7).
- Themes are installed to
~/.config/mpvlock/themes/
, and the configuration is updated accordingly.
- On-click features for labels (incl font change on hover)
- Dropdown boxes (to support theme switching / script selection)
- Support for random theme or background on load
- Progress bar for playerctl widgets and script
- Better handing of multi-monitor setups
Contributions are welcome! Please submit any issues or pull requests.
mpvlock is a hyprlock fork licensed under the BSD License. See the LICENSE file for details.