Add scripts/backtotty.sh

This commit is contained in:
2026-01-18 19:09:05 -05:00
parent 605c4a0597
commit ea4ffe12bd

7
scripts/backtotty.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
systemctl stop sddm
systemctl restart getty@tty1.service
pkill -u admin -9 2>/dev/null || true
pkill -f "lxqt" 2>/dev/null || true
pkill -u admin -f "lxqt-" 2>/dev/null || true
chvt 1