mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-25 00:38:23 -05:00
e6e8689b57
- shells: set GOPROXY=direct (download sources directly instead of going through proxy.golang.org) - emacs: deprecated EXWM - scripts: api_keys for `imdb` is not valid anymore, and I don't want to subscribe for another key
33 lines
636 B
Bash
33 lines
636 B
Bash
#!/bin/sh
|
|
|
|
userresources=$HOME/.config/X11/Xresources
|
|
usermodmap=$HOME/.config/X11/Xmodmap
|
|
|
|
# merge in defaults and keymaps
|
|
if [ -f "$userresources" ]; then
|
|
xrdb -merge "$userresources"
|
|
fi
|
|
|
|
if [ -f "$usermodmap" ]; then
|
|
xmodmap "$usermodmap"
|
|
fi
|
|
|
|
if ! pgrep -f mpd > /dev/null
|
|
then
|
|
mpd &
|
|
fi
|
|
picom -b &
|
|
# $HOME/.local/bin/garbage/off_touch &
|
|
|
|
export XDG_SESSION_TYPE=x11
|
|
export PATH=$HOME/.local/bin/X11:$PATH
|
|
# $HOME/.config/emacs-config/doom/bin/doom env
|
|
|
|
session=${1:-spectrwm}
|
|
|
|
case $session in
|
|
bspwm ) exec bspwm ;;
|
|
spectrwm ) exec spectrwm -c ~/.config/spectrwm/spectrwm-nord.conf ;;
|
|
* ) exec "$1" ;;
|
|
esac
|