💾 Archived View for hajime.4teri.de › dotfiles › file › scripts › current_wallpaper.sh.gmi captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
current_wallpaper.sh - dotfiles - Collection of my dotfiles
---
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