blob: b69f09350a833400a1e4674fcdfd17aa2fe0cb4e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
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
if ! [ -d "${XDG_RUNTIME_DIR}" ]; then
mkdir "${XDG_RUNTIME_DIR}"
chmod 0700 "${XDG_RUNTIME_DIR}"
fi
fi
if [ -z "${WAYLAND_DISPLAY}" ] && [ "$(tty)" = "/dev/tty1" ]; then
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
|