general update

This commit is contained in:
2024-12-01 12:30:15 -05:00
parent 8449f01612
commit a22fb4cd71
6 changed files with 42 additions and 22 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
text=$(fortune)
cbonsai -lp -L 50 -m "$text"
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
if [ "$(pactl get-sink-mute @DEFAULT_SINK@)" = "Mute: yes" ]; then
echo "vol: mute"
else
echo "vol: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{printf "%s", substr($5, 1, length($5) - 1)}')"
fi
Executable
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
TMPBG=/tmp/screen.png
scrot /tmp/screen.png
magick $TMPBG -scale 10% -scale 1000% $TMPBG
i3lock -u -i $TMPBG
rm /tmp/screen.png