From c7fd75d787c4ca2f631a24426b26c8c1af94b068 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 11 Feb 2022 11:39:10 +0300 Subject: [PATCH] Import xdg-desktop-portal-wlr config This is important for the screensharing prompt. By default it seems to just use slurp, which is slightly confusing. See: https://github.com/emersion/xdg-desktop-portal-wlr/issues/124 --- config.yaml | 5 +++++ dotfiles/config/xdg-desktop-portal-wlr/config | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 dotfiles/config/xdg-desktop-portal-wlr/config diff --git a/config.yaml b/config.yaml index 4a15378..c5803b0 100644 --- a/config.yaml +++ b/config.yaml @@ -54,6 +54,9 @@ dotfiles: f_bashrc: src: bashrc dst: ~/.bashrc + f_xdg_desktop_portal_wlr_config: + src: config/xdg-desktop-portal-wlr/config + dst: ~/.config/xdg-desktop-portal-wlr/config profiles: balozi: dotfiles: @@ -73,6 +76,7 @@ profiles: - f_sway-session.target - f_psqlrc - f_pam_environment + - f_xdg_desktop_portal_wlr_config knafeh: dotfiles: - d_vim @@ -91,3 +95,4 @@ profiles: - f_sway-session.target - f_psqlrc - f_pam_environment + - f_xdg_desktop_portal_wlr_config diff --git a/dotfiles/config/xdg-desktop-portal-wlr/config b/dotfiles/config/xdg-desktop-portal-wlr/config new file mode 100644 index 0000000..82efa1f --- /dev/null +++ b/dotfiles/config/xdg-desktop-portal-wlr/config @@ -0,0 +1,4 @@ +# 2021-05-24: See https://github.com/emersion/xdg-desktop-portal-wlr/issues/124 +[screencast] +chooser_cmd = wofi -d -n --prompt='Select the monitor to share:' +chooser_type = dmenu