diff --git a/dot_config/systemd/user/basic.target.wants/symlink_systemd-tmpfiles-setup.service b/dot_config/systemd/user/basic.target.wants/symlink_systemd-tmpfiles-setup.service new file mode 100644 index 0000000..96bbbaa --- /dev/null +++ b/dot_config/systemd/user/basic.target.wants/symlink_systemd-tmpfiles-setup.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/systemd-tmpfiles-setup.service diff --git a/dot_config/user-tmpfiles.d/discord-rpc.conf b/dot_config/user-tmpfiles.d/discord-rpc.conf new file mode 100644 index 0000000..50fd846 --- /dev/null +++ b/dot_config/user-tmpfiles.d/discord-rpc.conf @@ -0,0 +1 @@ +L %t/discord-ipc-0 - - - - app/com.discordapp.Discord/discord-ipc-0 diff --git a/dot_profile b/dot_profile index 33479ce..df14df9 100644 --- a/dot_profile +++ b/dot_profile @@ -1,7 +1,7 @@ # First make sure dbus is started if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then - export DBUS_SESSION_BUS_ADDRESS="$(dbus-daemon --session --fork --print-address)" + export DBUS_SESSION_BUS_ADDRESS="$(dbus-daemon --session --fork --print-address)" fi echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS" @@ -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 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 QT_QPA_PLATFORMTHEME=qt5ct -export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:~/.local/lib/" - -#sway +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:~/.local/share/JetBrains/Toolbox/scripts" +export PATH="$PATH:/home/${USER}/.local/share/JetBrains/Toolbox/scripts" +#sway diff --git a/dot_zprofile b/dot_zprofile index 95cdb4b..3819179 100644 --- a/dot_zprofile +++ b/dot_zprofile @@ -6,10 +6,19 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then if ! export ${wort%=*}=${wort#*=}; then echo "cannot export ${wort}!!!"; fi done + 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 - export QT_QPA_PLATFORMTHEME=qt5ct - echo "exec i3" > ~/.xinitrc startx else @@ -54,10 +63,6 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then export PAN_MESA_DEBUG=gl3 #Fix alacritty 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 EDITOR=vim @@ -67,9 +72,3 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then exec sway fi fi - - - -# Added by Toolbox App -export PATH="$PATH:~/.local/share/JetBrains/Toolbox/scripts" -