|
|
|
@ -7,6 +7,7 @@ DOTS_ROOT=${STARTW_ROOT}/conf |
|
|
|
|
STARTX_LOG_FILE=${STARTW_ROOT}/"err-x11-$(date +%F).log" |
|
|
|
|
sysresources=/etc/X11/xinit/.Xresources |
|
|
|
|
sysmodmap=/etc/X11/xinit/.Xmodmap |
|
|
|
|
userresources=${HOME}/.Xresources |
|
|
|
|
|
|
|
|
|
# Boilerplate for systemd-less systems |
|
|
|
|
if test -z "${XDG_RUNTIME_DIR}"; then |
|
|
|
@ -66,7 +67,8 @@ export _JAVA_AWT_WM_NONREPARENTING=1 |
|
|
|
|
# Set the hardware acceleration driver |
|
|
|
|
export LIBVA_DRIVER_NAME=radeonsi |
|
|
|
|
export VDPAU_DRIVER=radeonsi |
|
|
|
|
export RADV_PERFTEST=aco |
|
|
|
|
#aco is enabled by default |
|
|
|
|
#export RADV_PERFTEST=aco |
|
|
|
|
export MOZ_X11_EGL=1 |
|
|
|
|
# Set the default interface used by wpa_cli |
|
|
|
|
export WPA_CLI_INTERFACE=wlp2s0 |
|
|
|
@ -118,8 +120,11 @@ if [ -f "$userresources" ]; then xrdb -merge "$userresources"; fi |
|
|
|
|
if [ -f "$usermodmap" ]; then xmodmap "$usermodmap"; fi |
|
|
|
|
|
|
|
|
|
xsetroot -cursor_name left_ptr & |
|
|
|
|
setxkbmap it |
|
|
|
|
xrandr --dpi 157 |
|
|
|
|
setxkbmap it,gb -option grp:lctrl_lwin_toggle |
|
|
|
|
xrandr --dpi 130 |
|
|
|
|
|
|
|
|
|
# Set middle mouse scrolling for ps2 trackball |
|
|
|
|
xinput --set-prop 'GASIA PS2toUSB Adapter Mouse' 'libinput Scroll Method Enabled' 0, 0, 1 |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# LAUNCH APPLICATIONS |
|
|
|
@ -129,17 +134,20 @@ if ! pgrep -x "devmon" > /dev/null |
|
|
|
|
then |
|
|
|
|
devmon 2>&1 | "$STARTW_ROOT"/addts >> "$STARTX_LOG_FILE" & |
|
|
|
|
fi |
|
|
|
|
#feh --no-fehbg --bg-fill "$WALLPAPER" & |
|
|
|
|
#polybar -r vantagev1 2>&1 | "$STARTW_ROOT"/addts >> "$STARTX_LOG_FILE" & |
|
|
|
|
nitrogen --restore 2>/dev/null |
|
|
|
|
tint2 | "$STARTW_ROOT"/addts >> "$STARTX_LOG_FILE" & |
|
|
|
|
xset s on |
|
|
|
|
xset s 600/660 |
|
|
|
|
xss-lock --ignore-sleep -- xsecurelock & |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# START WINDOW MANAGER |
|
|
|
|
# |
|
|
|
|
|
|
|
|
|
sxhkd & |
|
|
|
|
exec openbox |
|
|
|
|
# Statusbar |
|
|
|
|
status & |
|
|
|
|
hkd & |
|
|
|
|
# Is it time to get those christmas feels? |
|
|
|
|
if [ "$(date +'%c=m')" = "12" ]; then |
|
|
|
|
xsnow & |
|
|
|
|
fi |
|
|
|
|
sbl -r |
|
|
|
|
while true; do dwm 2> ~/.dwm.log; done |
|
|
|
|