.xsessionrc

Mon, 26 Sep 2016 11:14:17 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 26 Sep 2016 11:14:17 -0400
changeset 396
2f02fa724f42
parent 385
e3c8e2bdfccf
child 507
2ac6810a2e4a
permissions
-rw-r--r--

add session autoload/save when servername is set

#!/bin/bash

if [ "$(uname -s)" = "OpenBSD" ]; then
  PATH="/usr/X11R6/bin:$PATH"
fi

hsetroot -solid "#002244" &>/dev/null || \
  xsetroot -def -solid "#002244"

xcompmgr -n &>/dev/null </dev/null &

xmodmap ~/.xmodmaprc

if [ -r ~/.Xdefaults.local ]; then
  xrdb -quiet -merge -DUSE_LOCAL ~/.Xdefaults
fi

urxvtd -q -o -f

make -s -C ~/.i3

if [ -r ~/.xsessionrc.local ]; then
  . ~/.xsessionrc.local
fi

mercurial