Use mpvpaper for video wallpaper

This commit is contained in:
2021-10-19 14:26:53 +03:00
parent c7e63fe29c
commit 0e6e931457
2 changed files with 7 additions and 1 deletions

5
bin/set-video-wallpaper Executable file
View File

@@ -0,0 +1,5 @@
#! /bin/bash
killall mpvpaper
mpvpaper -o "no-audio" VGA-1 ~/Videos/Witcher-3.mp4

View File

@@ -44,7 +44,7 @@ floating_modifier $mod normal
font FiraCode 10
# Draw wallpaper
output * bg `$HOME/dotfiles/bin/get-random-wallpaper.py` fill
# output * bg `$HOME/dotfiles/bin/get-random-wallpaper.py` fill
# Keyboard layout
input * {
@@ -87,6 +87,7 @@ for_window [class="MuPDF"] floating enable
#
exec_always --no-startup-id $HOME/.config/waybar/launch.sh
exec_always --no-startup-id dunst
exec_always --no-startup-id $HOME/dotfiles/bin/set-video-wallpaper