forked from Shinonome/dots-hyprland
hyprlock: add capslock indicator (#1280)
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/env bash
|
||||
|
||||
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