diff --git a/i3/background.sh b/i3/background.sh index 11d6d92..e28acbd 100755 --- a/i3/background.sh +++ b/i3/background.sh @@ -1,3 +1,6 @@ #!/bin/bash -exec feh --bg-fill "$HOME/Pictures/background/Red-billed_streamertail_Trochilus_polytmus_female_in_flight_2_modified_colours.jpg" +background="$HOME/Pictures/background/Red-billed_streamertail_Trochilus_polytmus_female_in_flight_2_modified_colours.jpg" +[[ -n $1 ]] && background="$1" + +exec feh --bg-fill "$background"