make vscodium use AUR instead of flatpak
- due to permission issues when using sudo
This commit is contained in:
parent
a8caa022ce
commit
74813863da
3 changed files with 5 additions and 12 deletions
|
@ -92,12 +92,5 @@
|
|||
"editor.largeFileOptimizations": false,
|
||||
"go.toolsManagement.autoUpdate": true,
|
||||
"svelte.plugin.svelte.note-new-transformation": false,
|
||||
"window.restoreWindows": "none",
|
||||
"terminal.integrated.defaultProfile.linux": "bash",
|
||||
"terminal.integrated.profiles.linux": {
|
||||
"bash": {
|
||||
"path": "/usr/bin/flatpak-spawn",
|
||||
"args": ["--host", "--env=TERM=xterm-256color", "zsh"]
|
||||
}
|
||||
}
|
||||
"window.restoreWindows": "none"
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
from src.util import flatpak_install, copy_file
|
||||
from src.util import paru_install, copy_file
|
||||
from os import system
|
||||
|
||||
|
||||
|
@ -45,14 +45,14 @@ EXTENSIONS = (
|
|||
|
||||
|
||||
def setup():
|
||||
flatpak_install("com.vscodium.codium")
|
||||
paru_install("vscodium-bin")
|
||||
|
||||
# codium --list-extensions
|
||||
for extension in EXTENSIONS:
|
||||
system(f"codium --install-extension {extension} --force")
|
||||
|
||||
# vscodium settings
|
||||
copy_file("home/.var/app/com.vscodium.codium/config/VSCodium/User/settings.json")
|
||||
copy_file("home/.config/VSCodium/User/settings.json")
|
||||
|
||||
# enable vscode extension store
|
||||
copy_file("home/.var/app/com.vscodium.codium/config/VSCodium/product.json")
|
||||
copy_file("home/.config/VSCodium/product.json")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue