1 2 3 4 5 6 7 8 9 10 11
do_setcap() { setcap cap_sys_nice=eip $(realpath $(which gamescope)) } post_install() { do_setcap } post_upgrade() { do_setcap }