diff --git a/script/hyprland-fetch-client b/script/hyprland-fetch-client index fab896e..e4f094b 100755 --- a/script/hyprland-fetch-client +++ b/script/hyprland-fetch-client @@ -1,7 +1,5 @@ #!/bin/sh -#chooser="walker -d" chooser="rofi -i -dmenu -display-columns 1" -workspace=$(hyprctl activeworkspace -j | jq -r '.id') selected=$(hyprctl clients -j | jq -r 'to_entries | .[] | select(.value.hidden == false) | "\(.value.title)\t\(.value.class)::\(.value.address)"' | $chooser -p 'Client to Fetch') address=$(echo "$selected" | awk -F '::' '{print $NF}') if [ -z "$address" ]; then