dotwryn/config/xinitrc.common
yage ad66d50b11 BIG REFACTOR; PLEASE BE ADVISED
finally going to commit that zshrc refactor

- smolvsdefault on altaria
- i3-utils refactor
- no need for custom scwrypt executable anymore
- time to say goodbye to the old dotwryn.env in favor of the new and improved rc.ds
- vim/rc.d refactor + QuickREPL and QuickCommand replacements for \r and \t
- going to stop tracking Archives explicitly until new hard drive
- tty-colorscheme is now referenced directly
- colorscheme/spring-sunset needed to swap primary/secondary colors for focus in i3 since it was confusing
- setup config no longer needs to create ~/.config/wryn/env.vim; added some dependencies to arch-linux
- switch from dmenu to rofi by default; allow .i3 overrides in colorschemes; tty-colorscheme is now referenced directly
2024-05-07 21:52:43 -06:00

25 lines
501 B
Bash

#!/bin/zsh
for PREFERRED_TERMINAL in \
alacritty \
kitty \
;
do
command -v $PREFERRED_TERMINAL &</dev/null \
&& export TERMINAL="$(which $PREFERRED_TERMINAL)" \
&& break
done
for PREFERRED_BROWSER in \
google-chrome-stable \
google-chrome \
;
do
command -v $PREFERRED_BROWSER & >/dev/null \
&& export BROWSER="$(which $PREFERRED_BROWSER)" \
&& break
done
for XINITRC in $(find /etc/X11/xinit/xinitrc.d); do source "$XINITRC"; done
unset PREFERRED_TERMINAL PREFERRED_BROWSER XINITRC