From dfbbee4cb3f4cfc6465292b0dadbf03cab7d8ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Gon=C3=A7alves?= Date: Sat, 4 Jan 2025 23:35:59 -0300 Subject: [PATCH] Improve support for orca --- bigbashview/usr/bin/bigbashview-orca | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bigbashview/usr/bin/bigbashview-orca b/bigbashview/usr/bin/bigbashview-orca index 356af5c..3ee367f 100755 --- a/bigbashview/usr/bin/bigbashview-orca +++ b/bigbashview/usr/bin/bigbashview-orca @@ -1,7 +1,5 @@ #!/usr/bin/env sh -# if $1 is --enable start orca, if --disable stop orca - if [ "$1" = "--enable" ]; then # Autostart in GNOME @@ -14,9 +12,10 @@ if [ "$1" = "--enable" ]; then kwriteconfig6 --file ~/.config/kaccessrc --group ScreenReader --key Enabled true 2> /dev/null # Start orca - exec orca + exec orca & + +elif [ "$1" = "--disable" ]; then -elif [ "$1" = "--disable" ]; # Autostart in GNOME GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.a11y.applications screen-reader-enabled false 2> /dev/null @@ -29,4 +28,4 @@ elif [ "$1" = "--disable" ]; killall orca else echo $"Possible options: --enable or --disable" -fi \ No newline at end of file +fi