20 lines
No EOL
417 B
Bash
Executable file
20 lines
No EOL
417 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# SCRIPT NAME:
|
|
# wallpaper
|
|
#
|
|
# AUTHOR:
|
|
# Severin Kaderli <severin@kaderli.dev>
|
|
#
|
|
# 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/" |