• 0 Posts
  • 40 Comments
Joined 3 years ago
cake
Cake day: June 26th, 2021

help-circle







  • Sure. If you are using an nvidia optimus laptop, you should also add __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia at the start of the last line when running in hybrid mode to run mpv on the dgpu. You should have a file at ~/.wallpaperrc that contains wallpaper_playlist: /path/to/mpv/playlist. You may want to add this script to your startup sequence via your wm/de.

    #!/bin/sh
    
    WALLPAPER_PLAYLIST=$(cat ~/.wallpaperrc | grep -v '^\w*#' | grep 'wallpaper_playlist' | sed "s/wallpaper_playlist: //")
    
    
    xwinwrap -g 1920x1080 -ov -- mpv -wid WID --no-osc --no-audio --loop-playlist --shuffle --playlist=$WALLPAPER_PLAYLIST
    

    Hope this helps!











  • TechieDamien@lemmy.mltoLemmy Shitpost@lemmy.worldimpossible
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    8 months ago

    This is not a proof as you start with the answer, albeit disguised as a known truth. Here is a real proof. Start by assigning the recurring decimal a variable.

    x = 0.9999...
    

    Now calculate 10 times this by shifting the decimal place.

    10x = 9.9999...
    

    You can then subtract the second equation from the first. Note that all the digits after the decimal cancel out, leaving us with the following.

    9x = 9
    x = 1
    

    Therefore, 0.9999… = 1. Infinity does weird things!