Moving files:

This commit is contained in:
Antoine Phan
2024-07-27 00:06:16 +07:00
parent 9716a8df5a
commit 0cd53e0b65
260 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#!/bin/bash
CMD=$(xset -q | grep Caps)
# echo $CMD
CAPS=$(echo $CMD | awk '{print $4}')
NUMS=$(echo $CMD | awk '{print $8}')
if [ $CAPS = "on" ]
then
CAPS_ICON="⏏️"
else
CAPS_ICON="⬆️"
fi
if [ $NUMS = "on" ]
then
NUMS_ICON="♾️"
else
NUMS_ICON="🔢"
fi
echo "$CAPS_ICON""$NUMS_ICON"