Skip to content

Choose least used wallpaper, if there are fewer wallpapers than screens #2

Description

@InsanityCode

num_wallpapers=$(echo "$wallpapers" | wc -l)
if [[ $num_wallpapers -eq 1 ]]; then
# there aren't enough wallpapers for all the screens, use the last remaining
# TODO: use the wallpaper currently used on the least displays
break
fi

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions