.xsessionrc

Fri, 10 Feb 2017 01:56:09 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 10 Feb 2017 01:56:09 -0500
changeset 507
2ac6810a2e4a
parent 385
e3c8e2bdfccf
child 508
b4f827c47130
permissions
-rw-r--r--

Move stuff from lt branch in as common config if not virtual

#!/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 &
  xfce4-power-manager
  pulseaudio --daemonize
  nm-applet &>/dev/null </dev/null &
fi

mercurial