toggle-on-screen-keyboard.sh

librem-5-utilities

Created by Ainent on 03-28-22.

Copyright © 2022 Ainent. All rights reserved.

This file is part of librem-5-utilities.

librem-5-utilities is free software: you can redistribute it and/or modify it under the

terms of the GNU General Public License as published by the Free

Software Foundation, version 3 of the License only.

librem-5-utilities is distributed in the hope that it will be useful, but WITHOUT ANY

WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS

FOR A PARTICULAR PURPOSE. See the GNU General Public License for more

details.

You should have received a copy of the GNU General Public License along

with librem-5-utilities. If not, see https://www.gnu.org/licenses/.

!/bin/zsh

IS_KEYBOARD_ENABLED=$(gsettings get org.gnome.desktop.a11y.applications screen-keyboard-enabled)

if [ $IS_KEYBOARD_ENABLED = 'true' ]; then

echo "On-screen keyboard on, disabling..."

gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled false

else

echo "On-screen keyboard off, enabling..."

gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled true

fi

Proxy Information
Original URL
gemini://ainent.xyz/downloads/librem-5/toggle-on-screen-keyboard.sh
Status Code
Success (20)
Meta
application/x-sh
Capsule Response Time
761.432779 milliseconds
Gemini-to-HTML Time
0.932324 milliseconds

This content has been proxied by September (ba2dc).