about summary refs log tree commit diff stats
path: root/bin
diff options
context:
space:
mode:
authorensa <psii@riseup.net>2020-05-15 21:54:43 -0700
committerensa <psii@riseup.net>2020-05-15 21:54:43 -0700
commit4f042d9c092370793730b08adc16fd53c4dd03f7 (patch)
tree50b7073f4dfb49e728e0249656f279a9febad503 /bin
parentcd76dfd861b1f362c330f15a1614a0df7fb618d8 (diff)
downloadcfg-4f042d9c092370793730b08adc16fd53c4dd03f7.tar.gz
wal removed, X11 files added, shrc/user-dirs.dirs revamped
bin/comm-sel: forced cordless to obey XDG_CONFIG_HOME
bin/shenv: updated path to shrc
config/
	X11/
		xprofile: files for preparing an X session
			just read the file
		xresources: resources for an X session
			good colors, xterm configuration
	cwmrc
		added autogroup for xterm
		changed term to xterm
		changed editor binding to not include kludge
	shrc
		now uses better home hierarchy
			read for details
		EDITOR changed to vise
		TERMINAL changed to xterm
		IRC_SERVERS_FILE now included
		PYTHONUSERBASE now included
		_JAVA_OPTIONS now included
		TERMINFO now included
		MAILCAPS now included
		most changes result in a cleaner ~
	user-dirs.dirs
		all lines given directories in ~/share/xdg/
	vis/
		themes/fake256.lua
			made to look like vim's zellner theme on a 16color term
		visrc.lua
			sets colorscheme to the aforementioned
	wal/
		removed all

forgot to include some things, expect another commit in a couple minutes
Diffstat (limited to 'bin')
-rwxr-xr-xbin/comm-sel2
-rwxr-xr-xbin/shenv3
2 files changed, 2 insertions, 3 deletions
diff --git a/bin/comm-sel b/bin/comm-sel
index 6ef97d9..0021f88 100755
--- a/bin/comm-sel
+++ b/bin/comm-sel
@@ -8,7 +8,7 @@ if command -v st-altscreen>/dev/null; then
 fi
 case "$(dmenu_path|grep -E "epic5$|cordless|scli$"|dmenu -p "choose chat app:")" in
 	epic5) $TERMINAL -c comm -e epic5 -l "$XDG_CONFIG_HOME/epic/epicrc" ensa&;;
-	cordless) $TERMINAL -c comm -e cordless&;;
+	cordless) $TERMINAL -c comm -e cordless -config-dir "$XDG_CONFIG_HOME/cordless" &;;
 	scli) $TERMINAL -c comm -e scli&;;
 	*) return;;
 esac
diff --git a/bin/shenv b/bin/shenv
index b9428b8..d37733f 100755
--- a/bin/shenv
+++ b/bin/shenv
@@ -1,6 +1,5 @@
 #!/bin/sh
 # simply sources the shrc and runs a shell with that as its environment.
 # passes through all arguments that sh takes. to be used instead of sh.
-XDG_CONFIG_DIR=${XDG_CONFIG_DIR:="$HOME/.config"}
-. $XDG_CONFIG_DIR/shrc
+. ~/etc/shrc
 exec sh "$@"