Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
fix: discord
Browse files Browse the repository at this point in the history
  • Loading branch information
b- committed Oct 15, 2023
1 parent 5f192dc commit 4357dac
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/more.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#!/bin/sh
#!/bin/bash

wget 'https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage' -Lo /usr/bin/nvim.appimage
#wget 'https://download.beeper.com/linux/appImage/x64' -Lo /usr/bin/beeper.appimage
#

## install discord
curl -L 'https://discord.com/api/download?platform=linux&format=tar.gz' | tar -xzvC /usr/lib
cp /usr/lib/Discord/discord.desktop /usr/share/applications/
cp /usr/lib/Discord/discord.desktop /usr/share/applications/
mkdir /usr/share/discord
cat > /usr/share/discord/Discord <<EOF
#!/bin/bash
exec /usr/lib/Discord/Discord --enable-features=UseOzonePlatform --ozone-platform=wayland --no-sandbox --enable-features=WaylandWindowDecorations "${@}"
EOF

0 comments on commit 4357dac

Please sign in to comment.