brnix
1
Just curious about what others are using for screenshots on nixos/hyprland.
I was hoping for something in nixpks already, but… 
I used to use flameshot, but that seems to be a no go.
I know hyprshot, and grimshot are alts, but I have not been able to get them going.
Thank you!
2 Likes
teevik
2
1 Like
brnix
3
I’ll give it a go. I had also tried out sway-contrib.grimshot
as well. I didn’t realize it didn’t require sway.
@brnix i faced the same issue yesterday, but with Sway. You should definitely try GitHub - jtheoof/swappy: A Wayland native snapshot editing tool, inspired by Snappy on macOS, you only need to get the packages grim
, swappy
and slurp
, and then the command grim -g "$(slurp)" - | swappy -f -
(Just bind that to a keybinding for example).
I have to say that I even like it better than flameshot.
2 Likes
brnix
5
This is exactly what I was looking for!
Carrot
6
I’ve been using these on sway:
## Screenshot
"Print" = "exec ${grimshot} --notify save screen $(${xdg-user-dir} PICTURES)/$(TZ=utc date +'screenshot_%Y-%m-%d-%H%M%S.%3N.png')"; # All visible outputs
"Shift+Print" = "exec ${grimshot} --notify save area $(${xdg-user-dir} PICTURES)/$(TZ=utc date +'screenshot_%Y-%m-%d-%H%M%S.%3N.png')"; # Manually select a region
"Alt+Print" = "exec ${grimshot} --notify save active $(${xdg-user-dir} PICTURES)/$(TZ=utc date +'screenshot_%Y-%m-%d-%H%M%S.%3N.png')"; # Currently active window
"Shift+Alt+Print" = "exec ${grimshot} --notify save window $(${xdg-user-dir} PICTURES)/$(TZ=utc date +'screenshot_%Y-%m-%d-%H%M%S.%3N.png')"; # Manually select a window
"Ctrl+Print" = "exec ${grimshot} --notify copy screen";
"Ctrl+Shift+Print" = "exec ${grimshot} --notify copy area";
"Ctrl+Alt+Print" = "exec ${grimshot} --notify copy active";
"Ctrl+Shift+Alt+Print" = "exec ${grimshot} --notify copy window";
## Screen recording
"${modifier}+Print" = "exec wayrecorder --notify screen";
"${modifier}+Shift+Print" = "exec wayrecorder --notify --input area";
"${modifier}+Alt+Print" = "exec wayrecorder --notify --input active";
"${modifier}+Shift+Alt+Print" = "exec wayrecorder --notify --input window";
"${modifier}+Ctrl+Print" = "exec wayrecorder --notify --clipboard --input screen";
"${modifier}+Ctrl+Shift+Print" = "exec wayrecorder --notify --clipboard --input area";
"${modifier}+Ctrl+Alt+Print" = "exec wayrecorder --notify --clipboard --input active";
"${modifier}+Ctrl+Shift+Alt+Print" = "exec wayrecorder --notify --clipboard --input window";
2 Likes
brnix
7
Screen recording! I have not approached that yet! Thanks!