.xsessionrc

Fri, 10 Feb 2017 12:22:53 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 10 Feb 2017 12:22:53 -0500
changeset 510
809d4a3da079
parent 508
b4f827c47130
child 512
da2cf0c3d734
permissions
-rw-r--r--

ignore time

#!/bin/bash

VIRT='no'

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

if [ "$VIRT" = "yes" ]; then
  xset b off -dpms s off
else
  xset b off
  xautolock -detectsleep &
  pulseaudio --daemonize
  nm-applet &>/dev/null </dev/null &
fi

mercurial