From 5eae8889768e82d8d9d158070360ae24f0bff97e Mon Sep 17 00:00:00 2001 From: BluishHumility Date: Wed, 16 Oct 2024 22:06:28 -0400 Subject: [PATCH] style(user_commands.bash): change nvidia comments to echoes so they show up in the log --- setup_sway_isomode.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup_sway_isomode.bash b/setup_sway_isomode.bash index f24eab1..c0a7989 100644 --- a/setup_sway_isomode.bash +++ b/setup_sway_isomode.bash @@ -12,9 +12,9 @@ git clone --branch nvidia-testing https://github.com/EndeavourOS-Community-Editi # Check if nvidia-inst is installed # If it is, do the Nvidia stuff if pacman -Qq nvidia-inst 2>/dev/null | grep -q .; then - # Add the --unsupported-gpu flag to the sway call in greetd.conf + echo "Adding the --unsupported-gpu flag to the sway call in greetd.conf..." sed -i 's|sway -c|sway --unsupported-gpu -c|' sway/etc/greetd/greetd.conf - # Create a custom desktop file that uses sway --unsupported-gpu + echo "Adding a custom desktop file for Nvidia sessions..." mkdir -p /usr/share/wayland-sessions cat < /usr/share/wayland-sessions/sway-nvidia.desktop [Desktop Entry]