chuwi-minibook-tablet-mode/toggle-tablet-mode
Richard Neumann 319eaea1c9 init
2019-03-23 14:11:21 +01:00

10 lines
294 B
Bash
Executable file

#! /bin/bash
if ( systemctl status tablet-mode.service ); then
sudo systemctl stop tablet-mode.service
notify-send "Laptop mode" "The system is now in laptop mode."
else
sudo systemctl start tablet-mode.service
notify-send "Tablet mode" "The system is now in tablet mode."
fi