nashfive / Plash

💦 Make any website your Mac desktop wallpaper

Home Page:https://sindresorhus.com/plash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plash

Make any website your Mac desktop wallpaper




Plash enables you to have a highly dynamic desktop wallpaper. You could display your favorite news site, Facebook feed, or a random beautiful scenery photo. The use-cases are limitless. You could even set an animated GIF as wallpaper. You can even add multiple websites and easily switch between them.

Use-cases

Share your use-case

Features

  • Show a remote or local website
  • Interact with the website (“Browsing Mode”)
  • Automatically reload the website at a custom interval
  • Add multiple websites
  • Show the website on a different display
  • Invert website colors (fake dark mode)
  • Add custom CSS and JavaScript to the website
  • Lower the opacity
  • Transparent background
  • Automatically deactivate while on battery
  • Audio is muted
  • Single image will be aspect-filled to your screen
  • Hide menu bar icon

Download

Requires macOS 10.15 or later.

Tips

Browsing mode

You can interact with the website by enabling “Browsing Mode”. When in this mode, you can right-click to be able to go back/forward, reload, and zoom in the page contents (the zoom level is saved). You can also pinch to magnify. This is different from zooming the page contents in that it will zoom in to a specific part of the page instead of just enlarging everything.

Plash injects a CSS class named plash-is-browsing-mode on the <html> element while browsing mode is active. You could use this class to customize the website for browsing mode.

If clicking a link opens it in a new window, you can hold the Option key while clicking the link to open it in the main Plash window.

Zoom in website

To zoom in the website, activate “Browsing Mode”, right-click the website, and then select “Zoom In”.

URL placeholders for screen width and height

Use [[screenWidth]] and [[screenHeight]] in any URL and Plash will substitute the right values for you. For example, https://source.unsplash.com/random/[[screenWidth]]x[[screenHeight]]?puppy.

Scroll to position

You can scroll a website to a specific position each time it is loaded by putting the following in the website‘s “JavaScript” field. Adjust the “500” to how far down it should scroll.

window.scrollTo(0, 500);

You can also scroll to a specific element matching a CSS selector:

document.querySelector('.title')?.scrollIntoView();

Make the website occupy only half the screen

You can use the “CSS” field in the website settings to adjust the padding of the website:

:root {
    margin-left: 50% !important;
}

Screenshots

FAQ

Can I contribute localizations?

We don't have any immediate plans to localize the app.

What does “Plash” mean?

Click here.

Can you add support for macOS 10.14 or older?

No, this app uses SwiftUI, which only works on macOS 10.15 and later.

Is this a native app?

Yes, it’s a native app written in Swift.

Can you port it to Windows/Linux?

No, I’m a Mac developer.

Built with

  • Defaults - Swifty and modern UserDefaults
  • KeyboardShortcuts - Add user-customizable global keyboard shortcuts to your macOS app

Related

About

💦 Make any website your Mac desktop wallpaper

https://sindresorhus.com/plash

License:MIT License


Languages

Language:Swift 100.0%