Lots: Fix being unable to start session with SDDM
This commit is contained in:
Submodule .firestarter updated: b054d1d1ca...9bf854d22f
10
.xinitrc
10
.xinitrc
@@ -1,5 +1,15 @@
|
|||||||
#!/bin/bash
|
#!/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
|
if [ -x "$HOME/.wpgen/wpgen" ]; then
|
||||||
resolutions=($(xrandr -q | grep '*' | awk '{print $1}'))
|
resolutions=($(xrandr -q | grep '*' | awk '{print $1}'))
|
||||||
for res in ${resolutions[@]}; do
|
for res in ${resolutions[@]}; do
|
||||||
|
17
.xsessionrc
17
.xsessionrc
@@ -1,17 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
export XSESSION_HAS_SOURCED=1
|
|
||||||
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 command -v qt5ct > /dev/null 2>&1; then
|
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
|
||||||
export QT_AUTO_SCREEN_SCALE_FACTOR=0
|
|
||||||
fi
|
|
||||||
|
|
||||||
export PATH="$PATH:$HOME/.bin:$HOME/.local/bin"
|
|
||||||
if command -v go > /dev/null 2>&1; then
|
|
||||||
export PATH="$PATH:$HOME/.local/go/bin"
|
|
||||||
fi
|
|
1
.xsessionrc
Symbolic link
1
.xsessionrc
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
.xinitrc
|
Reference in New Issue
Block a user