1
0
Fork 0
dotfiles/.xinitrc

19 lines
545 B
Plaintext
Raw Normal View History

2022-09-26 15:47:22 +05:30
#!/usr/bin/env bash
USER_X_RESOURCES=$HOME/.Xresources
if [[ -f "$USER_X_RESOURCES" ]]; then
2022-09-26 15:48:53 +05:30
xrdb -merge "$USER_X_RESOURCES"
2022-09-26 15:47:22 +05:30
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 --fade-exclude 'class_g = "xsecurelock"' &
2023-01-09 19:32:36 +05:30
pgrep -x sxhkd > /dev/null || sxhkd &
2022-09-26 15:47:22 +05:30
notify-send -u normal "Login manager" "Welcome, $(whoami)"
2023-01-09 19:32:36 +05:30
exec bspwm -c $HOME/.config/bspwm/bspwmrc