💾 Archived View for hajime.4teri.de › dotfiles › file › scripts › current_wallpaper.sh.gmi captured on 2021-12-03 at 14:04:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

current_wallpaper.sh - dotfiles - Collection of my dotfiles

Log

Files

Refs

---

current_wallpaper.sh (293B)

---

1 #! /bin/sh

2 wallpaper="$(readlink /home/zocki/.wallpaper.png | cut -b 24- | replace ".png" "")"

3 line="$(echo "$wallpaper" + 1 | calc -p)"

4 description="$(lecho -f /home/zocki/.wallpapermap -l "$line" -c | trim | replace " " "_")"

5

6 echo "Current wallpaper is: $wallpaper.png or $description.png"

generated w/ stagit-gemini