From 64a17dcee9b648efb25c49989ac52f82ea23c100 Mon Sep 17 00:00:00 2001 From: Carlos Aldana Date: Wed, 21 Feb 2024 08:54:22 -0800 Subject: [PATCH] separates kitty --- kitty.sh | 13 +++++++++++++ ubuntu-dev.sh | 20 +++----------------- 2 files changed, 16 insertions(+), 17 deletions(-) create mode 100644 kitty.sh diff --git a/kitty.sh b/kitty.sh new file mode 100644 index 0000000..2a7a16c --- /dev/null +++ b/kitty.sh @@ -0,0 +1,13 @@ +###### Kitty +curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin +# 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 +###### diff --git a/ubuntu-dev.sh b/ubuntu-dev.sh index d1e3cbe..e323f61 100644 --- a/ubuntu-dev.sh +++ b/ubuntu-dev.sh @@ -25,20 +25,6 @@ sudo apt install alacritty -y sudo apt install tmux -y -###### Kitty -curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin -# 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 -###### - sudo apt install software-properties-common sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' @@ -53,9 +39,9 @@ sudo apt install wget fontconfig && cd ~/.local/share/fonts && unzip Meslo.zip && rm *Windows* && rm Meslo.zip && fc-cache -fv ###### -sudo npm install -g @railway/cli -sudo npm install -g vercel -sudo npm install -g vercel@latest +npm install -g @railway/cli +npm install -g vercel +npm install -g vercel@latest cd ~/.config/