mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-25 23:45:58 +01:00
Add -r flag to slurp
This prevents the user from selecting a custom region, and forces them to select a full output.
This commit is contained in:
parent
bb13697c01
commit
7f6b4090e0
3 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
[screencast]
|
||||
output_name=
|
||||
max_fps=30
|
||||
chooser_cmd="slurp -f %o -o"
|
||||
chooser_cmd="slurp -f %o -or"
|
||||
chooser_type=simple
|
||||
|
|
|
@ -456,7 +456,7 @@ error_chooser_in:
|
|||
static struct xdpw_wlr_output *wlr_output_chooser_default(struct wl_list *output_list) {
|
||||
logprint(DEBUG, "wlroots: output chooser called");
|
||||
struct xdpw_output_chooser default_chooser[] = {
|
||||
{XDPW_CHOOSER_SIMPLE, "slurp -f %o -o"},
|
||||
{XDPW_CHOOSER_SIMPLE, "slurp -f %o -or"},
|
||||
{XDPW_CHOOSER_DMENU, "wofi -d -n"},
|
||||
{XDPW_CHOOSER_DMENU, "bemenu"},
|
||||
};
|
||||
|
|
|
@ -28,7 +28,7 @@ max_fps=30
|
|||
exec_before=disable_notifications.sh
|
||||
exec_after=enable_notifications.sh
|
||||
chooser_type=simple
|
||||
chooser_cmd="slurp -f %o -o"
|
||||
chooser_cmd="slurp -f %o -or"
|
||||
```
|
||||
|
||||
# SCREENCAST OPTIONS
|
||||
|
|
Loading…
Reference in a new issue