1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2024-12-25 20:29:57 -06:00
dotfiles/fish/config.fish

27 lines
822 B
Fish
Raw Normal View History

2022-03-06 21:42:47 -06:00
if status is-interactive
# Commands to run in interactive sessions can go here
end
2022-03-09 19:58:58 -06:00
# set up direnv
2022-03-06 21:42:47 -06:00
direnv hook fish | source
2022-03-09 19:58:58 -06:00
# set current desktop, needed for desktop sharing with Wayland
2022-03-06 21:42:47 -06:00
set -gx XDG_CURRENT_DESKTOP sway
2022-03-09 19:58:58 -06:00
2022-05-08 02:01:36 -05:00
# make Qt apps use the theme set by qt5ct
set -gx QT_QPA_PLATFORMTHEME qt5ct
2022-03-09 19:58:58 -06:00
# load desktop files from flatpak
set -l xdg_data_home $XDG_DATA_HOME ~/.local/share
set -gx --path XDG_DATA_DIRS $xdg_data_home[1]/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
2022-04-19 21:20:39 -05:00
# Unlock login keyring
if test -n "$DESKTOP_SESSION"
set -x (gnome-keyring-daemon --start | string split "=")
end
2022-03-09 19:58:58 -06:00
for flatpakdir in ~/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bin
if test -d $flatpakdir
contains $flatpakdir $PATH; or set -a PATH $flatpakdir
end
end