✨ feat(eww): add mediaplayer widget, fix workspaces, window and audio widgets
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# display workspaces before checking for events
|
||||
hyprctl -j workspaces | jq -c
|
||||
|
||||
handle() {
|
||||
case $1 in
|
||||
workspace*) hyprctl -j workspaces | jq -c ;;
|
||||
esac
|
||||
}
|
||||
|
||||
socat -U - UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock | while read -r line; do handle "$line"; done
|
||||
Reference in New Issue
Block a user