nixos-configs/hypr/scripts/tablet/tablet-toggle.sh

7 lines
221 B
Bash
Executable file

#!/bin/bash
if [[ $(gsettings get org.gnome.desktop.a11y.applications screen-keyboard-enabled) == true ]]; then
$HOME/.config/sway/scripts/tablet/laptop-mode.sh
else
$HOME/.config/sway/scripts/tablet/tablet-mode.sh
fi