1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-27 07:26:43 +00:00

MPV & devilspie2: fake wallpaper engine

This commit is contained in:
Phantop 2020-04-27 17:07:27 -04:00
parent baff461702
commit 20689404ad
3 changed files with 37 additions and 0 deletions

View file

@ -11,3 +11,13 @@ end
if (get_window_name()=="Information") then
make_always_on_top()
end
if (get_window_name()=="mpv-wallpaper") then
pin_window()
set_window_below()
set_skip_pager(true)
set_skip_tasklist(true)
stick_window()
undecorate_window()
set_window_type("WINDOW_TYPE_DESKTOP")
end

View file

@ -0,0 +1,10 @@
# Defined in /tmp/fish.2QDpqS/awall.fish @ line 2
function awall
if test $argv
rm ~/Videos/.wallp
ln -s ~/Videos/Walls/$argv* ~/Videos/.wallp
end
kill (pgrep -f "mpv.*wallpaper")
mpv --profile=wallpaper ~/Videos/.wallp & disown
budgie-panel --replace & disown
end

View file

@ -16,3 +16,20 @@ osc=no
sub-font=Funimitation
sub-font-size=44
[wallpaper]
title=mpv-wallpaper
geometry=100%x100%
border=no
no-window-dragging
x11-name=mpv-wallpaper
loop-file=yes
idle=no
aid=no
sid=no
load-scripts=no
no-input-default-bindings
no-stop-screensaver
on-all-workspaces
start=0:00