fix: signal-desktop version 6.38.0, screen sharing

This commit is contained in:
teutat3s 2023-11-12 18:09:29 +01:00
parent e15f6ad4ea
commit ac516f2349
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 9 additions and 3 deletions

View file

@ -19,7 +19,7 @@ bindsym $mod+Shift+h exec psos help
bindsym $mod+F2 exec firefox bindsym $mod+F2 exec firefox
bindsym $mod+F4 exec nautilus -w bindsym $mod+F4 exec nautilus -w
bindsym $mod+Shift+F4 exec signal-desktop --use-tray-icon --enable-features=WebRTCPipeWireCapturer bindsym $mod+Shift+F4 exec signal-desktop --use-tray-icon
# Notifications with swaynotificationcenter # Notifications with swaynotificationcenter
# Toggle control center # Toggle control center

View file

@ -1,12 +1,18 @@
final: prev: { final: prev: {
signal-desktop = prev.signal-desktop.overrideAttrs (oldAttrs: rec { signal-desktop = prev.signal-desktop.overrideAttrs (oldAttrs: rec {
inherit (oldAttrs) pname; inherit (oldAttrs) pname;
version = "6.38.0";
hash = "sha256-y2mwO7Qc01vuIeJUcAxYDD97DXOwXCd8wNZmkG4maF0=";
dir = "Signal"; dir = "Signal";
src = prev.fetchurl {
url = "https://updates.signal.org/desktop/apt/pool/s/${pname}/${pname}_${version}_amd64.deb";
inherit hash;
};
preFixup = '' preFixup = ''
gappsWrapperArgs+=( gappsWrapperArgs+=(
--prefix LD_LIBRARY_PATH : "${prev.lib.makeLibraryPath [prev.stdenv.cc.cc]}" --prefix LD_LIBRARY_PATH : "${prev.lib.makeLibraryPath [prev.stdenv.cc.cc prev.pipewire]}"
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-features=UseOzonePlatform --ozone-platform=wayland}}"
--suffix PATH : ${prev.lib.makeBinPath [prev.xdg-utils]} --suffix PATH : ${prev.lib.makeBinPath [prev.xdg-utils]}
) )
# Fix the desktop link # Fix the desktop link