forked from Shinonome/dots-hyprland
Initial commit
This commit is contained in:
+1869
File diff suppressed because it is too large
Load Diff
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
WORKSPACES="$(hyprctl monitors -j | jq -r 'map(.activeWorkspace.id)')"
|
||||
WINDOWS="$(hyprctl clients -j | jq -r --argjson workspaces "$WORKSPACES" 'map(select([.workspace.id] | inside($workspaces)))' )"
|
||||
GEOM=$(echo "$WINDOWS" | jq -r '.[] | "\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' | slurp -f '%x %y %w %h')
|
||||
wayshot -s "$GEOM" --stdout ${#:+"$@"}
|
||||
Reference in New Issue
Block a user