mirror of
https://github.com/basecamp/omarchy.git
synced 2026-01-09 05:10:54 +08:00
Correct bad path for sudoless Apple Display controls
This commit is contained in:
parent
cab70bbe4f
commit
3cb52c0b38
5
migrations/1759691413.sh
Normal file
5
migrations/1759691413.sh
Normal file
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user