From 0b2cbe90a6aeefb6b1f565e1d2e041e85d3c464a Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 2 Jan 2023 21:32:46 +0000 Subject: [PATCH] Adding stuff --- .config/Code - OSS/User/settings.json | 23 +++++++++++++ .config/Code - OSS/User/snippets/.gitkeep | 0 .local/bin/setup/installdice | 42 +++++++++++++++++++++++ .local/bin/setup/setupobsidian | 4 +++ .local/bin/starttr | 10 ++++++ 5 files changed, 79 insertions(+) create mode 100644 .config/Code - OSS/User/settings.json create mode 100644 .config/Code - OSS/User/snippets/.gitkeep create mode 100755 .local/bin/setup/installdice create mode 100755 .local/bin/setup/setupobsidian create mode 100755 .local/bin/starttr diff --git a/.config/Code - OSS/User/settings.json b/.config/Code - OSS/User/settings.json new file mode 100644 index 0000000..349241d --- /dev/null +++ b/.config/Code - OSS/User/settings.json @@ -0,0 +1,23 @@ +{ + "editor.rulers": [80, 100, 120], + "editor.fontLigatures": true, + "files.watcherExclude": { + "**/.bloop": true, + "**/.metals": true, + "**/.ammonite": true + }, + "vscode-neovim.neovimExecutablePaths.linux": "/usr/bin/nvim", + "vscode-neovim.neovimInitVimPaths.linux": "~/.config/nvim/init.vim", + "files.autoSave": "onFocusChange", + "editor.fontFamily": "'FiraCode', 'monospace', 'Font Awesome 6 Free Solid', 'Font Awesome 6 Free Regular', 'Font Awesome 6 Brands Regular'", + "editor.lineNumbers": "relative", + "editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?_", + "diffEditor.codeLens": true, + "files.trimTrailingWhitespace": true, + "files.trimFinalNewlines": true, + "editor.codeLensFontFamily": "FiraCode", + "metals.enableIndentOnPaste": true, + "editor.detectIndentation": false, + "vetur.format.options.tabSize": 4, + "monkeyC.developerKeyPath": "/home/chris/.config/connectiq/developer_key" +} \ No newline at end of file diff --git a/.config/Code - OSS/User/snippets/.gitkeep b/.config/Code - OSS/User/snippets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/.local/bin/setup/installdice b/.local/bin/setup/installdice new file mode 100755 index 0000000..2b96174 --- /dev/null +++ b/.local/bin/setup/installdice @@ -0,0 +1,42 @@ +#! /bin/bash +# +# Dice (Discrete Integrated Circuit Emulator) is an emulation engine for very +# old arcade games that did not have a CPU. This emulator accurately simulates +# the logic gates on the board. + +doas pacman --noconfirm --needed -S wine winetricks + +winetricks + +doas mkdir /opt/DICE + +dir=$(mktemp -d) + +wget https://netix.dl.sourceforge.net/project/dice/DICE/DICE%200.9/dice.0.9.win.x64.zip -O ${dir}/dice.zip + +doas unzip -qq ${dir}/dice.zip -d /opt/DICE + +doas touch /opt/DICE/dice.sh +doas tee /opt/DICE/dice.sh <