Files
config/dotfiles/.xinitrc
2026-02-06 13:56:39 -08:00

30 lines
694 B
Bash
Executable File

#!/bin/sh
export XCURSOR_SIZE=32
export XCURSOR_THEME=Bibata-Modern-Classic
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
#xrandr --output DisplayPort-1 --mode 3440x1440 --rate 144
xrdb -merge ~/.Xresources
# run stuff that outputs a bunch in a subshell, and redirect everything
(
openrgb --mode direct --color 000000&
xset r rate 200 40&
feh --no-fehbg --bg-fill ~/repos/bag/$(ls ~/repos/bag | shuf -n 1)&
syncthing --no-browser&
pipewire&
redshift&
solaar --window=hide&
dwmblocks&
dunst&
picom&
# mpd-monitor must start after mpd
mpd && mpd-monitor&
) > /dev/null 2>&1
# ibus doesnt like the subshell for some reason
ibus-daemon&
exec dbus-run-session dwm