diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-08-14 12:32:27 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-08-14 12:32:27 +0000 |
commit | e3326d1b0295aa5c25a3f96a62f347f370156d11 (patch) | |
tree | 35c5d89c9c400551ea4056a623e486bac6ffb331 /.profile | |
parent | 47acc735759f256d95168fef475964953ab661fd (diff) | |
download | dotfiles-e3326d1b0295aa5c25a3f96a62f347f370156d11.tar dotfiles-e3326d1b0295aa5c25a3f96a62f347f370156d11.tar.gz dotfiles-e3326d1b0295aa5c25a3f96a62f347f370156d11.tar.bz2 dotfiles-e3326d1b0295aa5c25a3f96a62f347f370156d11.tar.lz dotfiles-e3326d1b0295aa5c25a3f96a62f347f370156d11.tar.xz dotfiles-e3326d1b0295aa5c25a3f96a62f347f370156d11.tar.zst dotfiles-e3326d1b0295aa5c25a3f96a62f347f370156d11.zip |
Add more configs for wezterm, swappy, electron and git, as well as a better neovim config
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.profile b/.profile new file mode 100644 index 0000000..2755d19 --- /dev/null +++ b/.profile @@ -0,0 +1,27 @@ +#!/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"; + + |