From 6cd7746179b89d7b60eba1c977675ca6bb377b12 Mon Sep 17 00:00:00 2001 From: Ian Mancini Date: Fri, 1 May 2020 16:08:53 -0300 Subject: [PATCH] Add processing dots --- pre.sh | 14 +- .../processing/.processing/preferences.txt | 104 +++++++++++ .../processing/Sandbox/processing/theme.txt | 171 ++++++++++++++++++ 3 files changed, 286 insertions(+), 3 deletions(-) create mode 100644 template/processing/.processing/preferences.txt create mode 100644 template/processing/Sandbox/processing/theme.txt diff --git a/pre.sh b/pre.sh index 468f2d3..f75631e 100644 --- a/pre.sh +++ b/pre.sh @@ -2,12 +2,20 @@ echo "Unlinking individual dotfiles" if [ -L "$HOME/.Xresources" ]; then -unlink $HOME/.Xresources + unlink $HOME/.Xresources fi -if [ -L "$HOME/.Xdefaults " ]; then -unlink $HOME/.Xdefaults + +if [ -L "$HOME/.Xdefaults" ]; then + unlink $HOME/.Xdefaults +fi + +if [ -d "$HOME/.processing" ]; then + if [ -f "$HOME/.processing/preferences.txt" ]; then + rm -rf $HOME/.processing/preferences.txt + fi fi + if [ -d "$HOME/.dotfiles" ]; then OLDIR=$PWD diff --git a/template/processing/.processing/preferences.txt b/template/processing/.processing/preferences.txt new file mode 100644 index 0000000..4d070ab --- /dev/null +++ b/template/processing/.processing/preferences.txt @@ -0,0 +1,104 @@ +chooser.files.native=true +console.auto_clear=true +console.font.size={{FONTSIZE}} +console.lines=1 +console.scrollback.chars=40000 +console.scrollback.lines=500 +contribution.backup.on_install=true +contribution.backup.on_remove=true +editor.caret.blink=true +editor.caret.block=false +editor.completion.auto_close=false +editor.font.family={{FONTNORMAL}} +editor.font.size={{FONTSIZE}} +editor.indent=true +editor.input_method_support=false +editor.keys.alternative_cut_copy_paste=true +editor.keys.home_and_end_travel_far=false +editor.keys.home_and_end_travel_smart=true +editor.keys.shift_backspace_is_delete=false +editor.laf=javax.swing.plaf.nimbus.NimbusLookAndFeel +editor.smooth=true +editor.tabs.expand=true +editor.tabs.size=2 +editor.token.comment1.style={{COLORS.blue}},plain +editor.token.comment2.style={{COLORS.darkforeground}},plain +editor.token.function1.style={{COLORS.blue}},plain +editor.token.function2.style={{COLORS.blue}},plain +editor.token.function3.style={{COLORS.green}},plain +editor.token.function4.style={{COLORS.blue}},bold +editor.token.invalid.style={{COLORS.red}},bold +editor.token.keyword1.style={{COLORS.cyan}},plain +editor.token.keyword2.style={{COLORS.cyan}},plain +editor.token.keyword3.style={{COLORS.green}},plain +editor.token.keyword4.style={{COLORS.magenta}},plain +editor.token.keyword5.style={{COLORS.yellow}},plain +editor.token.keyword6.style={{COLORS.cyan}},plain +editor.token.label.style={{COLORS.green}},bold +editor.token.literal1.style={{COLORS.magenta}},plain +editor.token.literal2.style={{COLORS.green}},plain +editor.token.operator.style={{COLORS.blue}},plain +editor.untitled.prefix=sketch_ +editor.untitled.suffix=yyMMdd +editor.watcher=true +editor.watcher.debug=false +editor.watcher.window=1500 +editor.window.height.default=720 +editor.window.height.min=480 +editor.window.width.default=700 +editor.window.width.min=400 +editor.zoom=100% +editor.zoom.auto=true +examples.processing.app.ui.ExamplesFrame.visible=null/Contributed Libraries/Open Kinect for Processing/Kinect_v1:null/Contributed Libraries:null/Libraries:null:null/Contributed Libraries/Open Kinect for Processing +export.application.embed_java=true +export.application.fullscreen=false +export.application.stop=true +export.delete_target_folder=true +instance_server.key=0.6702974505479351 +instance_server.port=44097 +last.sketch.count=0 +last.sketch.restore=true +launcher=xdg-open +mode.last=processing.mode.java.JavaMode +pdex.autoSave.autoSaveByDefault=true +pdex.autoSave.autoSaveEnabled=false +pdex.autoSave.promptDisplay=true +pdex.autoSaveInterval=5 +pdex.completion=true +pdex.completion.trigger=false +pdex.dbgOutput=false +pdex.errorCheckEnabled=true +pdex.inspectMode.hotkey=true +pdex.suggest.imports=true +pdex.warningsEnabled=true +pdex.writeErrorLogs=false +platform.auto_file_type_associations=true +preproc.color_datatype=true +preproc.enhanced_casting=true +preproc.output_parse_tree=false +preproc.save_build_files=false +preproc.substitute_floats=true +preproc.web_colors=true +proxy.http.host= +proxy.http.port= +proxy.https.host= +proxy.https.port= +proxy.socks.host= +proxy.socks.port= +proxy.system=true +recent.count=10 +run.display=1 +run.options= +run.options.memory=false +run.options.memory.initial=64 +run.options.memory.maximum=256 +run.present.bgcolor={{COLORS.background}} +run.present.stop.color={{COLORS.background}} +run.window.bgcolor={{COLORS.background}} +search.format=https://duckduckgo.com/?q=%s +sketchbook.path.three=/home/ianmethyst/Sandbox/processing +update.check=true +update.id=-183846065481687493 +update.last=1588352566738 +welcome.seen=true +welcome.show=false diff --git a/template/processing/Sandbox/processing/theme.txt b/template/processing/Sandbox/processing/theme.txt new file mode 100644 index 0000000..2c047a3 --- /dev/null +++ b/template/processing/Sandbox/processing/theme.txt @@ -0,0 +1,171 @@ +# STATUS +# Status messages (1 file added to sketch, errors, etc) +status.notice.fgcolor = {{COLORS.foreground}} +status.notice.bgcolor = {{COLORS.background}} +status.error.fgcolor = {{COLORS.foreground}} +status.error.bgcolor = {{COLORS.red}} +status.warning.bgcolor = {{COLORS.yellow}} +status.warning.fgcolor = {{COLORS.background}} +status.url.fgcolor = {{COLORS.darkforeground}} +status.font = {{FONTNORMAL}},plain,{{FONTSIZE}} +# For the clipboard icon, needs to be a little larger on macOS +status.emoji.font = {{ICONFONT}},plain,19 +status.emoji.font.macosx = Dialog,plain,22 + +# HEADER TABS +# Settings for the tab area at the top. +header.text.font = {{FONTNORMAL}},plain,{{FONTSIZE}} +header.text.selected.color = {{COLORS.background}} +header.text.unselected.color = {{COLORS.darkforeground}} +header.tab.arrow.color = {{COLORS.foreground}} +header.gradient.top = {{COLORS.background}} +header.gradient.bottom = {{COLORS.background}} +header.tab.selected.color = {{COLORS.green}} +header.tab.unselected.color = {{COLORS.lightbackground}} +header.tab.modified.color = {{COLORS.yellow}} + +# FOOTER TABS +footer.text.font = {{FONTNORMAL}},plain,{{FONTSIZE}} +footer.text.selected.color = {{COLORS.foreground}} +footer.text.unselected.color = {{COLORS.darkforeground}} +footer.tab.arrow.color = {{COLORS.foreground}} +footer.gradient.top = {{COLORS.lightbackground}} +footer.gradient.bottom = {{COLORS.lightbackground}} +footer.tab.selected.color = {{COLORS.background}} +footer.tab.unselected.color = {{COLORS.lightbackground}} +# updates orange +footer.updates.color = {{COLORS.yellow}} + +# CONSOLE +# The font is handled by preferences, so its size/etc are modifiable. +console.color = {{COLORS.background}} +console.output.color = {{COLORS.foreground}} +# text color for errors printed in the console +console.error.color = {{COLORS.red}} + +# TOOLBAR BUTTONS +buttons.bgcolor = {{COLORS.background}} + +# for the debug and mode buttons +#reversed.gradient.top = {{COLORS.background}} +#reversed.gradient.bottom = {{COLORS.background}} + +## size of divider between editing area and the console +#divider.size = 0 +## the larger divider on windows is ugly with the little arrows +## this makes it large enough to see (mouse changes) and use, +## but keeps it from being annoyingly obtrusive +#divider.size.windows = 2 + +divider.height = 0 +divider.color = {{COLORS.lightbackground}} +divider.dot.diameter = 3 +divider.dot.color = {{COLORS.darkforeground}} + +# TOOLBAR BUTTON TEXT +toolbar.rollover.font = {{FONTNORMAL}},plain,{{FONTSIZE}} +toolbar.rollover.color = {{COLORS.foreground}} +toolbar.gradient.top = {{COLORS.background}} +toolbar.gradient.bottom = {{COLORS.background}} + +# MODE SELECTOR +mode.title.font = {{FONTNORMAL}},plain,{{FONTSIZE}} +mode.title.color = {{COLORS.foreground}} +# outline color of the mode button +mode.button.color = {{COLORS.foreground}} +#mode.button.gap = 13 +#mode.arrow.width +mode.background.color = {{COLORS.lightbackground}} +# stolen from gradient bottom +mode.background.color = {{COLORS.background}} +mode.outline.color = {{COLORS.lightbackground}} + + +# EDITOR - DETAILS + +# foreground and background colors +editor.fgcolor = {{COLORS.foreground}} +editor.bgcolor = {{COLORS.background}} + +editor.gradient.top = {{COLORS.background}} +editor.gradient.bottom = {{COLORS.background}} + +# highlight for the current line +editor.linehighlight.color={{COLORS.lightbackground}} +editor.linehighlight=true + +editor.caret.color = {{COLORS.foreground}} +editor.selection.color = {{COLORS.lightbackground}} + +# area that's not in use by the text (replaced with tildes) +editor.invalid.style = {{COLORS.darkforeground}},plain + +# little pooties at the end of lines that show where they finish +editor.eolmarkers = false +editor.eolmarkers.color = {{COLORS.darkforeground}} + +# bracket/brace highlighting +editor.brackethighlight = true +editor.brackethighlight.color = {{COLORS.blue}} + +editor.gutter.text.font = {{FONTNORMAL}},plain,{{FONTSIZE}} +editor.gutter.text.color = {{COLORS.foreground}} + +# marker for breakpointed lines in left hand gutter (2 ascii characters) +#editor.gutter.breakpoint.marker = <> +#editor.gutter.breakpoint.marker.color = #4a545e + +# marker for the current line in left hand gutter (2 ascii characters) +#editor.gutter.currentline.marker = -> +#editor.gutter.currentline.marker.color = #e27500 + +# bgcolor for the current (highlighted) line +editor.gutter.linehighlight.color={{COLORS.lightbackground}} + +# left- and right-hand gutter color +editor.gutter.bgcolor = {{COLORS.background}} + +# color of vertical separation line +#gutter.linecolor = #e9e9e9 +# space (in px) added to left and right of gutter markers +editor.gutter.padding = 3 + +# squiggly line underneath errors in the editor +editor.error.underline.color = {{COLORS.red}} +# squiggly line underneath warnings +editor.warning.underline.color = {{COLORS.yellow}} +# lines next to the scrollbar showing where errors are located +editor.column.error.color = {{COLORS.red}} +editor.column.warning.color = {{COLORS.yellow}} + +# not in use? +#breakpoint.bgcolor = #f0f0f0 +#currentline.bgcolor = #ffff96 + +errors.header.font = {{FONTNORMAL}},plain,{{FONTSIZE}} +errors.header.bgcolor = {{COLORS.background}} +errors.header.fgcolor = {{COLORS.foreground}} +errors.row.font = {{FONTNORMAL}},plain,{{FONTSIZE}} +errors.row.fgcolor = {{COLORS.foreground}} +errors.row.bgcolor = {{COLORS.background}} +errors.selection.fgcolor = {{COLORS.foreground}} +errors.selection.bgcolor = {{COLORS.lightbackground}} +errors.selection.error.bgcolor = {{COLORS.lightbackground}} +errors.selection.warning.bgcolor = {{COLORS.lightbackground}} +#errors.indicator.size = 3 +errors.indicator.error.color = {{COLORS.red}} +errors.indicator.warning.color = {{COLORS.yellow}} + +manager.tab.selected.color = {{COLORS.foreground}} +manager.tab.unselected.color = {{COLORS.lightbackground}} +manager.tab.text.font = {{FONTNORMAL}},plain,{{FONTSIZE}} +manager.tab.text.selected.color = {{COLORS.background}} +manager.tab.text.unselected.color = {{COLORS.foreground}} +# orange circle for updates +manager.tab.update.color = {{COLORS.yellow}} +manager.tab.gradient.top = {{COLORS.background}} +manager.tab.gradient.bottom = {{COLORS.background}} +manager.tab.background = {{COLORS.background}} + +# tree for Examples and Sketchbook windows +tree.font = status.font = {{FONTNORMAL}},plain,{{FONTSIZE}}