summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-06-29 17:59:18 +0530
committersinanmohd <sinan@firemail.cc>2023-06-29 18:13:05 +0530
commit16d5deb33ea19c377d8d3f1f22741afd20330457 (patch)
tree240370184308d774622e8ef85fab2c5ccbfe9a62
parent10cbafac3f1a7c342f8b651171c354e7e4b72417 (diff)
profile: wayland changes based on xdp wiki
https://github.com/emersion/xdg-desktop-portal-wlr/wiki/%22It-doesn't-work%22-Troubleshooting-Checklist
-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