Compare commits

..

2 Commits

Author SHA1 Message Date
Storm Dragon
57a0fddce7 Include functions in toggle-screen. 2025-04-23 21:03:06 -04:00
Storm Dragon
f8044c0a98 Make toggle-screen a little more verbose about what has been done and what needs to happen afterwards. 2025-04-23 21:01:36 -04:00

View File

@@ -58,10 +58,15 @@ EOF
} }
source ./.includes/functions.sh
source ./.includes/ui.sh source ./.includes/ui.sh
answer=$(yesno "Do you have a physical screen attached?") answer=$(yesno "Do you have a physical screen attached?")
if [[ "${answer}" == "yes" ]]; then if [[ "${answer}" == "yes" ]]; then
active_screen active_screen
msgbox "Settings for physical screen applied."
restart
else else
headless headless
msgbox "Headless mode applied."
restart
fi fi