summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-09-02 23:34:01 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2024-09-02 23:34:01 -0400
commit43dbb32d741e11f8e06341f515944ec757d4578f (patch)
treec100c1a137e1668aa725ce6c0a94794f37b6a1c2 /.profile
parent21bd4aae35ab8b3bd10216f76417567086c78abf (diff)
Lot's of stuffHEADmaster
Diffstat (limited to '.profile')
-rw-r--r--.profile13
1 files changed, 7 insertions, 6 deletions
diff --git a/.profile b/.profile
index e9d6b92..fc7733d 100644
--- a/.profile
+++ b/.profile
@@ -3,9 +3,9 @@
# enable certain tools only if on macOS
case "$OSTYPE" in
- darwin*)
- eval "$(/opt/homebrew/bin/brew shellenv)"
- ;;
+darwin*)
+ eval "$(/opt/homebrew/bin/brew shellenv)"
+ ;;
esac
unsetopt PROMPT_SP 2>/dev/null
@@ -21,6 +21,7 @@ export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc"
+export W3M_DIR="$XDG_CONFIG_HOME/w3m"
export DISTRIB_ID=arch
export DISTRIB_RELEASE="$(uname -r)"
@@ -33,7 +34,7 @@ export CARGO_HOME="$XDG_DATA_HOME/cargo"
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
export QT_QPA_PLATFORMTHEME="gtk2"
-export MOZ_USE_XINPUT2=1 # Mozilla smooth scrolling/touchpad
+export MOZ_USE_XINPUT2=1 # Mozilla smooth scrolling/touchpad
export AWT_TOOLKIT="MToolkit wmname LG3D" # Fix for Java applications in dwm
export _JAVA_AWT_WM_NONREPARENTING=1 # (this too)
export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default"
@@ -74,10 +75,10 @@ aliasgen >/dev/null 2>&1
# Ensure XDG_RUNTIME_DIR is set
if test -z "$XDG_RUNTIME_DIR"; then
- export XDG_RUNTIME_DIR="$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)"
+ export XDG_RUNTIME_DIR="$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)"
fi
-startw(){
+startw() {
dbus-launch --exit-with-session dwl
}