#!/usr/bin/env bash # # SCRIPT NAME: # wallpaper # # AUTHOR: # Severin Kaderli # # DESCRIPTION: # Sets the wallpaper using feh # # USAGE: # ./wallpaper . /home/severin/.local/bin/utils print_time_log "wallpaper" "Changing wallpaper" # When run from a cronjob the DISPLAY environment variable is not set DISPLAY=:0 feh --randomize --bg-fill --no-fehbg "${HOME}/Pictures/01_Wallpaper/Desktop/"