mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
fix: default background is not necessary
fix: added --bg to the help output as it was missing Signed-off-by: Alexis Maiquez <almamu@almamu.com>
This commit is contained in:
parent
c90cc4d915
commit
e28780562b
@ -231,9 +231,6 @@ CApplicationContext::CApplicationContext (int argc, char* argv []) {
|
||||
if (this->settings.general.defaultBackground.empty ()) {
|
||||
if (optind < argc && strlen (argv [optind]) > 0) {
|
||||
this->settings.general.defaultBackground = translateBackground (argv [optind]);
|
||||
} else {
|
||||
printHelp (argv [0]);
|
||||
std::exit (0);
|
||||
}
|
||||
}
|
||||
|
||||
@ -310,6 +307,7 @@ void CApplicationContext::printHelp (const char* route) {
|
||||
sLog.out ("\t--set-property <name=value>\tOverrides the default value of the given property");
|
||||
sLog.out ("\t--no-fullscreen-pause\tPrevents the background pausing when an app is fullscreen");
|
||||
sLog.out ("\t--disable-mouse\tDisables mouse interactions");
|
||||
sLog.out ("\t--bg <background_path/background_id>\tAfter --screen-root uses the specified background only on that screen");
|
||||
sLog.out (
|
||||
"\t--scaling <mode>\t Scaling mode for wallpaper. Can be stretch, fit, fill, default. Must be used before wallpaper provided.\n\
|
||||
\t\t For default wallpaper last specified value will be used.\n\
|
||||
|
Loading…
Reference in New Issue
Block a user