export GUIX_PROFILE=$HOME/.guix-profile source $GUIX_PROFILE/etc/profile export GTK_DATA_PREFIX=/run/current-system/profile export GUIX_GTK2_IM_MODULE_FILE=$HOME/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache export GUIX_GTK3_IM_MODULE_FILE=$HOME/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache export GUIX_PACKAGE_PATH=/home/rekado/dev/custom-guix-packages/libre:/home/rekado/dev/custom-guix-packages/non-free # IBus for Chinese input method export GTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus ibus-daemon --xim & # TODO: do this *after* Emacs has started xbattmon -p right -t 3 & # adjust display colour according to Berlin time redshift -l 52.5243:13.4063 & export GNUPGHOME=/home/rekado/Documents/keys/.gnupg eval `gpg-agent --daemon --enable-ssh-support --write-env-file ~/.gnupg-agent-env` ## test for an existing bus daemon, just to be safe if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then ## if not found, launch a new one eval `dbus-launch --sh-syntax` echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS" fi # I want to be able to read all available info manuals, even if they # were not installed in my profile. Use "C-u C-h i" to open the # manuals directly in info. Unfortunately, this won't add them to the # manual index as this would require a custom "dir" file to be built. unionfs $(printf "%s:" /gnu/store/*/share/info) ~/tmp/info # Set colours and other resources for X applications [[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources export LANG=en_US.utf8 setxkbmap dvorak -option caps:ctrl_modifier exec exwm