diff --git a/modules/graphical/sway/config/config.d/custom-keybindings.conf b/modules/graphical/sway/config/config.d/custom-keybindings.conf index 9f3b5050..6d3019b6 100644 --- a/modules/graphical/sway/config/config.d/custom-keybindings.conf +++ b/modules/graphical/sway/config/config.d/custom-keybindings.conf @@ -19,7 +19,7 @@ bindsym $mod+Shift+h exec psos help bindsym $mod+F2 exec firefox 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 # Toggle control center diff --git a/overlays/signal-desktop.nix b/overlays/signal-desktop.nix index c8b93567..4cab3bc8 100644 --- a/overlays/signal-desktop.nix +++ b/overlays/signal-desktop.nix @@ -1,12 +1,18 @@ final: prev: { signal-desktop = prev.signal-desktop.overrideAttrs (oldAttrs: rec { inherit (oldAttrs) pname; + version = "6.38.0"; + hash = "sha256-y2mwO7Qc01vuIeJUcAxYDD97DXOwXCd8wNZmkG4maF0="; dir = "Signal"; + src = prev.fetchurl { + url = "https://updates.signal.org/desktop/apt/pool/s/${pname}/${pname}_${version}_amd64.deb"; + inherit hash; + }; preFixup = '' gappsWrapperArgs+=( - --prefix LD_LIBRARY_PATH : "${prev.lib.makeLibraryPath [prev.stdenv.cc.cc]}" - --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" + --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 --enable-features=UseOzonePlatform --ozone-platform=wayland}}" --suffix PATH : ${prev.lib.makeBinPath [prev.xdg-utils]} ) # Fix the desktop link