hypr: update configuration, use new wallpaper menu, fix hyprlock bind

This commit is contained in:
retrozinndev
2025-04-26 22:55:06 -03:00
parent ee820970a4
commit 3155ccd9c9
7 changed files with 58 additions and 28 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env bash
# This script handles taking a screenshot using the
# hyprshot tool.
# --------------
# Licensed under the MIT License
# Made by retrozinndev (João Dias)
# From https://github.com/retrozinndev/Hyprland-Dots
# exit slurp and quit if slurp(region selection) is running
killall slurp && exit 0
if [[ -z $(command -v hyprshot) ]]; then
echo "[err] you don't have hyprshot installed, please install it first"
exit 1
fi
if [[ "$1" == "full" ]]; then
hyprshot -m active -m output -o "$(xdg-user-dir PICTURES)/Screenshots"
exit 0
fi
hyprshot -m region -o "$(xdg-user-dir PICTURES)/Screenshots"