4 lines
173 B
Bash
4 lines
173 B
Bash
#!/bin/bash
|
|
|
|
echo "$(whoami) ALL=(root) NOPASSWD: sha256:$(shasum -a 256 $(which yabai) | cut -d " " -f 1) $(which yabai) --load-sa" | sudo tee /private/etc/sudoers.d/yabai
|