From: Edward Delaporte Date: Fri, 29 Oct 2021 23:42:53 +0000 (-0500) Subject: Merge branch 'main' of https://github.com/edthedev/dotfiles X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/9da1c752017d4d4039da19a401cd2c2018f1f5a4?hp=87c8acd34f27b343a10fd66a3b7dac7e6a40d12e Merge branch 'main' of https://github.com/edthedev/dotfiles --- diff --git a/pi/install/rdp.sh b/pi/install/rdp.sh index 5bf5f04..ca235b9 100644 --- a/pi/install/rdp.sh +++ b/pi/install/rdp.sh @@ -1 +1 @@ -sudo apt install xrdp +sudo apt install xrdp remmina diff --git a/win/stay_awake.ps1 b/win/stay_awake.ps1 new file mode 100644 index 0000000..aba956a --- /dev/null +++ b/win/stay_awake.ps1 @@ -0,0 +1,10 @@ +$wsh = New-Object -ComObject WScript.Shell +$minutes = 15 +do{ + "Staying awake for $minutes minutes" + $minutes-=1; + # Send Shift+F15 + $wsh.SendKeys('+{F15}') + Start-Sleep -seconds 59 +}until($minutes -lt 0) +# Thank you to http://www.zhornsoftware.co.uk/caffeine/