adding a bunch of stuff
This commit is contained in:
parent
597e4fe808
commit
e55a5f8ee3
21
app-1password
Executable file
21
app-1password
Executable file
@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# Install 1password and 1password-cli single script
|
||||
curl -sS https://downloads.1password.com/linux/keys/1password.asc | \
|
||||
sudo gpg --dearmor --output /usr/share/keyrings/1password-archive-keyring.gpg
|
||||
|
||||
# Add apt repository
|
||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/$(dpkg --print-architecture) stable main" |
|
||||
sudo tee /etc/apt/sources.list.d/1password.list
|
||||
|
||||
# Add the debsig-verify policy
|
||||
sudo mkdir -p /etc/debsig/policies/AC2D62742012EA22/
|
||||
curl -sS https://downloads.1password.com/linux/debian/debsig/1password.pol | \
|
||||
sudo tee /etc/debsig/policies/AC2D62742012EA22/1password.pol
|
||||
sudo mkdir -p /usr/share/debsig/keyrings/AC2D62742012EA22
|
||||
curl -sS https://downloads.1password.com/linux/keys/1password.asc | \
|
||||
sudo gpg --dearmor --output /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg
|
||||
|
||||
# Install 1Password & 1password-cli
|
||||
sudo apt update && sudo apt install -y 1password 1password-cli
|
10
app-chrome
Executable file
10
app-chrome
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# Browse the web with the most popular browser. See https://www.google.com/chrome/
|
||||
cd /tmp
|
||||
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||
sudo apt install -y ./google-chrome-stable_current_amd64.deb
|
||||
rm google-chrome-stable_current_amd64.deb
|
||||
xdg-settings set default-web-browser google-chrome.desktop
|
||||
cd -
|
5
app-obsidian
Executable file
5
app-obsidian
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# Obsidian is a multi-platform note taking application. See https://obsidian.md
|
||||
flatpak install -y flathub md.obsidian.Obsidian
|
1
darwin-brew
Normal file
1
darwin-brew
Normal file
@ -0,0 +1 @@
|
||||
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)
|
||||
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
|
||||
@ -6,7 +7,7 @@ defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
|
||||
# Automatically quit printer app once the print jobs complete
|
||||
defaults write com.apple.print.PrintingPrefs "Quit When Finished" -bool true
|
||||
|
||||
# Disable smart dashes as they’re annoying when typing code
|
||||
# Disable smart dashes as they’re annoying when typing code
|
||||
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
|
||||
|
||||
# Require password immediately after sleep or screen saver begins
|
||||
|
6
linux-flatpak
Executable file
6
linux-flatpak
Executable file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
sudo apt install -y flatpak
|
||||
sudo apt install -y gnome-software-plugin-flatpak
|
||||
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
0
linux-update
Normal file → Executable file
0
linux-update
Normal file → Executable file
@ -1,13 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
os=`uname -s| tr '[:upper:]' '[:lower:]'`
|
||||
# sudo apt-get update
|
||||
# sudo apt-get upgrade -y
|
||||
|
||||
categories="$(os) system hw dev tool app font $(hostname)"
|
||||
for c in $categories; do
|
||||
for x in ${c}-*; do
|
||||
source $x
|
||||
done
|
||||
done
|
||||
done
|
||||
|
2
system-workspace
Normal file
2
system-workspace
Normal file
@ -0,0 +1,2 @@
|
||||
mkdir -p $HOME/.workspace/src
|
||||
|
4
tool-starship
Executable file
4
tool-starship
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
curl -sS https://starship.rs/install.sh | sh
|
17
tool-vscode
Executable file
17
tool-vscode
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
cd /tmp
|
||||
curl -sS https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor >packages.microsoft.gpg
|
||||
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
|
||||
echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" | sudo tee /etc/apt/sources.list.d/vscode.list >/dev/null
|
||||
rm -f packages.microsoft.gpg
|
||||
cd -
|
||||
|
||||
sudo apt update -y
|
||||
sudo apt install -y code
|
||||
|
||||
#mkdir -p ~/.config/Code/User
|
||||
#cp ~/.local/share/omakub/configs/vscode.json ~/.config/Code/User/settings.json
|
||||
|
||||
# Install default supported themes
|
Loading…
x
Reference in New Issue
Block a user