master
Alessandro Mauri 4 years ago
parent 2016fe84e7
commit c1bc50351c
  1. 21
      conf/home/xinitrc

@ -4,7 +4,7 @@
# Variable definitions
STARTW_ROOT=${HOME}/.local/share/startw
DOTS_ROOT=${STARTW_ROOT}/conf
STARTX_LOG_FILE=${STARTW_ROOT}/"err-$(date +%F).log"
STARTX_LOG_FILE=${STARTW_ROOT}/"err-x11-$(date +%F).log"
userresources=${HOME}/.Xresources
usermodmap=${HOME}/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
@ -30,6 +30,10 @@ if [ -f $sysmodmap ]; then xmodmap $sysmodmap; fi
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
#
# USER CONFIGURATION
#
@ -110,19 +114,12 @@ then
devmon 2>&1 | "$STARTW_ROOT"/addts >> "$STARTX_LOG_FILE" &
fi
./.fehbg
polybar -r vantagev1 &
polybar -r vantagev1 2>&1 | "$STARTW_ROOT"/addts >> "$STARTX_LOG_FILE" &
#dhcpcd-gtk &
xsetroot -cursor_name left_ptr &
setxkbmap it
# set in xresources
xrandr --dpi 157
#
# START COMPOSITOR
# START WINDOW MANAGER
#
# create a log file
touch "$STARTX_LOG_FILE"
exec bspwm 2>&1 | "$STARTW_ROOT"/addts >> "$STARTX_LOG_FILE"
#exec bspwm 2>&1 | "$STARTW_ROOT"/addts >> "$STARTX_LOG_FILE"
exec bspwm

Loading…
Cancel
Save