From dd254963ce9e1e30434af9518920229f3206984a Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Sun, 20 Sep 2026 16:31:21 +0200 Subject: [PATCH] Updated README and moved config to user-config. --- README.md | 154 +++++++++++++++++++++++- {config => user-config}/OpenBarSettings | 0 user-config/vscodium-settings.jsonc | 88 ++++++++++++++ 3 files changed, 240 insertions(+), 2 deletions(-) rename {config => user-config}/OpenBarSettings (100%) create mode 100644 user-config/vscodium-settings.jsonc diff --git a/README.md b/README.md index 7caedf9..07fcf70 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ cmake pkg-config fastfetch cava +ccls ``` ## Flatpak @@ -152,6 +153,75 @@ cd $HOME/ sudo apt install ./steam_lastest.deb ``` +## Install Discord and Vencord + +[Download discord](https://discord.com/). + +Go to your download folder and install the package. +``` +cd $HOME/ +sudo apt install ./Discord.deb +``` + +Run Discord and connect your account. + +To install vencord run the following command. +``` +sh -c "$(curl -sS https://vencord.dev/install.sh)" +``` + +Then when prompted enter in order : +``` +[Enter] +[Enter] +[Enter] +``` + +## Install Signal + +Add repository gpg key. +``` +curl https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg +cat signal-desktop-keyring.gpg | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null +rm signal-desktop-keyring.gpg +``` + +Add repository. +``` +curl -o signal-desktop.sources https://updates.signal.org/static/desktop/apt/signal-desktop.sources +cat signal-desktop.sources | sudo tee /etc/apt/sources.list.d/signal-desktop.sources > /dev/null +rm signal-desktop.sources +``` + +Install signal. +``` +sudo apt update +sudo apt install signal-desktop +``` + +## Install wine + +Add repository gpg key. +``` +wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key - +``` + +Enable 32-bit repository. +``` +sudo dpkg --add-architecture i386 +``` + +Add the sources file. +``` +sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/trixie/winehq-trixie.sources +``` + +Install winehq stable. +``` +sudo apt update +sudo apt install --install-recommends winehq-stable +``` + # User configuration ## Configure Gnome @@ -172,7 +242,7 @@ Install extensions. #### Open Bar -Import settings from [this file](config/OpenBarSettings). +Import settings from [this file](user-config/OpenBarSettings). #### TopHat @@ -234,7 +304,26 @@ mkdir -p $HOME/.local/bin echo "export PATH=$HOME/.local/bin:\$PATH" >> ~/.bashrc ``` -## Configure Reaper. +## Configure VSCodium + +Copy settings to user folder. +``` +cp user-config/vscodium-settings.jsonc $HOME/.config/VSCodium/User/settings.json +``` + +### Extensions + + - Bash IDE : "mads-hartmann.bash-ide-vscode" + - ccls : "ccls-project.ccls" + - CMake : "twxs.cmake" + - HTML CSS Support : "ecmel.vscode-html-css" + - Kylin Native Debug : "kylinideteam.kylin-debug" + - Live Server : "yandeu.five-server" + - PDF Viewer : "mathematic.vscode-pdf" + - Pyrefly : "meta.pyrefly" + - Tallow : "jdberlinski.tallow-theme" + +## Configure Reaper [Download theme](https://stash.reaper.fm/26225/Fusion_SwissEdition.ReaperThemeZip). @@ -243,6 +332,54 @@ Move theme to Reaper theme folder. mv $HOME//Fusion_SwissEdition.ReaperThemeZip $HOME/.config/REAPER/ColorThemes/ ``` +## Install yabridge + +See more on [Github](https://github.com/robbert-vdh/yabridge/tree/new-wine10-embedding) + +Create and go into yabridge directory. +``` +mkdir -p $HOME/.local/share/yabridge +cd $HOME/.local/share/yabridge +``` + +Clone yabridge repository. +``` +git clone -b new-wine10-embedding https://github.com/robbert-vdh/yabridge.git yabridge-src +``` + +Install deps, you will need to install wine before. +``` +sudo apt install meson wine-stable-dev gcc-multilib g++-multilib libxcb1-dev:i386 cargo +``` + +Build yabride loader. +``` +meson setup build --buildtype=release --cross-file=cross-wine.conf --unity=on --unity-size=1000 -Dbitbridge=true +ninja -C build +``` + +Install yabridge loader. +``` +cp build/libyabridge-*.so .. +cp build/yabridge-host* .. +``` + +Build yabridgectl. +``` +cd tools/yabridgectl +cargo build +``` + +Install yabridgectl. +``` +cp target/debug/yabridgectl $HOME/.local/bin/ +``` + +Finish install by running : +``` +yabridgectl sync +``` + ## Install the pico-sdk and picotool See more on [Poivron-Robotique](https://poivron-robotique.fr/Rpi-Pico-Installer-l-environnement-de-developpement-sur-Debian-11.html). @@ -360,4 +497,17 @@ make cp picotool $HOME/.local/bin/ ``` +Yabridge. +``` +cd $HOME/.local/yabridge/yabridge-src +git pull +meson setup build --reconfigure --buildtype=release --cross-file=cross-wine.conf --unity=on --unity-size=1000 -Dbitbridge=true +ninja -C build +cp build/libyabridge-*.so .. +cp build/yabridge-host* .. +cd tools/yabridgectl +cargo build +cp target/debug/yabridgectl $HOME/.local/bin/ +``` + For Reaper redo the installation process. diff --git a/config/OpenBarSettings b/user-config/OpenBarSettings similarity index 100% rename from config/OpenBarSettings rename to user-config/OpenBarSettings diff --git a/user-config/vscodium-settings.jsonc b/user-config/vscodium-settings.jsonc new file mode 100644 index 0000000..d367a4d --- /dev/null +++ b/user-config/vscodium-settings.jsonc @@ -0,0 +1,88 @@ +{ + "window.newWindowDimensions": "maximized", + "window.restoreFullscreen": true, + "window.commandCenter": false, + + "workbench.layoutControl.enabled": false, + "workbench.colorTheme": "minimalGreen", + "workbench.editor.empty.hint": "hidden", + + "editor.stickyScroll.enabled": false, + "editor.minimap.enabled": false, + "editor.renderWhitespace": "trailing", + "editor.unicodeHighlight.includeStrings": false, + "editor.detectIndentation": false, + + "explorer.confirmDelete": false, + "explorer.confirmDragAndDrop": false, + "explorer.confirmPasteNative": false, + + "terminal.integrated.persistentSessionReviveProcess": "never", + "terminal.integrated.enableMultiLinePasteWarning": "never", + "terminal.integrated.initialHint": false, + "terminal.integrated.cursorStyle": "line", + "terminal.integrated.cursorStyleInactive": "line", + "terminal.integrated.drawBoldTextInBrightColors": false, + "terminal.integrated.minimumContrastRatio": 1, + "terminal.integrated.stickyScroll.enabled": false, + "terminal.integrated.textBlinking": true, + + "application.shellEnvironmentResolutionTimeout": 100, + + "security.workspace.trust.untrustedFiles": "open", + + "chat.disableAIFeatures": true, + + "telemetry.feedback.enabled": false, + "telemetry.telemetryLevel": "off", + + "files.associations": { + "*.tsx": "xml", + "*.map": "json" + }, + + "bashIde.shellcheckArguments": "--exclude=SC2120,SC2155,SC2119", + "ccls.cache.directory": ".vscode/ccls-cache", + "extensions.ignoreRecommendations": true, + "git.enabled": false, + "markdown-preview-enhanced.previewTheme": "atom-dark.css", + "nix.enableLanguageServer": true, + "nix.serverPath": "nil", // or "nixd", or ["executable", "argument1", ...] + // LSP config can be passed via the ``nix.serverSettings.{lsp}`` as shown below. + "nix.serverSettings": { + // check https://github.com/oxalica/nil/blob/main/docs/configuration.md for all options available + "nil": { + // "diagnostics": { + // "ignored": ["unused_binding", "unused_with"], + // }, + "formatting": { + "command": [ + "nixfmt" + ] + } + }, + // check https://github.com/nix-community/nixd/blob/main/nixd/docs/configuration.md for all nixd config + "nixd": { + "formatting": { + "command": [ + "nixfmt" + ] + }, + "options": { + // By default, this entry will be read from `import { }`. + // You can write arbitrary Nix expressions here, to produce valid "options" declaration result. + // Tip: for flake-based configuration, utilize `builtins.getFlake` + "nixos": { + "expr": "(builtins.getFlake \"/absolute/path/to/flake\").nixosConfigurations..options" + }, + "home-manager": { + "expr": "(builtins.getFlake \"/absolute/path/to/flake\").homeConfigurations..options" + }, + // Tip: use ${workspaceFolder} variable to define path + "nix-darwin": { + "expr": "(builtins.getFlake \"${workspaceFolder}/path/to/flake\").darwinConfigurations..options" + } + } + } + } +} \ No newline at end of file