diff --git a/.config/devilspie2/start.lua b/.config/devilspie2/start.lua index ad23a96..8ecaf51 100755 --- a/.config/devilspie2/start.lua +++ b/.config/devilspie2/start.lua @@ -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 diff --git a/.config/fish/functions/awall.fish b/.config/fish/functions/awall.fish new file mode 100644 index 0000000..da336b0 --- /dev/null +++ b/.config/fish/functions/awall.fish @@ -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 diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index e6b68e3..0d64033 100755 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -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