.xsessionrc

Sat, 11 Feb 2017 16:59:19 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 11 Feb 2017 16:59:19 -0500
changeset 511
f175eea7ad19
parent 508
b4f827c47130
child 512
da2cf0c3d734
permissions
-rw-r--r--

easier manpath changing

270
dda2a7f4d485 nice up bashrc and xsessionrc
Meredith Howard <mhoward@roomag.org>
parents: 154
diff changeset
1 #!/bin/bash
52
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
2
507
2ac6810a2e4a Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents: 385
diff changeset
3 VIRT='no'
2ac6810a2e4a Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents: 385
diff changeset
4
154
72e18304b485 Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents: 69
diff changeset
5 if [ "$(uname -s)" = "OpenBSD" ]; then
72e18304b485 Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents: 69
diff changeset
6 PATH="/usr/X11R6/bin:$PATH"
52
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
7 fi
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
8
385
e3c8e2bdfccf Make sure root color gets set right
Meredith Howard <mhoward@roomag.org>
parents: 379
diff changeset
9 hsetroot -solid "#002244" &>/dev/null || \
e3c8e2bdfccf Make sure root color gets set right
Meredith Howard <mhoward@roomag.org>
parents: 379
diff changeset
10 xsetroot -def -solid "#002244"
e3c8e2bdfccf Make sure root color gets set right
Meredith Howard <mhoward@roomag.org>
parents: 379
diff changeset
11
154
72e18304b485 Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents: 69
diff changeset
12 xcompmgr -n &>/dev/null </dev/null &
72e18304b485 Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents: 69
diff changeset
13
72e18304b485 Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents: 69
diff changeset
14 xmodmap ~/.xmodmaprc
52
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
15
56
e341df2dafda Allow .Xdefaults.local to be included, don\'t rely on system to run xrdb -cpp
Meredith Howard <mhoward@roomag.org>
parents: 52
diff changeset
16 if [ -r ~/.Xdefaults.local ]; then
154
72e18304b485 Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents: 69
diff changeset
17 xrdb -quiet -merge -DUSE_LOCAL ~/.Xdefaults
56
e341df2dafda Allow .Xdefaults.local to be included, don\'t rely on system to run xrdb -cpp
Meredith Howard <mhoward@roomag.org>
parents: 52
diff changeset
18 fi
e341df2dafda Allow .Xdefaults.local to be included, don\'t rely on system to run xrdb -cpp
Meredith Howard <mhoward@roomag.org>
parents: 52
diff changeset
19
154
72e18304b485 Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents: 69
diff changeset
20 urxvtd -q -o -f
65
9c8f98eb7e1b add xmodmap, move urxvtd until after xmodmap and defaults
Meredith Howard <mhoward@roomag.org>
parents: 57
diff changeset
21
379
3ea340bffa35 quiet make
Meredith Howard <mhoward@roomag.org>
parents: 378
diff changeset
22 make -s -C ~/.i3
378
e13ba40f4533 Break i3 and i3status configs into component files, to make local mods easier maybe
Meredith Howard <mhoward@roomag.org>
parents: 282
diff changeset
23
42
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
24 if [ -r ~/.xsessionrc.local ]; then
282
f6890bef382e This stuff runs under sh anyway
Meredith Howard <mhoward@roomag.org>
parents: 280
diff changeset
25 . ~/.xsessionrc.local
42
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
26 fi
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
27
507
2ac6810a2e4a Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents: 385
diff changeset
28 if [ "$VIRT" = "yes" ]; then
2ac6810a2e4a Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents: 385
diff changeset
29 xset b off -dpms s off
2ac6810a2e4a Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents: 385
diff changeset
30 else
2ac6810a2e4a Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents: 385
diff changeset
31 xset b off
2ac6810a2e4a Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents: 385
diff changeset
32 xautolock -detectsleep &
2ac6810a2e4a Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents: 385
diff changeset
33 pulseaudio --daemonize
2ac6810a2e4a Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents: 385
diff changeset
34 nm-applet &>/dev/null </dev/null &
2ac6810a2e4a Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents: 385
diff changeset
35 fi
2ac6810a2e4a Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents: 385
diff changeset
36

mercurial