# # ~/.bashrc # # If not running interactively, don't do anything [[ $- != *i* ]] && return alias sudo='doas' alias ls='ls --color=auto' alias grep='grep --color=auto' PS1='[\u@\h \W]\$ ' if [ "$(tty)" = "/dev/tty1" ]; then # Session export XDG_SESSION_TYPE=wayland export XDG_SESSION_DESKTOP=sway export XDG_CURRENT_DESKTOP=sway # Wayland stuff export MOZ_ENABLE_WAYLAND=1 export QT_QPA_PLATFORM=wayland export SDL_VIDEODRIVER=wayland export _JAVA_AWT_WM_NONREPARENTING=1 exec sway fi complete -cf doas source /usr/share/fzf/key-bindings.bash source /usr/share/fzf/completion.bash