1
0
Fork 0
dotfiles/.xinitrc

19 lines
504 B
Bash
Executable File

#!/usr/bin/env bash
USER_X_RESOURCES=$HOME/.Xresources
if [[ -f "$USER_X_RESOURCES" ]]; then
xrdb -merge "$USER_X_RESOURCES"
fi
xsetroot -cursor_name left_ptr &
xrandr -s 3840x2160+0+0
nvidia-settings --assign CurrentMetaMode="3840x2160+0+0 { ForceFullCompositionPipeline = On }"
pgrep -x dunst > /dev/null || dunst &
pgrep -x picom > /dev/null || picom &
pgrep -x sxhkd > /dev/null || sxhkd &
notify-send -u normal "Login manager" "Welcome, $(whoami)"
exec bspwm -c $HOME/.config/bspwm/bspwmrc