Adding stuff
This commit is contained in:
23
.config/Code - OSS/User/settings.json
Normal file
23
.config/Code - OSS/User/settings.json
Normal file
@@ -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"
|
||||
}
|
||||
0
.config/Code - OSS/User/snippets/.gitkeep
Normal file
0
.config/Code - OSS/User/snippets/.gitkeep
Normal file
42
.local/bin/setup/installdice
Executable file
42
.local/bin/setup/installdice
Executable file
@@ -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 <<HRD
|
||||
#! /bin/sh
|
||||
wine /opt/DICE/dice.exe \$1
|
||||
HRD
|
||||
|
||||
doas chmod 755 /opt/DICE
|
||||
doas chmod +x /opt/DICE/dice.sh
|
||||
doas ln -fs /opt/DICE/dice.sh /usr/bin/dice
|
||||
|
||||
doas touch /opt/DICE/DICE.desktop
|
||||
|
||||
doas tee /opt/DICE/DICE.desktop <<HRD
|
||||
[Desktop Entry]
|
||||
Version=0.9
|
||||
Name=DICE
|
||||
Comment=DICE is an emulator for integrated circuits of old arcade games
|
||||
Exec=/opt/dice.sh
|
||||
Path=/opt/DICE
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Games
|
||||
HRD
|
||||
|
||||
4
.local/bin/setup/setupobsidian
Executable file
4
.local/bin/setup/setupobsidian
Executable file
@@ -0,0 +1,4 @@
|
||||
#! /bin/bash
|
||||
|
||||
ln -sf ~/Tower/Notes/_downloads ~/Downloads/Notes
|
||||
|
||||
10
.local/bin/starttr
Executable file
10
.local/bin/starttr
Executable file
@@ -0,0 +1,10 @@
|
||||
#! /bin/bash
|
||||
|
||||
while clipnotify; do
|
||||
selection=`xclip -o`
|
||||
translation=`trans -b ro:en "$selection"`
|
||||
echo $selection
|
||||
echo $translation
|
||||
# notify-send $translation
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user