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

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

Loading…
Cancel
Save