mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-08 13:44:53 +08:00
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.
7 lines
152 B
Bash
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
|