~charles/dotfiles

e5640a548afb6aaae4fac8164e93c8727d2c1f90 — Charles Daniels 4 years ago 5d42d50
setup albert on Linux
3 files changed, 12 insertions(+), 2 deletions(-)

M install.sh
M overlay/.cwmrc
M overlay/.xsession
M install.sh => install.sh +5 -0
@@ 28,6 28,11 @@ find . -type f | while read -r target ; do
	cp "$target" "$dest_file"
done

# no albert on OpenBSD
if [ $(uname) = "OpenBSD" ] ; then
	echo 'bind-key M-space menu-exec' >> ~/.cwmrc
fi

# setup gitconfig
git_username="$(git config --get user.name)"
git_email="$(git config --get user.email)"

M overlay/.cwmrc => overlay/.cwmrc +1 -2
@@ 78,9 78,8 @@ bind-key MS-l window-resize-right-big
bind-key M-v window-vtile		# tile windows vertically
bind-key M-c window-htile		# tile windows horizontally
bind-key M-slash menu-window		# search open windows
bind-key M-d menu-cmd			# run a command
bind-key M-d menu-exec			# run a command
bind-key M-question menu-exec		# run a shell command
bind-key M-space "xfce4-appfinder"
bind-key M-period menu-ssh		# show ssh menu
					# reset window size
bind-key MS-space window-center

M overlay/.xsession => overlay/.xsession +6 -0
@@ 54,5 54,11 @@ fi
# Xorg.
xkbset nullify lock

# launch Albert
if [ "$(uname)" != "OpenBSD" ] ; then
	albert &
fi

# launch cwm
exec cwm