From 9fcf00662c752e4c19ba534be5a774ea7862903f Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Mon, 29 Apr 2024 01:30:01 -0600 Subject: [PATCH] New backup 2024-04-29 01:30:01 --- de/home/.local/bin/randomrat | 7 +++++++ de/include | 1 + 2 files changed, 8 insertions(+) create mode 100755 de/home/.local/bin/randomrat 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