Added sway-portal.conf to COPR (#234)
This commit is contained in:
parent
271af3d474
commit
d1482ad992
|
@ -8,12 +8,13 @@
|
||||||
|
|
||||||
Name: {{{ git_dir_name }}}
|
Name: {{{ git_dir_name }}}
|
||||||
Version: %{Tag}
|
Version: %{Tag}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: SwayFX: Sway, but with eye candy!
|
Summary: SwayFX: Sway, but with eye candy!
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/WillPower3309/swayfx
|
URL: https://github.com/WillPower3309/swayfx
|
||||||
VCS: {{{ git_dir_vcs }}}
|
VCS: {{{ git_dir_vcs }}}
|
||||||
Source: {{{ git_dir_pack }}}
|
Source: {{{ git_dir_pack }}}
|
||||||
|
Source101: sway-portals.conf
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
|
@ -113,6 +114,9 @@ sed -i "s|^output \* bg .*|output * bg /usr/share/backgrounds/default.png fill|"
|
||||||
# Create directory for extra config snippets
|
# Create directory for extra config snippets
|
||||||
install -d -m755 -pv %{buildroot}%{_sysconfdir}/sway/config.d
|
install -d -m755 -pv %{buildroot}%{_sysconfdir}/sway/config.d
|
||||||
|
|
||||||
|
# Install portals.conf for xdg-desktop-portal
|
||||||
|
install -D -m644 -pv %{SOURCE101} %{buildroot}%{_datadir}/xdg-desktop-portal/sway-portals.conf
|
||||||
|
|
||||||
# install python scripts from contrib
|
# install python scripts from contrib
|
||||||
install -D -m644 -pv -t %{buildroot}%{_datadir}/sway/contrib contrib/*.py
|
install -D -m644 -pv -t %{buildroot}%{_datadir}/sway/contrib contrib/*.py
|
||||||
|
|
||||||
|
@ -135,15 +139,11 @@ install -D -m755 -pv contrib/grimshot %{buildroot}%{_bindir}/grimshot
|
||||||
%{_bindir}/swaynag
|
%{_bindir}/swaynag
|
||||||
%{_datadir}/sway
|
%{_datadir}/sway
|
||||||
%{_datadir}/wayland-sessions/sway.desktop
|
%{_datadir}/wayland-sessions/sway.desktop
|
||||||
%dir %{_datadir}/zsh
|
%dir %{_datadir}/xdg-desktop-portal
|
||||||
%dir %{_datadir}/zsh/site-functions
|
%{_datadir}/xdg-desktop-portal/sway-portals.conf
|
||||||
%{_datadir}/zsh/site-functions/_sway*
|
%{bash_completions_dir}/sway*
|
||||||
%dir %{_datadir}/bash-completion
|
%{fish_completions_dir}/sway*.fish
|
||||||
%dir %{_datadir}/bash-completion/completions
|
%{zsh_completions_dir}/_sway*
|
||||||
%{_datadir}/bash-completion/completions/sway*
|
|
||||||
%dir %{_datadir}/fish
|
|
||||||
%dir %{_datadir}/fish/vendor_completions.d
|
|
||||||
%{_datadir}/fish/vendor_completions.d/sway*
|
|
||||||
|
|
||||||
%files wallpapers
|
%files wallpapers
|
||||||
%license assets/LICENSE
|
%license assets/LICENSE
|
||||||
|
|
6
sway-portals.conf
Normal file
6
sway-portals.conf
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[preferred]
|
||||||
|
# Use xdg-desktop-portal-gtk for every portal interface...
|
||||||
|
default=gtk
|
||||||
|
# ... except for the ScreenCast and Screenshot
|
||||||
|
org.freedesktop.impl.portal.ScreenCast=wlr
|
||||||
|
org.freedesktop.impl.portal.Screenshot=wlr
|
Loading…
Reference in a new issue