Mailspring/snap/hooks/configure
Marco Trevisan 119e847545 snap: Make native wayland client support configurable
Make possible for users to enable the native wayland client by using
  snap set mailspring wayland-native=true

By default mailspring will use xwayland, but the support can be toggled
by users with the said command.
2025-04-15 15:28:07 +02:00

7 lines
152 B
Bash

#!/usr/bin/env bash
set -eu
wayland_native="$(snapctl get wayland-native)"
if [[ -z "$wayland_native" ]]; then
snapctl set wayland-native=false
fi