{ lib, config, ... }: { home.file.".config/hypr/hyprland/scripts/screenshot.sh".text = '' #!/bin/bash INPUT="echo -e Screen\nWindow\nRegion" SELECTED=$($INPUT | fuzzel -d) case "$SELECTED" in "Screen") hyprshot -m output ;; "Window") hyprshot -m window ;; "Region") hyprshot -m region ;; *) echo "Invalid selection" ;; esac ''; home.file.".config/hypr/hyprland/scripts/screenshot.sh".force = true; }