Skip to content

Commit

Permalink
electron: cleanup ozone/wayland flags
Browse files Browse the repository at this point in the history
  • Loading branch information
chadsr committed Apr 16, 2024
1 parent 2eaf08d commit 2d89803
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 2 additions & 0 deletions electron/.config/environment.d/90-electron.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ELECTRON_OZONE_PLATFORM_HINT=wayland
ELECTRON_TRASH=gio
4 changes: 2 additions & 2 deletions zsh/.aliases
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ alias gitls='git ls'
alias gitll='git ll'
alias gitla='git la'

# Use vscodium when code is run
alias code='f() { codium --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland --unity-launch "$1" }; f'
# vscodium
alias code='codium'
alias c='code . && exit'
7 changes: 0 additions & 7 deletions zsh/.zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,6 @@ export NVM_DIR="$HOME/.nvm"
# shellcheck disable=SC1091
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

##############
# Electron #
##############

# Fixes moving files to trash in electron apps
export ELECTRON_TRASH=gio

############
# Conda #
############
Expand Down

0 comments on commit 2d89803

Please sign in to comment.