summaryrefslogtreecommitdiff
path: root/scripts/change-xresources
blob: 1dd7718f2703749880aacc21b960e883aa437376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

show_help() {
	cat <<EOF
$0 (light|dark)

>> Be nice!
EOF
}

case "$1" in
	dark)
		cp ${HOME}/Workspace/dotfiles/Xresources ${HOME}/.Xresources
		;;
	light)
		cp ${HOME}/Workspace/dotfiles/Xresources-light ${HOME}/.Xresources
		;;
	*)
		show_help
		exit 0
		;;
esac

xrdb -l ${HOME}/.Xresources