vscode: ship flags
This commit is contained in:
parent
2aa252316f
commit
c535d84bde
2 changed files with 8 additions and 1 deletions
|
|
@ -220,10 +220,11 @@ if set -q _flag_vscode
|
|||
yay -S --needed $packages $noconfirm
|
||||
|
||||
# Install configs
|
||||
if confirm-overwrite $folder/settings.json && confirm-overwrite $folder/keybindings.json
|
||||
if confirm-overwrite $folder/settings.json && confirm-overwrite $folder/keybindings.json && confirm-overwrite $config/$prog-flags.conf
|
||||
log "Installing vs$prog config..."
|
||||
ln -s (realpath vscode/settings.json) $folder/settings.json
|
||||
ln -s (realpath vscode/keybindings.json) $folder/keybindings.json
|
||||
ln -s (realpath vscode/flags.conf) $config/$prog-flags.conf
|
||||
|
||||
# Install extension
|
||||
$prog --install-extension vscode/caelestia-vscode-integration/caelestia-vscode-integration-*.vsix
|
||||
|
|
|
|||
6
vscode/flags.conf
Normal file
6
vscode/flags.conf
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
--ozone-platform-hint=wayland
|
||||
--gtk-version=4
|
||||
--ignore-gpu-blocklist
|
||||
--enable-features=TouchpadOverscrollHistoryNavigation
|
||||
--enable-wayland-ime
|
||||
--password-store=gnome-libsecret
|
||||
Loading…
Add table
Add a link
Reference in a new issue