1
0
Fork 0
dotfiles/.xinitrc

20 lines
588 B
Plaintext
Raw Permalink 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
if command -v nvidia-settings > /dev/null; then
nvidia-settings --assign CurrentMetaMode="3840x2160+0+0 { ForceFullCompositionPipeline = On }"
fi
2022-09-26 15:47:22 +05:30
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 &
2023-01-12 22:16:10 +05:30
pgrep -x lxpolkit > /dev/null || lxpolkit &
2022-09-26 15:47:22 +05:30
exec bspwm -c "${HOME}/.config/bspwm/bspwmrc"