codium: Move to flatpak version

This commit is contained in:
histalek 2022-05-02 13:26:24 +02:00
parent cbc46c0f0f
commit c8b900f8cf
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03
3 changed files with 20 additions and 7 deletions

View file

@ -4,7 +4,7 @@
"editor.bracketPairColorization.enabled": true,
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": true,
"editor.fontFamily": "Iosevka Nerd Font Complete Mono",
"editor.fontFamily": "Iosevka Nerd Font",
"editor.fontLigatures": false,
"editor.suggestSelection": "first",
"editor.wordWrap": "on",
@ -45,10 +45,16 @@
"svg.preview.mode": "svg",
"terminal.integrated.fontFamily": "'monospace','PowerlineSymbols'",
"terminal.integrated.persistentSessionReviveProcess": "never",
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/flatpak-spawn",
"args": ["--host", "--env=TERM=xterm-256color", "zsh"]
}
},
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"window.title": "${activeEditorShort}${separator}${rootPath}",
"workbench.colorTheme": "One Dark Pro Darker",
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
"workbench.preferredDarkColorTheme": "One Dark Pro Darker",
"workbench.preferredHighContrastColorTheme": "One Dark Pro Darker",
@ -67,4 +73,6 @@
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.iconTheme": "material-icon-theme",
"editor.fontSize": 16,
}

View file

@ -1,12 +1,15 @@
# general aliases
## Alias handling
alias editalias='vim $HOME/.config/oh-my-zsh/aliases.zsh'
alias editalias='vim $HOME/.config/zsh/aliases.zsh'
alias updatealias='exec zsh'
## https://www.atlassian.com/git/tutorials/dotfiles
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
## Use flatpak vscodium
alias codium="flatpak run com.vscodium.codium --no-sandbox "
## navigation
alias ..='cd ..'
alias ...='cd ../..'

View file

@ -2,17 +2,19 @@
Name=VSCodium (custom)
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/opt/vscodium-bin/bin/codium --no-sandbox --unity-launch %F
Icon=vscodium
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/codium --file-forwarding com.vscodium.codium --no-sandbox --unity-launch @@ %F @@
Icon=com.vscodium.codium
Type=Application
StartupNotify=true
StartupWMClass=VSCodium
Categories=Utility;Development;IDE;
MimeType=text/plain;inode/directory;
MimeType=text/plain;inode/directory;application/x-codium-workspace;
Actions=new-empty-window;
Keywords=vscode;
X-Flatpak=com.vscodium.codium
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=/opt/vscodium-bin/bin/codium --no-sandbox --new-window %F
Icon=vscodium
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/codium --file-forwarding com.vscodium.codium --no-sandbox --new-window @@ %F @@
Icon=com.vscodium.codium