summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.profile9
1 files changed, 4 insertions, 5 deletions
diff --git a/.profile b/.profile
index b856868..220742a 100644
--- a/.profile
+++ b/.profile
@@ -32,17 +32,16 @@ export LESSHISTFILE="${XDG_STATE_HOME}/less/history"
export PASSWORD_STORE_DIR="${XDG_DATA_HOME}/pass"
export MBSYNCRC="${XDG_CONFIG_HOME}/isync/mbsyncrc"
-# etc
+# misc
export PATH="${PATH}:${HOME}/.local/bin:${HOME}/.local/bin/sb:${HOME}/.local/bin/sds"
export _JAVA_AWT_WM_NONREPARENTING=1 # android-studio crash
-# run programs natively on wayland
+# wayland
export MOZ_ENABLE_WAYLAND=1
+export XDG_CURRENT_DESKTOP=wlroots
-# display server
case "$(tty)" in
*/tty1)
- exec dbus-launch --exit-with-session \
- dwl -s "${XDG_CONFIG_HOME:-$HOME/.config}/wayland/winit" > /dev/null 2>&1
+ exec dbus-run-session dwl -s "${XDG_CONFIG_HOME:-$HOME/.config}/wayland/winit"
;;
esac