mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Add omarchy CLI * Remove outdated or internal * Add bash completions for command * Add omarchy command documentation * Add missing docs * Correct to what's now right * Fix tests --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
30 lines
836 B
Bash
Executable File
30 lines
836 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Install VS Code and configure Omarchy defaults for secrets, updates, and theme
|
|
|
|
echo "Installing VSCode..."
|
|
omarchy-pkg-add visual-studio-code-bin
|
|
|
|
mkdir -p ~/.vscode ~/.config/Code/User
|
|
|
|
cat > ~/.vscode/argv.json << 'EOF'
|
|
// This configuration file allows you to pass permanent command line arguments to VS Code.
|
|
// Only a subset of arguments is currently supported to reduce the likelihood of breaking
|
|
// the installation.
|
|
//
|
|
// PLEASE DO NOT CHANGE WITHOUT UNDERSTANDING THE IMPACT
|
|
//
|
|
// NOTE: Changing this file requires a restart of VS Code.
|
|
{
|
|
"password-store":"gnome-libsecret"
|
|
}
|
|
EOF
|
|
|
|
# Ensure VSC's own auto-update feature is turned off
|
|
printf '{\n "update.mode": "none"\n}\n' > ~/.config/Code/User/settings.json
|
|
|
|
# Apply Omarchy theme to VSCode
|
|
omarchy-theme-set-vscode
|
|
|
|
setsid gtk-launch code
|