added sway-portals.conf

This commit is contained in:
Victor Tebar
2023-11-01 21:52:14 +00:00
parent 439973275d
commit fbd592e741
4 changed files with 12 additions and 2 deletions

View File

@@ -1,2 +1,3 @@
3db9bd06c2dd45e11ae7342a843bc1c8 sway-1.8.1.tar.gz
96db63109d51150c66cce8b9a9dff8bf sway-portals.conf
273ae3ec0ca43f3134cb3e533dde67fa sway.desktop

View File

@@ -1,4 +1,4 @@
sway-1.8.1-3
sway-1.8.1-4
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/sway/
-rw-r--r-- root/root etc/sway/config
@@ -45,6 +45,9 @@ drwxr-xr-x root/root usr/share/man/man7/
-rw-r--r-- root/root usr/share/man/man7/swaybar-protocol.7.gz
drwxr-xr-x root/root usr/share/wayland-sessions/
-rw-r--r-- root/root usr/share/wayland-sessions/sway.desktop
drwxr-xr-x root/root usr/share/xdg-desktop-portal/
drwxr-xr-x root/root usr/share/xdg-desktop-portal/portals/
-rw-r--r-- root/root usr/share/xdg-desktop-portal/portals/sway-portals.conf
drwxr-xr-x root/root usr/share/zsh/
drwxr-xr-x root/root usr/share/zsh/site-functions/
-rw-r--r-- root/root usr/share/zsh/site-functions/_sway

View File

@@ -3,8 +3,9 @@
name=sway
version=1.8.1
release=3
release=4
source="https://github.com/swaywm/sway/releases/download/$version/sway-$version.tar.gz
sway-portals.conf
sway.desktop"
build() {
@@ -15,4 +16,5 @@ build() {
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build
install -Dm644 $SRC/sway.desktop $PKG/usr/share/wayland-sessions/sway.desktop
install -Dm644 $SRC/sway-portals.conf -t $PKG/usr/share/xdg-desktop-portal/portals/
}

View File

@@ -0,0 +1,4 @@
[preferred]
default=gtk
org.freedesktop.impl.portal.Screencast=wlr
org.freedesktop.impl.portal.Screenshot=wlr