This commit is contained in:
committer
2024-05-20 07:10:25 -05:00
parent 8fbd950102
commit c361ab96b2

View File

@@ -10,10 +10,10 @@ random_image=${img_dir}/${random_image_file}
gravity=("center" "northwest" "northeast" "southwest" "southeast") gravity=("center" "northwest" "northeast" "southwest" "southeast")
random_gravity=${gravity[ $RANDOM % ${#gravity[@]} ]} random_gravity=${gravity[ $RANDOM % ${#gravity[@]} ]}
notify-send "${random_image_file} @ ${random_gravity} ➔ coming up…" notify-send "${random_image_file} @ ${random_gravity}"
#scrot --display :0 --overwrite /tmp/currentworkspace.png scrot --display :0 --overwrite /tmp/currentworkspace.png
##monitorshot.sh /tmp/currentworkspace.png #monitorshot.sh /tmp/currentworkspace.png
#convert /tmp/currentworkspace.png -blur 0x9 /tmp/currentworkspaceblur.png convert /tmp/currentworkspace.png -blur 0x9 /tmp/currentworkspaceblur.png
#composite -gravity ${random_gravity} ${random_image} /tmp/currentworkspaceblur.png /tmp/lockbackground.png composite -gravity ${random_gravity} ${random_image} /tmp/currentworkspaceblur.png /tmp/lockbackground.png
#i3lock --tiling -i /tmp/lockbackground.png #i3lock --tiling -i /tmp/lockbackground.png