Also make phone stay awake in rdp mode

This commit is contained in:
2025-11-07 15:04:14 -08:00
parent f536cea5c3
commit 3f83fc9d57
2 changed files with 2 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ in
# Custom bash aliases
home.shellAliases = {
# Phone remote desktop over usb (adb), with some default flags I want
phonerdp = "scrcpy --no-audio --orientation=0 --turn-screen-off";
phonerdp = "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake";
# Streamdeck isn't easy to manually edit, so make a save command to copy any updates to the repo
savestreamdeck = "cp ~/.streamdeck_ui.json ~/.nixos-configs/users/caperren/dotfiles/streamdeck/.streamdeck_ui.json";

View File

@@ -1,7 +1,7 @@
[Desktop Entry]
Type=Application
Name=Phone RDP
Exec=bash -c "scrcpy --no-audio --orientation=0 --turn-screen-off"
Exec=bash -c "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake"
Icon=phonerdp
Terminal=false
Categories=Utilities;