https://github.com/davidegiacometti/setbackground
Simple command line utility that allow you to quickly change desktop background
https://github.com/davidegiacometti/setbackground
background cli command-line desktop desktop-background desktop-wallpaper wallpaper windows
Last synced: 18 days ago
JSON representation
Simple command line utility that allow you to quickly change desktop background
- Host: GitHub
- URL: https://github.com/davidegiacometti/setbackground
- Owner: davidegiacometti
- License: mit
- Created: 2022-12-28T11:47:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-28T20:04:44.000Z (over 2 years ago)
- Last Synced: 2025-02-15T09:31:36.301Z (2 months ago)
- Topics: background, cli, command-line, desktop, desktop-background, desktop-wallpaper, wallpaper, windows
- Language: C#
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SetBackground
Simple command line utility that allow you to quickly change desktop background.
## Requirements
- Windows 8/8.1/10/11 x64
- [.NET 7.x Desktop Runtime](https://dotnet.microsoft.com/en-us/download/dotnet/7.0)## Usage
_Set a solid color as background_
```
.\SetBackground.exe color "#225e89"```
_Set a wallpaper as background_
```
.\SetBackground.exe wallpaper "D:\Wallpapers\1.png"
```_Set a random wallpaper from the directory as background_
```
.\SetBackground.exe wallpaper "D:\Wallpapers"
```_Show the list of attached monitors_
```
.\SetBackground.exe list-monitors
0 - Generic PnP Monitor
1 - Dell U2414H(HDMI2)
```_Set a wallpaper as background only for the specified monitor and set how the wallpaper is displayed_
```
.\SetBackground.exe wallpaper "D:\Wallpapers\1.png" --monitor 1 --position Stretch
```