summaryrefslogtreecommitdiff
path: root/bin/extra/fzwin
diff options
context:
space:
mode:
Diffstat (limited to 'bin/extra/fzwin')
-rwxr-xr-xbin/extra/fzwin5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/extra/fzwin b/bin/extra/fzwin
new file mode 100755
index 0000000..4e1cc79
--- /dev/null
+++ b/bin/extra/fzwin
@@ -0,0 +1,5 @@
+#!/bin/sh
+hyprctl clients -j |
+ jq '.[].pid' |
+ fzf --preview "hyprctl clients -j |
+ jq '.[] | select(.pid == {}) | {class, title, workspace, xwayland}'"