config-files/.config/fish/config.fish

28 lines
683 B
Fish
Raw Normal View History

2023-02-08 23:20:18 -05:00
# Exports
2023-02-08 11:16:16 -05:00
set --export EDITOR "vim"
set --export PF_INFO "ascii title os host kernel uptime pkgs memory wm shell editor palette"
2023-02-11 01:17:41 -05:00
set --export MANPAGER "sh -c 'col -bx | bat -l man -p'"
set --export QT_QPA_PLATFORMTHEME "gtk2"
2023-02-08 11:16:16 -05:00
2022-12-11 11:07:30 -05:00
if status is-interactive
end
2023-04-14 12:48:43 -04:00
# Start X at login
if status --is-login
2023-06-24 17:44:14 -04:00
while pactl load-module module-detect
end
if not pactl set-default-sink alsa_output.0.hdmi-stereo
pactl set-default-sink alsa_output.1.hdmi-stereo
end
2023-04-14 12:48:43 -04:00
if test -z "$DISPLAY" -a $XDG_VTNR = 1
exec startx -- -keeptty
end
end
2023-02-08 11:16:16 -05:00
fish_add_path "$HOME/.local/bin"
2023-04-14 12:48:43 -04:00
fish_add_path "$HOME/.cargo/bin"
2023-02-08 11:16:16 -05:00
source "$HOME/.config/fish/abbreviations.fish"
2022-12-11 11:07:30 -05:00
starship init fish | source