diff --git a/.config/fish/config.fish b/.config/fish/config.fish index abc6bc4..ce0e409 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,5 +1,13 @@ set PATH ~/bin ~/.local/bin ~/.go/bin ~/.cargo/bin /bin /sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin ~/.cabal/bin /usr/lib/go/bin ~/.gem/ruby/1.9.1/bin $PATH +if command -vq flatpak + set -ga fish_user_paths ~/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bin + set -gx --path XDG_DATA_DIRS /usr/local/share/ /usr/share/ ~/.local/share/flatpak/exports/share + for install_dir in (flatpak --installations) + set -gxa XDG_DATA_DIRS $install_dir/exports/share + end +end + set fish_greeting "" set EDITOR vi set -x GOPATH ~/.go diff --git a/.local/share/applications/com.spotify.Client.desktop b/.local/share/applications/com.spotify.Client.desktop index 1240b5d..bd0a8d4 100755 --- a/.local/share/applications/com.spotify.Client.desktop +++ b/.local/share/applications/com.spotify.Client.desktop @@ -4,7 +4,7 @@ Name=Spotify GenericName=Online music streaming service Comment=Access all of your favorite music Icon=com.spotify.Client -Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client --force-device-scale-factor=1.5 @@u %U @@ +Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client --force-device-scale-factor=1.3 @@u %U @@ Terminal=false MimeType=x-scheme-handler/spotify; Categories=Audio;Music;AudioVideo;