Let background script accept an argument
This commit is contained in:
parent
7e9fde276c
commit
fea9e4d790
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue