1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00

fixed flatpak with fish as default shell

This commit is contained in:
eoli3n 2021-05-15 21:43:18 +02:00
parent 8051cb1aca
commit b9c34239fe
2 changed files with 11 additions and 2 deletions

1
TODO

@ -11,6 +11,7 @@
# ISSUES
* tiny-irc : https://github.com/osa1/tiny/issues/created_by/eoli3n
* firefox menu size when scaling : https://bugzilla.mozilla.org/show_bug.cgi?id=1638168
- /etc/profile.d not used with fish as default shell
# IMPROVMENTS
- wrap all .desktop with wofi

@ -1,3 +1,11 @@
# Set path by host
# See https://github.com/flatpak/flatpak/issues/3109
set -x XDG_DATA_DIRS "$XDG_DATA_DIRS:/usr/share/:/usr/local/share/:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"
# Flatpak directories don't get picked up anymore, so we'll mimic /etc/profile.d/flatpak*.sh
set -ga fish_user_paths ~/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bin
set -gx --path XDG_DATA_DIRS ~/.local/share/flatpak/exports/share
for install_dir in (flatpak --installations)
set -gxa XDG_DATA_DIRS $install_dir/exports/share
end
# These should also be here
set -gxa XDG_DATA_DIRS /usr/local/share /usr/share