From 3f83fc9d5762c9c9d39440c4604e432bac5e2675 Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Fri, 7 Nov 2025 15:04:14 -0800 Subject: [PATCH] Also make phone stay awake in rdp mode --- users/caperren/caperren.nix | 2 +- .../dotfiles/.local/share/applications/phonerdp.desktop | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/users/caperren/caperren.nix b/users/caperren/caperren.nix index f0b3738..6dd8754 100644 --- a/users/caperren/caperren.nix +++ b/users/caperren/caperren.nix @@ -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"; diff --git a/users/caperren/dotfiles/.local/share/applications/phonerdp.desktop b/users/caperren/dotfiles/.local/share/applications/phonerdp.desktop index e291fc4..0c16e77 100644 --- a/users/caperren/dotfiles/.local/share/applications/phonerdp.desktop +++ b/users/caperren/dotfiles/.local/share/applications/phonerdp.desktop @@ -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; \ No newline at end of file