mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-08 06:25:58 +01:00
Add flameshot as a screenshot tool option (#787)
* Add flameshot as a screenshot tool option * Add workaround for flameshot clipboard warp * higher emphasis on flameshot being broken
This commit is contained in:
parent
e066cb8ee8
commit
06a6f3ed28
1 changed files with 29 additions and 2 deletions
|
@ -63,7 +63,7 @@ external monitor through the iGPU.
|
|||
|
||||
### How do I screenshot?
|
||||
|
||||
Install `grim` and `slurp`.
|
||||
**Option 1:** Install `grim` and `slurp`.
|
||||
|
||||
Use a keybind (or execute) `grim -g "$(slurp)"`, and select a region. A screenshot
|
||||
will pop into your `~/Pictures/` (You can configure grim and slurp, see their
|
||||
|
@ -76,7 +76,34 @@ Here's an example binding:
|
|||
utility, try our own screenshotting utility:
|
||||
[Grimblast](https://github.com/hyprwm/contrib).
|
||||
|
||||
You can also use hyprshot, more info [here](https://github.com/Gustash/Hyprshot).
|
||||
**Option 2:** You can also use hyprshot, more info [here](https://github.com/Gustash/Hyprshot).
|
||||
|
||||
|
||||
**Option 3:** Install `flameshot`.
|
||||
|
||||
Flameshot has many built-in features like allowing you to draw with a paintbrush,
|
||||
add lines, add shapes, etc.
|
||||
|
||||
Flameshot was built originally for X and **it has many issues on Wayland** and users
|
||||
with HiDPI and multi-monitor setups have had mixed experiences with Flameshot.
|
||||
The options above are smoother and more native to Wayland. If you still want to
|
||||
use Flameshot, here are some configuration recommendations by users who've found
|
||||
workarounds.
|
||||
|
||||
```
|
||||
# noanim isn't necessary but animations with these rules might look bad. use at your own discretion.
|
||||
windowrulev2 = noanim, class:^(flameshot)$
|
||||
windowrulev2 = float, class:^(flameshot)$
|
||||
windowrulev2 = move 0 0, class:^(flameshot)$
|
||||
windowrulev2 = pin, class:^(flameshot)$
|
||||
# set this to your leftmost monitor id, otherwise you have to move your cursor to the leftmost monitor
|
||||
# before executing flameshot
|
||||
windowrulev2 = monitor 1, class:^(flameshot)$
|
||||
|
||||
# ctrl-c to copy from the flameshot gui gives warped images sometimes, but
|
||||
# setting the env fixes it
|
||||
bind = ..., exec, XDG_CURRENT_DESKTOP=sway flameshot gui
|
||||
```
|
||||
|
||||
For recording videos, [wf-recorder](https://github.com/ammen99/wf-recorder),
|
||||
[wl-screenrec](https://github.com/russelltg/wl-screenrec) or
|
||||
|
|
Loading…
Reference in a new issue