Muh dotfiles

This commit is contained in:
2025-05-10 10:18:28 +03:00
commit 0f4558597e
84 changed files with 4306 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/usr/bin/bash
# I have no idea what is this script
grim -s1 -t png -l0 -o "$(hyprctl activeworkspace | grep -Po '(?<=\d\) on monitor ).*?(?=:)')" /tmp/screenshot.png
hyprctl dispatch workspace 11
swayimg -n /tmp/screenshot.png &
IMG_PID=$!
sleep 0.2; hyprctl dispatch fullscreen
convert -crop $(slurp -odw 2 -B 00000000 -b 00000000 -s 00000000 -c 88CCFF -f "%wx%h+%X+%Y") /tmp/screenshot.png - | wl-copy -t image/png
hyprctl dispatch workspace previous
kill $IMG_PID