summaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc15
1 files changed, 14 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index cb7dd59..b69f093 100644
--- a/.bashrc
+++ b/.bashrc
@@ -11,6 +11,7 @@ alias grep='grep --color=auto'
export PS1="\w > "
export PATH=${PATH}:~/.local/bin:~/.cargo/bin
#export QT_QPA_PLATFORMTHEME=qt6ct
+export XDG_DATA_DIRS="$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:/home/lk/.local/share/flatpak/exports/share"
if [ -z "${XDG_RUNTIME_DIR}" ]; then
export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir
@@ -21,5 +22,17 @@ if [ -z "${XDG_RUNTIME_DIR}" ]; then
fi
if [ -z "${WAYLAND_DISPLAY}" ] && [ "$(tty)" = "/dev/tty1" ]; then
- dwl -s .local/bin/dwl-startup.sh
+ export XDG_SESSION_TYPE=wayland
+ export MOZ_ENABLE_WAYLAND=1
+ export QT_QPA_PLATFORM=wayland
+ export SDL_VIDEODRIVER=wayland
+ export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dsun.java2d.xrender=true"
+ export _JAVA_AWT_WM_NONREPARENTING=1
+
+ wlr-randr --output DP-2 --mode 1920x1080@144.001007
+ wlr-randr --output HDMI-A-1 --mode 1920x1080@60.000000
+ wlr-randr --output DP-2 --pos 0,0
+ wlr-randr --output HDMI-A-1 --right-of DP-2
+
+ dwl -s .local/bin/dwl-startup.sh
fi