Added Hypridle and Hyprlock && switched to UWSM
This commit is contained in:
7
modules/overlays/check-capslock.sh
Normal file
7
modules/overlays/check-capslock.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
MAIN_KB_CAPS=$(hyprctl devices | grep -B 6 "main: yes" | grep "capsLock" | head -1 | awk '{print $2}')
|
||||
|
||||
if [ "$MAIN_KB_CAPS" = "yes" ]; then
|
||||
echo "Caps Lock active"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
Reference in New Issue
Block a user