-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
remove the niri-session, as that's a systemd-only binary. replace with niri --session which automatically adds envs. | ||
-- | ||
--- a/resources/niri.desktop | ||
+++ b/resources/niri.desktop | ||
@@ -1,6 +1,6 @@ | ||
[Desktop Entry] | ||
Name=Niri | ||
Comment=A scrollable-tiling Wayland compositor | ||
-Exec=niri-session | ||
+Exec=/usr/bin/niri --session | ||
Type=Application | ||
DesktopNames=niri |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Template file for 'niri' | ||
pkgname=niri | ||
version=0.1.10 | ||
revision=1 | ||
build_style=cargo | ||
configure_args="--no-default-features --features xdp-gnome-screencast" | ||
hostmakedepends="pkg-config clang18-devel" | ||
makedepends="eudev-libudev-devel libxkbcommon-devel libinput-devel libgbm-devel | ||
libdisplay-info-devel pipewire-devel pango-devel libseat-devel clang18-devel" | ||
short_desc="Scrollable-tiling Wayland compositor" | ||
maintainer="joetroll <joetroll@proton.me>" | ||
license="GPL-3.0-or-later" | ||
homepage="https://github.com/YaLTeR/niri" | ||
changelog="https://github.com/YaLTeR/niri/releases" | ||
distfiles="https://github.com/YaLTeR/niri/archive/refs/tags/v${version}.tar.gz" | ||
checksum=2a6e6c21b05c14498eb84e58853c0a4c9d96d4215b8aec53388e89266fccca1b | ||
|
||
post_install() { | ||
vinstall resources/niri.desktop 644 usr/share/wayland-sessions | ||
vinstall resources/niri-portals.conf 644 usr/share/xdg-desktop-portal | ||
} |