Give EWW scripts proper extensions

This commit is contained in:
Michael Bradley 2025-06-22 14:25:02 -04:00
parent 448bdfc231
commit 287df92d65
Signed by: MichaelBradley
SSH key fingerprint: SHA256:BKO2eI2LPsCbQS3n3i5SdwZTAIV3F1lHezR07qP+Ob0
13 changed files with 11 additions and 11 deletions

View file

@ -0,0 +1,6 @@
#!/bin/env sh
# From: https://wiki.hyprland.org/Useful-Utilities/Status-Bars/#eww
hyprctl activewindow -j | jq --raw-output .title
socat -u UNIX-CONNECT:"$XDG_RUNTIME_DIR"/hypr/"$HYPRLAND_INSTANCE_SIGNATURE"/.socket2.sock - | stdbuf -o0 awk -F '>>|,' '/^activewindow>>/{print $3}'