diff --git a/profile b/profile index b1dc06d..b17216d 100644 --- a/profile +++ b/profile @@ -8,7 +8,6 @@ if test -z "${XDG_RUNTIME_DIR}"; then fi fi -export XDG_CURRENT_DESKTOP=sway # The city's finest exports! export GIT_EDITOR="nvim" @@ -18,6 +17,9 @@ export SCREENSHOT_DIR="$HOME/Screenshots" export LC_MESSAGES="C.UTF-8" export TERM="xterm-256color" +export NPM_CONFIG_PREFIX="$HOME/.local/" +export PATH="$PATH:$NPM_CONFIG_PREFIX/bin" + # Let's get some private environment vars source $HOME/.config/private.env @@ -26,10 +28,12 @@ export LESSHISTFILE=- # Launch sway! if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then - dbus-run-session sway + export XDG_CURRENT_DESKTOP=sway + dbus-run-session sway fi alias ccat="highlight -O ansi $@" alias ls="ls -h --color=auto" alias vim="nvim $@" alias wget="wget --hsts-file $HOME/.cache/wget/hsts" +alias profanity="konsole --profile Profanity --workdir $HOME/Downloads -e /usr/bin/profanity & ; disown"