feat(user_commands.bash): use sed to add --unsupported-gpu flag to greetd.conf
This commit is contained in:
@@ -8,8 +8,8 @@ git clone https://github.com/EndeavourOS-Community-Editions/sway.git
|
|||||||
# Check if nvidia-inst is installed
|
# Check if nvidia-inst is installed
|
||||||
if pacman -Qq nvidia-inst 2>/dev/null | grep -q .; then
|
if pacman -Qq nvidia-inst 2>/dev/null | grep -q .; then
|
||||||
# If it is, do the Nvidia stuff
|
# If it is, do the Nvidia stuff
|
||||||
# some Nvidia stuff
|
sed -i 's|sway -c|sway --unsupported-gpu -c|' sway/etc/greetd/greetd.conf
|
||||||
# some other Nvidia stuff
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install the custom package list
|
# Install the custom package list
|
||||||
|
|||||||
Reference in New Issue
Block a user