# HG changeset patch # User Meredith Howard # Date 1486709769 18000 # Node ID 2ac6810a2e4a8afbd5bf940cb453e64f509ea93d # Parent 2a6899f40b2e1fe596b30667fbe79061db3831ac Move stuff from lt branch in as common config if not virtual diff --git a/.Xdefaults b/.Xdefaults --- a/.Xdefaults +++ b/.Xdefaults @@ -1,3 +1,8 @@ + +Xautolock.time: 5 +Xautolock.locker: /usr/bin/i3lock -nde -c 101010 +Xautolock.corners: 0+00 +Xautolock.cornerredelay: 10 Xft.antialias: 1 Xft.autohint: 0 diff --git a/.xsessionrc b/.xsessionrc --- a/.xsessionrc +++ b/.xsessionrc @@ -1,5 +1,7 @@ #!/bin/bash +VIRT='no' + if [ "$(uname -s)" = "OpenBSD" ]; then PATH="/usr/X11R6/bin:$PATH" fi @@ -23,3 +25,13 @@ 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