nixos-configs/hypr/scripts/tablet/tablet-toggle.sh
2023-06-14 03:16:26 -04:00

7 lines
229 B
Bash
Executable file

#!/usr/bin/env 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