add flatpack and discord gfn integration

This commit is contained in:
Simon Rieger 2023-06-05 23:31:57 +02:00
parent f291a23f75
commit 6a00cdbf47
4 changed files with 21 additions and 20 deletions

View file

@ -0,0 +1 @@
/usr/lib/systemd/user/systemd-tmpfiles-setup.service

View file

@ -0,0 +1 @@
L %t/discord-ipc-0 - - - - app/com.discordapp.Discord/discord-ipc-0

View file

@ -27,15 +27,15 @@ export _JAVA_AWT_WM_NONREPARENTING=1 #Make java programs work somewhat
export PAN_MESA_DEBUG=gl3 #Fix alacritty not starting export PAN_MESA_DEBUG=gl3 #Fix alacritty not starting
export MOZ_ENABLE_WAYLAND=1 # Fix firefox not starting export MOZ_ENABLE_WAYLAND=1 # Fix firefox not starting
export PATH="$PATH:~/.local/bin/" export QT_QPA_PLATFORMTHEME=qt5ct
export PATH="$PATH:~/go/bin/"
export PATH="$PATH:~/.local/share/flatpak/exports/bin/"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:~/.local/lib/" export PATH="$PATH:/home/${USER}/.local/bin/"
export PATH="$PATH:/home/${USER}/go/bin/"
#sway 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 # Added by Toolbox App
export PATH="$PATH:~/.local/share/JetBrains/Toolbox/scripts" export PATH="$PATH:/home/${USER}/.local/share/JetBrains/Toolbox/scripts"
#sway

View file

@ -6,10 +6,19 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
if ! export ${wort%=*}=${wort#*=}; then echo "cannot export ${wort}!!!"; fi if ! export ${wort%=*}=${wort#*=}; then echo "cannot export ${wort}!!!"; fi
done done
# Falls autostartdesktop auf i3 gesetzt wird, wird i3 statt sway gestartet
if [ "${autostartdesktop}" = "i3" ]; then
export QT_QPA_PLATFORMTHEME=qt5ct export QT_QPA_PLATFORMTHEME=qt5ct
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"
# Falls autostartdesktop auf i3 gesetzt wird, wird i3 statt sway gestartet
if [ "${autostartdesktop}" = "i3" ]; then
echo "exec i3" > ~/.xinitrc echo "exec i3" > ~/.xinitrc
startx startx
else else
@ -54,10 +63,6 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
export PAN_MESA_DEBUG=gl3 #Fix alacritty not starting export PAN_MESA_DEBUG=gl3 #Fix alacritty not starting
export MOZ_ENABLE_WAYLAND=1 # Fix firefox not starting export MOZ_ENABLE_WAYLAND=1 # Fix firefox not starting
export PATH="$PATH:~/.local/bin/"
export PATH="$PATH:~/go/bin/"
export PATH="$PATH:~/.local/share/flatpak/exports/bin/"
export TERMINAL=wezterm export TERMINAL=wezterm
export EDITOR=vim export EDITOR=vim
@ -67,9 +72,3 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
exec sway exec sway
fi fi
fi fi
# Added by Toolbox App
export PATH="$PATH:~/.local/share/JetBrains/Toolbox/scripts"