diff --git a/dotfiles/.xinitrc b/dotfiles/.xinitrc index bf43458..90470c0 100755 --- a/dotfiles/.xinitrc +++ b/dotfiles/.xinitrc @@ -1,22 +1,29 @@ #!/bin/sh export XCURSOR_SIZE=32 export XCURSOR_THEME=Bibata-Modern-Classic -xrandr --output DisplayPort-1 --mode 3440x1440 --rate 144 +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 to a file +# 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)& -pipewire& syncthing --no-browser& +pipewire& redshift& solaar --window=hide& dwmblocks& dunst& picom& -mpd& -mpd-monitor& -) > ~/.xinit.log 2>&1 +# 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