summaryrefslogtreecommitdiffstats
path: root/dot.xinitrc
blob: 3636e05a880a86aa00d70685612cd098b6bd1b05 (plain)
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
. ~/.profile

export TERMINAL=kitty
# Some have success with these instead:
#export GDK_DPI_SCALE=1.5
#export QT_SCALE_FACTOR=1.5

# This leads to a blurry display.
#xrandr --output eDP --scale 0.666 --dpi 256
xrandr --output eDP --scale 1 --dpi 192

# Xresources isn't integrated by default.
# Have to check why.
xrdb -merge ~/.Xresources

# Polybar doesn't pick up the one from Xresources.
xsetroot -cursor_name left_ptr

if command -v dbus-launch >/dev/null 2>&1; then
    eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi

if command -v pipewire >/dev/null 2>&1; then
    pipewire&
fi

exec herbstluftwm --locked