From 16d5deb33ea19c377d8d3f1f22741afd20330457 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 29 Jun 2023 17:59:18 +0530 Subject: profile: wayland changes based on xdp wiki https://github.com/emersion/xdg-desktop-portal-wlr/wiki/%22It-doesn't-work%22-Troubleshooting-Checklist --- .profile | 9 ++++----- 1 file 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 -- cgit v1.2.3