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

8 lines
229 B
Bash
Raw Normal View History

2023-06-14 03:16:26 -04:00
#!/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