Skip to content

n-shay/BingBackground

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release

BingBackground

BingBackground is a small lightweight Windows command-line tool that downloads Bing's most recent homepage image and sets it as your desktop background. Images are saved in your Pictures directory in a folder named "Bing Backgrounds".

Usage

Prerequisites

Install (via Task Scheduler)

  1. Download and extract the latest release to its permanent location.

  2. Open CMD, Terminal or PowerShell as an admin and navigate to directory.

  3. Run the following command:

    BingBackground.exe -i
    
  4. Task "BingBackground Scheduled Task" was created in Task Scheduler and runs hourly or upon login.

Run Once

If you'd like to execute the tool once, for testing or scheduling it on your own, simply execute BingBackground.exe as an admin (or "highest privileges").

Supported Command Arguments

Command Required? Description
-i -install /i /install Installs tool as background task in Task Scheduler
-u -uninstall /u /uninstall Uninstalls background task from Task Scheduler

Uninstall

  1. Open CMD, Terminal or PowerShell as an admin and navigate to directory the tool was installed.

  2. Run the following command:

    BingBackground.exe -u
    
  3. Task "BingBackground Scheduled Task" was removed from Task Scheduler.

Configuration

Coming soon...

Troubleshooting

There are currently 2 methods to troubleshoot the tool behavior:

Logs

Logs are automatically created in %USERPROFILE%\AppData\Roaming with a naming convention of BingBackgroundYYYYMMDD.log.

Log files are rolling daily (local time) with retention policy of 30 days.

Task Scheduler

Task history is disabled by default, but can be enabled manually. Regardless, it displays its "Last Run Result" which can be helpful at times.

Future Features:

  • Configuration:
    • resolution
    • update interval
  • Installation
  • Event Viewer (Logging)
  • Remove prerequisite dependency (make portable).
  • Add UI for offline, status and configs
  • [dev] .editorconfig
  • [dev] reduce package size

Contribution

Contributions are always welcome! Feel free to open pull requests for enhancements or bug fixes.

Clone the GitHub repo and use Visual Studio 2022 (or JetBrains Rider).

Author

Shay Nissel

Credits

This tool was originally developed by Josue Espinosa (josue.espinosa.live@gmail.com).

License

MIT

About

Small desktop tool from setting the Bing Image of the Day as your wallpaper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%