summaryrefslogtreecommitdiff
path: root/scripts/change-xresources
diff options
context:
space:
mode:
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