New backup 2025-03-05 12:30:01

This commit is contained in:
Penelope Gwen 2025-03-05 12:30:01 -08:00
parent b7bb12ad34
commit e3cafdcf23
3 changed files with 5 additions and 4 deletions

View file

@ -172,7 +172,7 @@
:revealvar reveal_volume
:revealvar-name "reveal_volume"
(button :onclick 'pavucontrol-qt --tab 3'
{(volume_level == 0) ? "" : ((volume_level > 50) ? "" : "")})
{(volume_level == 0) ? "" : ((volume_level > 50) ? "" : "")})
(volume_children)))
(defpoll volume_level :initial 0
@ -371,7 +371,7 @@
:height 300
:style "background-image: url('${rat_image}');"))
(defpoll weather_status :interval "600s"
(defpoll weather_status :interval "1h"
'curl wttr.in/Eugene?format=j1')
(defwidget weather [json]
(box

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -3,5 +3,6 @@
img_dir="${HOME}/Pictures/Phone/Albums/Rattos/"
img_list=$( find "${img_dir}" -iname '*.jpg' -or -iname '*.png' -or -iname '*.heic')
img=$( shuf -n 1 <<< ${img_list} )
convert "${img}" -resize x400\> ./rat.jpg
echo "./rat.jpg"
mkdir -p "${HOME}/.cache/eww/"
convert "${img}" -resize x400\> "${HOME}/.cache/eww/rat.jpg"
echo "${HOME}/.cache/eww/rat.jpg"