Starting to break out for different XPS systems

This commit is contained in:
2025-10-10 22:30:51 -05:00
parent 3166ad5b32
commit 1e291f4366
37 changed files with 898 additions and 1041 deletions

32
debug-sway.sh Executable file
View File

@@ -0,0 +1,32 @@
#!/bin/bash
# Debug script for SDDM and Sway session issues
echo "=== SDDM and Sway Debug Information ==="
echo -e "\n1. Checking if Sway is installed:"
which sway 2>/dev/null || echo "Sway not found in PATH"
echo -e "\n2. Checking Sway desktop files:"
find /nix/store -name "sway.desktop" 2>/dev/null | head -3
echo -e "\n3. Checking current SDDM configuration:"
if [ -f /etc/sddm.conf ]; then
cat /etc/sddm.conf
else
echo "SDDM config file not found"
fi
echo -e "\n4. Checking available sessions:"
ls -la /usr/share/wayland-sessions/ 2>/dev/null || echo "No wayland-sessions directory found"
ls -la /usr/share/xsessions/ 2>/dev/null || echo "No xsessions directory found"
echo -e "\n5. Checking if SDDM service is running:"
systemctl status sddm 2>/dev/null || echo "Cannot check SDDM status"
echo -e "\n6. Checking environment variables:"
echo "XDG_SESSION_TYPE: $XDG_SESSION_TYPE"
echo "XDG_CURRENT_DESKTOP: $XDG_CURRENT_DESKTOP"
echo -e "\n7. Testing Sway startup:"
echo "Run this command to test Sway:"
echo "sway --debug 2>&1 | head -10"