ParchLinux-Gaming/iso/airootfs/etc/systemd/system/envycontrol.sh
2024-07-26 13:13:31 +03:30

7 lines
145 B
Bash

#!/bin/bash
if [[ -f "/etc/modprobe.d/nvidia.conf" ]]; then
systemctl disable envycontrol.service
else
envycontrol -s nvidia --dm sddm
fi