I’m trying to use PrtSc button to take screenshots, in hyprland on nixos. I used grim and slurp to take screenshot using script to save the image and copy to the clipboard. This script does not run when PrtSc is pressed, it works in terminal. I think its hyprland problem.
I run grim/slurp
Looks like it does, but can you confirm if the script run fine from the terminal?
Can you send your hyprland bind config from your hyprland.conf? You’ll want it set up as a global bind so no applications eat the keypresses.
Also, have you looked at wev or xev to find the name of your printscreen key?
https://wiki.hyprland.org/Configuring/Binds/#uncommon-syms--binding-with-a-keycode
thanks, it works now. I was wrong, Hyprland is fine. I used wev to find symbol for PrtSc is Print. It works. Thanks a lot.
deleted by creator