-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add instructions for migrating (#265)
- Loading branch information
Showing
3 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# https://sw.kovidgoyal.net/kitty/binary/ | ||
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin | ||
|
||
# make directory if not exists | ||
mkdir --parents ~/.local/bin | ||
|
||
# Create symbolic links to add kitty and kitten to PATH (assuming ~/.local/bin is in | ||
# your system-wide PATH) | ||
ln -sf ~/.local/kitty.app/bin/kitty ~/.local/kitty.app/bin/kitten ~/.local/bin/ | ||
# Place the kitty.desktop file somewhere it can be found by the OS | ||
cp ~/.local/kitty.app/share/applications/kitty.desktop ~/.local/share/applications/ | ||
# If you want to open text files and images in kitty via your file manager also add the kitty-open.desktop file | ||
cp ~/.local/kitty.app/share/applications/kitty-open.desktop ~/.local/share/applications/ | ||
# Update the paths to the kitty and its icon in the kitty.desktop file(s) | ||
sed -i "s|Icon=kitty|Icon=/home/$USER/.local/kitty.app/share/icons/hicolor/256x256/apps/kitty.png|g" ~/.local/share/applications/kitty*.desktop | ||
sed -i "s|Exec=kitty|Exec=/home/$USER/.local/kitty.app/bin/kitty|g" ~/.local/share/applications/kitty*.desktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
sudo apt update | ||
sudo apt install libfuse2 | ||
|
||
wget https://slapdash.com/download/linux -O /tmp/slapdash-linux | ||
chmod +x /tmp/slapdash-linux | ||
/tmp/slapdash-linux |