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:
parent
baff461702
commit
20689404ad
|
@ -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
|
||||
|
|
10
.config/fish/functions/awall.fish
Normal file
10
.config/fish/functions/awall.fish
Normal 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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue