summaryrefslogtreecommitdiff
path: root/scripts/change-xresources
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2015-11-24 00:29:00 -0300
committerMatias Linares <matiaslina@openmailbox.org>2015-11-24 00:29:00 -0300
commit6c4c5513618105ea4ce081b04e0545c7c05431d8 (patch)
treeed61ada744e0d9ec8d2b41c24b949b2ad96185fe /scripts/change-xresources
parentc8efcbbafd27e6352556bab2ec207b15d3202547 (diff)
downloaddotfiles-6c4c5513618105ea4ce081b04e0545c7c05431d8.tar.gz
Update
Diffstat (limited to 'scripts/change-xresources')
-rwxr-xr-xscripts/change-xresources24
1 files changed, 24 insertions, 0 deletions
diff --git a/scripts/change-xresources b/scripts/change-xresources
new file mode 100755
index 0000000..1dd7718
--- /dev/null
+++ b/scripts/change-xresources
@@ -0,0 +1,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 \ No newline at end of file