nixos/home/hyprland/ironbar/reference/scripts/wlr_mode

5 lines
192 B
Plaintext
Raw Normal View History

2023-10-10 20:00:04 +01:00
while :
do
socat -U - UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock | while read line; do echo $line | grep -o "submap>>.*" | cut -c 9- | sed 's/^.*,//' ;done
done