diff --git a/README.md b/README.md index a851306d..ee80cf92 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,34 @@ make install-all-packages make ``` -### Install tmux plugins +### Optional -- Prefix + I (`ctrl-a I`) +- Install tmux plugins: Prefix + I (`ctrl-a I`) +- `scripts/install-chrome.sh` +- `scripts/install-kitty.sh` +- Download `secretsrc` +- Install Slapdash: https://slapdash.com/download/linux and add the binary to + Startup Applications +- Add Flameshot as a startup application +- Install vim plugin: open Vim and run `:Copilot setup` +- Install Gnome extensions: https://extensions.gnome.org/local/ +- Install VSCode: `$ sudo snap install code --classic` +- `sudo apt install gnome-tweaks` (although the tweaks themselves get migrated + already with SaveDesktop) +- add to `/etc/sysctl.conf`: + +``` +fs.inotify.max_user_instances = 1048576 +fs.inotify.max_user_watches = 1048576 +``` + +### Migrating between machines + +- Use SaveDestop to migrate Gnome settings between machines (https://github.com/vikdevelop/SaveDesktop) ### How to create a new user -This isn't quite related to dotfiles, but w/e. +This isn't quite related to dotfiles but could be helpful. ```console NEWUSER=topher diff --git a/scripts/install-kitty.sh b/scripts/install-kitty.sh new file mode 100755 index 00000000..1a4966b3 --- /dev/null +++ b/scripts/install-kitty.sh @@ -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 diff --git a/scripts/install-slapdash.sh b/scripts/install-slapdash.sh new file mode 100755 index 00000000..11af2113 --- /dev/null +++ b/scripts/install-slapdash.sh @@ -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