diff --git a/de/home/.local/bin/randomrat b/de/home/.local/bin/randomrat new file mode 100755 index 0000000..93723ee --- /dev/null +++ b/de/home/.local/bin/randomrat @@ -0,0 +1,7 @@ +#!/bin/bash + +img_dir="/home/pogmommy/Pictures/Phone/Rattos/" +img_list=$( find "${img_dir}" -name "*.jpg" -or -name "*.heic" -or -name "*.png" -or -name "*.HEIC" -or -name "*.JPG" -or -name "*.PNG" ) + +img=$( shuf <<< ${img_list} | head -n 1 ) +feh -F "${img}" diff --git a/de/include b/de/include index 6897fab..a014c7b 100644 --- a/de/include +++ b/de/include @@ -10,3 +10,4 @@ .config/wob .config/wofi .config/alacritty +.local/bin/randomrat