Hyprland version
$ hyprctl version 21:24:13
Hyprland 0.50.1 built from branch at commit 4e242d086e20b32951fdc0ebcbfb4d41b5be8dcc ([gha] Nix: update inputs).
Date: Sat Jul 19 21:37:06 2025
Tag: v0.50.1, commits: 6291
built against:
aquamarine 0.9.2
hyprlang 0.6.3
hyprutils 0.8.1
hyprcursor 0.1.12
hyprgraphics 0.1.5
no flags were set
Hi all, I have trouble executing a program via bind.
I’m trying to configure screenshot utility, previously I’ve used this bind and it worked:
bind = , Print, exec, grim -g “$(slurp -o -r -c ‘##ff0000ff’)” -t ppm - | satty --filename -
But I couldn’t freeze the screen when taking screenshot, so I wanted to try grimblast, here is the bind:
bind = , Print, exec, grimblast --freeze save output - | satty --filename -
The problem is the second bind does nothing at all (I’ve commented out the previous bind of course, so I have only one bind for Print). The command works as expected if invoked from the terminal. I’ve tried putting it in a script file and binding the script to Print, but again - nothing happens.
After fiddling a bit I’ve noticed that some programs can be executed via bind while others cannot, for example I can bind kitty to Print button and it will open up without issues, but if I bind VSCode (code command) it does nothing as well.
Question:
What could cause this?
Here is a piece of hyprland logs:
```
[LOG] Executing grimblast --freeze save output - | satty --filename -
[LOG] Process Created with pid 245468
[LOG] cursorImage request: shape 4 → pointer
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 149
[LOG] cursorImage request: shape 1 → default
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 144
[LOG] cursorImage request: shape 4 → pointer
…
```
A note: grimblast script is located in ~/.local/bin and this directory is in PATH, is it possible that hyprland still doesn’t see it somehow?