23 lines
731 B
Bash
Executable File
23 lines
731 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
NETWORKING_INTERFACE="$(grep -i "eth\|enp\|enabcm\|wl" /proc/net/dev | sort | head -n 1 | awk -F : '{print $1}')"
|
|
export NETWORKING_INTERFACE
|
|
|
|
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
|
|
if command -v nvidia-settings > /dev/null; then
|
|
nvidia-settings --assign CurrentMetaMode="3840x2160+0+0 { ForceFullCompositionPipeline = On }"
|
|
fi
|
|
|
|
pgrep -x dunst > /dev/null || dunst &
|
|
pgrep -x picom > /dev/null || picom --fade-exclude 'class_g = "xsecurelock"' &
|
|
pgrep -x sxhkd > /dev/null || sxhkd &
|
|
pgrep -x lxpolkit > /dev/null || lxpolkit &
|
|
|
|
exec bspwm -c "${HOME}/.config/bspwm/bspwmrc"
|