nixos/home/hyprland/ironbar/reference/scripts/wlr_window
Evie Litherland-Smith be1d5fa798 Switch to minimal ironbar implementation
Save reference for later
Enable upower daemon and add simple bar with the essentials for now,
TODO more later
2023-10-11 08:28:27 +01:00

6 lines
255 B
Plaintext
Executable file

hyprctl activewindow -j | jq -r '.title'
while :
do
socat -U - UNIX-CONNECT:/tmp/hypr/$(echo $HYPRLAND_INSTANCE_SIGNATURE)/.socket2.sock | while read line; do echo $line | grep -o "activewindow>>.*" | cut -c 15- | sed 's/^.*,//' | tr -d '\*' ; done
done