diff options
| author | Kumar Damani <damani.kumar@gmail.com> | 2020-10-23 14:54:14 +0000 |
|---|---|---|
| committer | Kumar Damani <damani.kumar@gmail.com> | 2020-10-23 14:54:14 +0000 |
| commit | 3283cc234a8491551a227ef9992abdbab8760299 (patch) | |
| tree | 9ae9869170dbaf3e22a4b93a498fec44cb92150a /Scripts | |
| parent | 8679380bd39b26336e89c84da0bd0693b2da8bf8 (diff) | |
using dynamic wal exec path
Diffstat (limited to 'Scripts')
| -rwxr-xr-x | Scripts/.config/Scripts/setbg | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Scripts/.config/Scripts/setbg b/Scripts/.config/Scripts/setbg index 62457d6..69fa899 100755 --- a/Scripts/.config/Scripts/setbg +++ b/Scripts/.config/Scripts/setbg @@ -14,5 +14,6 @@ WALLPAPER_HOME="$HOME/.config/wall.png" [ -d "$1" ] && cp -f "$(find "$1" -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -type f | shuf -n 1)" "$WALLPAPER_HOME" && notify-send -i "$WALLPAPER_HOME" "Random Wallpaper chosen." -# If pywal is installed, use it. -/usr/local/bin/wal -c && /usr/local/bin/wal -o $HOME/.config/Scripts/done.sh -i "$WALLPAPER_HOME" +# wal is installed, use it. +#WALL_PATH=$(which wal) +$(which wal) -c && $(which wal) -o $HOME/.config/Scripts/done.sh -i "$WALLPAPER_HOME" |
