summaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2026-01-28 23:31:19 +0100
committerLeonard Kugis <leonard@kug.is>2026-01-28 23:31:19 +0100
commit4122b37d07015b2b670643e6bdf861613d143cbc (patch)
tree531c75399dc232476546f770052609b904fd28d5 /.bashrc
parentc70505d7c7b7b48600f273357694b56ccf5d2a15 (diff)
downloaddotfiles-4122b37d07015b2b670643e6bdf861613d143cbc.tar.gz
Refinements
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