-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from victoriadrake/ubuntu-22.04
Ubuntu 22.04
- Loading branch information
Showing
7 changed files
with
22 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
# Dotfiles for Ubuntu 21.10 | ||
# Dotfiles for Ubuntu 22.04 | ||
|
||
My preferred starting configuration. Currently using [Ubuntu 21.10 Impish Indri](https://ubuntu.com/download/desktop) + [Pop_OS! Shell](https://github.com/pop-os/shell) for tiling. | ||
My preferred starting configuration. Currently using [Ubuntu 22.04](https://ubuntu.com/download/desktop) + [Pop_OS! Shell](https://github.com/pop-os/shell) for tiling. | ||
|
||
The installation script (`scripts/install.sh`) will install a suggested serving of programs and applications using scripts in the `scripts/programs/` directory. Please verify that you want these before running the script. | ||
|
||
Add or delete programs in `scripts/install.sh` and `scripts/programs/` to modify your installation. | ||
|
||
## Usage | ||
|
||
After installing your fresh OS, [create any SSH keys](https://docs.github.com/articles/generating-an-ssh-key/) you need to access GitHub. See [copy-able commands](#set-up-ssh-keys) for doing this below. | ||
After installing your fresh OS: | ||
|
||
If not generating new keys, place the ones you need in `.ssh/`. Remember to run `ssh-add` as well as `chmod 600 <key_name>`. Then clone this repository: | ||
1. [Create any SSH keys](https://docs.github.com/articles/generating-an-ssh-key/) you need to access GitHub. See [copy-able commands](#set-up-ssh-keys) for doing this below. If not generating new keys, place the ones you need in `.ssh/`. Remember to run `ssh-add` as well as `chmod 600 <key_name>`. | ||
2. Then clone this repository: | ||
|
||
```sh | ||
git clone [email protected]:victoriadrake/dotfiles.git | ||
```sh | ||
git clone [email protected]:victoriadrake/dotfiles.git | ||
|
||
# Or use HTTPS | ||
git clone https://github.com/victoriadrake/dotfiles.git | ||
``` | ||
# Or use HTTPS | ||
git clone https://github.com/victoriadrake/dotfiles.git | ||
``` | ||
|
||
You may optionally like to pass the `--depth` argument to clone only a few of the [most recent commits](https://github.com/victoriadrake/dotfiles/commits/master). | ||
You may optionally like to pass the `--depth` argument to clone only a few of the [most recent commits](https://github.com/victoriadrake/dotfiles/commits/master). | ||
|
||
Close Firefox if it's open, then run the installation script. (Read it first so you know what it does!) | ||
3. Close Firefox if it's open, then run the installation script. ([Read it first](scripts/install.sh) so you know what it does!) | ||
```sh | ||
cd dotfiles/scripts/ | ||
./install.sh | ||
``` | ||
```sh | ||
cd dotfiles/scripts/ | ||
./install.sh | ||
``` | ||
To install the Pop_OS! Shell for window tiling, see [Installation in their repo.](https://github.com/pop-os/shell#installation) | ||
|
@@ -48,6 +49,8 @@ See [How to write Bash one-liners for cloning and managing GitHub and GitLab rep | |
There are plenty of themes for Gnome terminal at [Mayccoll/Gogh](https://github.com/Mayccoll/Gogh). | ||
For the Gogh script to work, you may need to have an existing terminal profile named `Default`. This will get overwritten. | ||
Print a 256-color test pattern in your terminal: | ||
```sh | ||
|
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/bin/bash | ||
|
||
echo '🤵 Install Hugo' | ||
HUGO_VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.tag_name') | ||
HUGO_VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep 'tag_name' | cut -d '"' -f 4 | cut -c 2-) | ||
mkdir tmp/ && cd tmp/ | ||
curl -sSL https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION: -6}_Linux-64bit.tar.gz | tar -xvzf- | ||
curl -sSL https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz | tar -xvzf- | ||
sudo mv hugo /usr/local/bin/ | ||
cd .. && rm -rf tmp/ | ||
hugo version |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
3 changes: 1 addition & 2 deletions
3
scripts/programs/python3.sh → scripts/programs/python-helpers.sh
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
#!/bin/bash | ||
|
||
echo "🐍 Installing Python" | ||
echo "🐍 Installing Python helpers" | ||
sudo apt install -y python3-venv python3-pip | ||
pip3 install Django | ||
|
This file was deleted.
Oops, something went wrong.
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