nixos-configs/sway/scripts/tablet/tablet-mode.sh

8 lines
203 B
Bash
Executable file

#!/bin/bash
setsysmode tablet
gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled true
brightnessctl -d tpacpi::kbd_backlight s 0
$HOME/.config/sway/scripts/tablet/autorotate.sh