blob: 31be1bb3c8a56deba4b68820080b2f73c88dba02 (
plain) (
tree)
|
|
#!/usr/bin/env sh
if [ -z "${XDG_RUNTIME_DIR}" ]; then
XDG_RUNTIME_DIR="/tmp/${UID}-runtime-dir"; export XDG_RUNTIME_DIR;
if [ ! -d "${XDG_RUNTIME_DIR}" ]; then
mkdir "${XDG_RUNTIME_DIR}";
chmod 0700 "${XDG_RUNTIME_DIR}";
fi
fi
DENO_INSTALL="$HOME/.deno"; export DENO_INSTALL;
BUN_INSTALL="/home/luca/.bun"
EDITOR="nvim"; export EDITOR;
MANPAGER="sh -c 'col -bx | bat -l man -p'"; export MANPAGER;
GPG_TTY="$(tty)" export GPG_TTY;
# Sway specific
SDL_VIDEODRIVER=wayland; export SDL_VIDEODRIVER;
_JAVA_AWT_WM_NONREPARENTING=1; export _JAVA_AWT_WM_NONREPARENTING;
QT_QPA_PLATFORM=wayland; export QT_QPA_PLATFORM;
XDG_CURRENT_DESKTOP=sway; export XDG_CURRENT_DESKTOP;
XDG_SESSION_DESKTOP=sway; export XDG_SESSION_DESKTOP;
GPG_TTY="$(tty)" export GPG_TTY;
PATH="$PATH:$HOME/go/bin:$DENO_INSTALL/bin:$BUN_INSTALL/bin:$HOME/.cargo/bin";
|