From 3cb52c0b38f3cc2c60906acf7825b2dd8a2370ea Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 5 Oct 2025 21:18:34 +0200 Subject: [PATCH] Correct bad path for sudoless Apple Display controls --- migrations/1759691413.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 migrations/1759691413.sh diff --git a/migrations/1759691413.sh b/migrations/1759691413.sh new file mode 100644 index 00000000..37fefa7c --- /dev/null +++ b/migrations/1759691413.sh @@ -0,0 +1,5 @@ +echo "Correct path for sudoless asdcontrol for working Apple Display hotkeys" + +if [[ $(command -v asdcontrol) == "/usr/bin/asdcontrol" ]]; then + echo "$USER ALL=(ALL) NOPASSWD: /usr/bin/asdcontrol" | sudo tee /etc/sudoers.d/asdcontrol +fi