aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/scripts/move-scratchpad.sh
blob: a8d07311a58f1e4a74d984f433e7458529c33ee1 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

# Number of pixels to move down
pixels_to_move=10

# Get the PID of each scratchpad window and move it down
for pid in "$(hyprctl -j clients | jq -r '.[] | select(.class == "scratchpad") | .pid')"; do
    hyprctl dispatch movewindowpixel 0 "$pixels_to_move",pid:"$pid"
done