Lots: Fix being unable to start session with SDDM
This commit is contained in:
10
.xinitrc
10
.xinitrc
@@ -1,5 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -n "$FIRESTARTER" ]; then
|
||||
echo "Firestarter is already running in this session"
|
||||
exit 50
|
||||
fi
|
||||
for term in mate-terminal lxterminal xfce4-terminal konsole urxvt xterm; do
|
||||
if command -v "$term" > /dev/null 2>&1; then
|
||||
export TERMINAL="$term"
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [ -x "$HOME/.wpgen/wpgen" ]; then
|
||||
resolutions=($(xrandr -q | grep '*' | awk '{print $1}'))
|
||||
for res in ${resolutions[@]}; do
|
||||
|
Reference in New Issue
Block a user