nixos-configs/hypr/scripts/tablet/laptop-mode.sh

9 lines
212 B
Bash
Executable file

#!/usr/bin/env bash
eww update toggle-state=false
gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled false
brightnessctl -d tpacpi::kbd_backlight s 2
killall iio-hyprland
killall evtest