From f570d74150b976121c2b8b3f3080821b25be6270 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Thu, 16 Feb 2023 07:06:22 -0500 Subject: [PATCH] use nshift --- darkmode | 2 ++ 1 file changed, 2 insertions(+) diff --git a/darkmode b/darkmode index 4e48830..6c950f1 100755 --- a/darkmode +++ b/darkmode @@ -5,9 +5,11 @@ then ~/Documents/elgato/dist/elgato 192.168.1.2 192.168.1.4 night brightness -d 1 0.1; brightness -d 3 0.1 osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to true' + nshift 100 else ~/Documents/elgato/dist/elgato 192.168.1.2 192.168.1.4 day brightness -d 1 1; brightness -d 3 1 osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to false' + nshift 0 fi