Files
dotfiles/.config/yabai/scripting_addition_install.sh

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