File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ select_wallpaper() {
2626set_wallpaper_with_mode () {
2727 local image_path=" $1 "
2828
29- # Default xgifwallpaperMode values
29+ # Default wallpaperMode values
3030 local xWallMode=" zoom" ; local fehMode=" fill" ; local nitrogenMode=" auto" ; local swayMode=" fill"
3131 local hsetrootMode=" -fill" ; local xfceMode=5; local gnomeMode=" zoom" ; local pcmanfmMode=" fit"
3232 local xgifwallpaperMode=" FILL" awwwMode=" crop"
@@ -73,7 +73,6 @@ set_wallpaper_with_mode() {
7373 # Choose setter type
7474 if [[ " $wallpaper_animated " == true && " $wallpaper " == * .gif ]]; then
7575 WALL_SETTERS=(${WALL_SETTERS_ANIMATED[@]} )
76- image_path=" $image_path .gif"
7776 else
7877 WALL_SETTERS=(${WALL_SETTERS_STATIC[@]} )
7978 fi
@@ -91,6 +90,8 @@ set_wallpaper_with_mode() {
9190 WALL_SETTERS=(${WALL_SETTERS_STATIC[@]} )
9291 choose_available_setter
9392 verbose sorry " Wallpaper doesn’t support animation, using static instead."
93+ else
94+ image_path=" $image_path .gif"
9495 fi
9596
9697 for wallSETTER in " ${AVAILABLE_SETTERS[@]} " ; do
Original file line number Diff line number Diff line change 77 WORK_PATH=" $( pwd) "
88fi
99
10- LOG_FILEPATH=" /tmp/wlaset .log"
10+ LOG_FILEPATH=" /tmp/walset .log"
1111SCRIPT_PATH=" $WORK_PATH /scripts"
1212SCRIPT_FILES=(messages paths config startup apply)
1313for script in " ${SCRIPT_FILES[@]} " ; do . " $SCRIPT_PATH /$script .sh" ; done
You can’t perform that action at this time.
0 commit comments