Wed, 13 Oct 2021 13:22:12 -0500
Fix up zsh vi mode
512 | 1 | #!/bin/sh |
52
ab3e58416aa0
sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents:
42
diff
changeset
|
2 | |
512 | 3 | PLATFORM="$(uname -s)" |
507
2ac6810a2e4a
Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents:
385
diff
changeset
|
4 | |
512 | 5 | if [ "$PLATFORM" = "OpenBSD" ]; then |
154
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 | |
617 | 9 | make -s -C ~/.i3 || { |
10 | cat ~/.i3/config.d/* > ~/.i3/config | |
11 | cat ~/.i3/status.d/* > ~/.i3/status | |
12 | } | |
13 | ||
14 | hsetroot -solid "#002244" || | |
385
e3c8e2bdfccf
Make sure root color gets set right
Meredith Howard <mhoward@roomag.org>
parents:
379
diff
changeset
|
15 | xsetroot -def -solid "#002244" |
e3c8e2bdfccf
Make sure root color gets set right
Meredith Howard <mhoward@roomag.org>
parents:
379
diff
changeset
|
16 | |
154
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
17 | xmodmap ~/.xmodmaprc |
609
46f19b7955d8
add check for .xmodmaprc.local
Meredith Howard <mhoward@roomag.org>
parents:
571
diff
changeset
|
18 | if [ -r ~/.xmodmaprc.local ]; then |
46f19b7955d8
add check for .xmodmaprc.local
Meredith Howard <mhoward@roomag.org>
parents:
571
diff
changeset
|
19 | xmodmap ~/.xmodmaprc.local |
46f19b7955d8
add check for .xmodmaprc.local
Meredith Howard <mhoward@roomag.org>
parents:
571
diff
changeset
|
20 | fi |
52
ab3e58416aa0
sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents:
42
diff
changeset
|
21 | |
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
|
22 | 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
|
23 | 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
|
24 | 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
|
25 | |
823 | 26 | if lspci | grep -q VirtualBox; then |
507
2ac6810a2e4a
Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents:
385
diff
changeset
|
27 | 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
|
28 | else |
523 | 29 | xset b off s 300 dpms 360 |
507
2ac6810a2e4a
Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents:
385
diff
changeset
|
30 | xautolock -detectsleep & |
617 | 31 | pulseaudio --daemonize=no & |
32 | nm-applet & | |
507
2ac6810a2e4a
Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents:
385
diff
changeset
|
33 | fi |
2ac6810a2e4a
Move stuff from lt branch in as common config if not virtual
Meredith Howard <mhoward@roomag.org>
parents:
385
diff
changeset
|
34 | |
823 | 35 | if [ -r ~/.xsessionrc.local ]; then |
36 | . ~/.xsessionrc.local | |
37 | fi | |
617 | 38 | |
823 | 39 | jobs -l >&2 |
40 |