dotfiles

custom linux config files managed with gnu stow

dotfiles

2bwm/.xinitrc


#!/bin/sh
#
#          ██          ██   ██
#         ░░          ░░   ░██
#  ██   ██ ██ ███████  ██ ██████ ██████  █████
# ░░██ ██ ░██░░██░░░██░██░░░██░ ░░██░░█ ██░░░██
#  ░░███  ░██ ░██  ░██░██  ░██   ░██ ░ ░██  ░░
#   ██░██ ░██ ░██  ░██░██  ░██   ░██   ░██   ██
#  ██ ░░██░██ ███  ░██░██  ░░██ ░███   ░░█████
# ░░   ░░ ░░ ░░░   ░░ ░░    ░░  ░░░     ░░░░░
#
#  ▓▓▓▓▓▓▓▓▓▓
# ░▓ author ▓ xero <x@xero.nu>
# ░▓ code   ▓ http://code.xero.nu/dotfiles
# ░▓ mirror ▓ http://git.io/.files
# ░▓▓▓▓▓▓▓▓▓▓
# ░░░░░░░░░░

# display
if [ $(xrandr | grep ' connected' | wc -l) -gt 1 ]; then
	~/.screenlayout/multi.sh &
else
	~/.screenlayout/solo.sh &
	# keyboard backlight
	kbd on &
	# caps is esc
	setxkbmap -option caps:escape &
fi

# merge custom x resources
xrdb -merge ~/.Xdefaults &

# fix + autohide cursor
xsetroot -cursor_name left_ptr &
unclutter &

# 2bwm
~/bin/wm &
exec xwait

Download

raw zip tar