add steam-deck mode
This commit is contained in:
parent
0c23017d70
commit
da4bd6baad
1 changed files with 12 additions and 9 deletions
21
dot_zprofile
21
dot_zprofile
|
@ -8,15 +8,6 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
|||
|
||||
export QT_QPA_PLATFORMTHEME=qt6ct
|
||||
|
||||
export PATH="$PATH:/home/${USER}/.local/bin/"
|
||||
export PATH="$PATH:/home/${USER}/go/bin/"
|
||||
export PATH="$PATH:/home/${USER}/.local/share/flatpak/exports/bin/"
|
||||
|
||||
export XDG_DATA_DIRS="/usr/share/:/usr/local/share/:/var/lib/flatpak/exports/share/:/home/${USER}/.local/share/flatpak/exports/share/"
|
||||
|
||||
# Added by Toolbox App
|
||||
export PATH="$PATH:/home/${USER}/.local/share/JetBrains/Toolbox/scripts"
|
||||
|
||||
# First make sure dbus is started
|
||||
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
||||
export DBUS_SESSION_BUS_ADDRESS="$(dbus-daemon --session --fork --print-address)"
|
||||
|
@ -34,6 +25,15 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
export PATH="$PATH:/home/${USER}/.local/bin/"
|
||||
export PATH="$PATH:/home/${USER}/go/bin/"
|
||||
export PATH="$PATH:/home/${USER}/.local/share/flatpak/exports/bin/"
|
||||
|
||||
export XDG_DATA_DIRS="/usr/share/:/usr/local/share/:/var/lib/flatpak/exports/share/:/home/${USER}/.local/share/flatpak/exports/share/"
|
||||
|
||||
# Added by Toolbox App
|
||||
export PATH="$PATH:/home/${USER}/.local/share/JetBrains/Toolbox/scripts"
|
||||
|
||||
# Enable SSH agent
|
||||
eval $(keychain --noask --eval --quiet)
|
||||
|
||||
|
@ -47,6 +47,9 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
|||
if [ "${autostartdesktop}" = "i3" ]; then
|
||||
echo "exec i3" > ~/.xinitrc
|
||||
startx
|
||||
elif [ "${autostartdesktop}" = "steamos" ]; then
|
||||
echo "exec steamos-session" > ~/.xinitrc
|
||||
startx
|
||||
else
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
||||
|
|
Loading…
Reference in a new issue