mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Correct bad path for sudoless Apple Display controls
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user