Merge branch 'main' of github.com:Jafner/dotfiles

This commit is contained in:
Jafner 2021-11-19 12:16:54 -08:00
commit ffde9c6cc4
4 changed files with 15 additions and 679 deletions

View File

@ -1,664 +0,0 @@
terminal:
searchOptions: {}
colorScheme:
name: Material
foreground: '#eceff1'
background: rgba(38, 50, 56, 1)
selection: null
cursor: '#FFCC00'
colors:
- '#000000'
- '#D62341'
- '#9ECE58'
- '#FAED70'
- '#396FE2'
- '#BB80B3'
- '#2DDAFD'
- '#d0d0d0'
- rgba(255, 255, 255, 0.2)
- '#FF5370'
- '#C3E88D'
- '#FFCB6B'
- '#82AAFF'
- '#C792EA'
- '#89DDFF'
- '#ffffff'
bell: visual
fontSize: 14
profile: local:binbash
customColorSchemes: []
warnOnMultilinePaste: false
showBuiltinProfiles: false
hotkeys:
shell: {}
profile:
wsl-/-default-distro:
- - Ctrl-N
ssh:
- - Ctrl-T
close-tab:
- - Ctrl-W
new-tab: []
toggle-window:
- Ctrl-Space
copy:
- Ctrl-Shift-C
paste:
- Ctrl-Shift-V
- Shift-Insert
home:
- Home
end:
- End
previous-word:
- Ctrl-Left
next-word:
- Ctrl-Right
delete-previous-word:
- Ctrl-Backspace
delete-next-word:
- Ctrl-Delete
clear: []
zoom-in:
- Ctrl-=
- Ctrl-Shift-=
zoom-out:
- Ctrl--
- Ctrl-Shift--
reset-zoom:
- Ctrl-0
ctrl-c:
- Ctrl-C
copy-current-path: []
search:
- Ctrl-Shift-F
pane-focus-all:
- Ctrl-Shift-I
restart-telnet-session: []
restart-ssh-session: []
launch-winscp: []
settings:
- Ctrl-,
new-window:
- Ctrl-Shift-N
profile-selector:
- Ctrl-Shift-T
toggle-fullscreen:
- F11
- Alt-Enter
rename-tab:
- Ctrl-Shift-R
reopen-tab:
- Ctrl-Shift-T
toggle-last-tab: []
next-tab:
- Ctrl-Shift-Right
- Ctrl-Tab
previous-tab:
- Ctrl-Shift-Left
- Ctrl-Shift-Tab
move-tab-left:
- Ctrl-Shift-PageUp
move-tab-right:
- Ctrl-Shift-PageDown
rearrange-panes:
- Ctrl-Shift
tab-1:
- Alt-1
tab-2:
- Alt-2
tab-3:
- Alt-3
tab-4:
- Alt-4
tab-5:
- Alt-5
tab-6:
- Alt-6
tab-7:
- Alt-7
tab-8:
- Alt-8
tab-9:
- Alt-9
tab-10:
- Alt-0
tab-11: []
tab-12: []
tab-13: []
tab-14: []
tab-15: []
tab-16: []
tab-17: []
tab-18: []
tab-19: []
tab-20: []
split-right:
- Ctrl-Shift-E
split-bottom:
- Ctrl-Shift-D
split-left: []
split-top: []
pane-maximize:
- Ctrl-Alt-Enter
pane-nav-up:
- Ctrl-Alt-Up
pane-nav-down:
- Ctrl-Alt-Down
pane-nav-left:
- Ctrl-Alt-Left
pane-nav-right:
- Ctrl-Alt-Right
pane-nav-previous:
- Ctrl-Alt-[
pane-nav-next:
- Ctrl-Alt-]
switch-profile:
- Ctrl-Alt-T
close-pane: []
profile-selectors: {}
select-all:
- Ctrl-Shift-A
serial:
- Alt-K
restart-serial-session: []
serial: {}
ssh: {}
appearance:
opacity: 0.71
vibrancy: false
enableWelcomeTab: false
pluginBlacklist:
- clickable-links
- serial
clickableLinks: {}
qc:
cmds:
- name: Install Docker on New Host
text: >-
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y
install git docker docker-compose && sudo systemctl enable docker &&
sudo usermod -aG docker $USER && logout
appendCR: true
group: null
- name: Down, edit, up, logs
text: >-
docker-compose down && vim docker-compose.yml && docker-compose up -d &&
docker-compose logs -f
appendCR: true
group: null
- name: Build, run, logs
text: ''
appendCR: true
group: null
version: 3
profiles:
- icon: fas fa-desktop
name: dev-env
group: GreenFrog
options:
name: snapshot
group: GreenFrog
host: 147.182.192.153
algorithms:
hmac:
- hmac-sha1
- hmac-sha2-256
- hmac-sha2-512
kex:
- curve25519-sha256
- curve25519-sha256@libssh.org
- diffie-hellman-group14-sha1
- diffie-hellman-group14-sha256
- diffie-hellman-group16-sha512
- diffie-hellman-group18-sha512
- ecdh-sha2-nistp256
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
cipher:
- aes128-ctr
- aes128-gcm
- aes128-gcm@openssh.com
- aes192-ctr
- aes256-ctr
- aes256-gcm
- aes256-gcm@openssh.com
serverHostKey:
- ecdsa-sha2-nistp256
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp521
- ssh-ed25519
- ssh-rsa
privateKeys:
- file:///home/joey/.ssh/id_rsa
scripts: []
forwardedPorts: []
id: ssh:custom:dev-env:f34e8f4b-b52d-4e5f-9219-58f17cdde6bd
type: ssh
- icon: fas fa-desktop
name: xtouch
group: local
options:
name: pi
group: local
host: xtouch.local
user: pi
algorithms:
hmac:
- hmac-sha1
- hmac-sha2-256
- hmac-sha2-512
kex:
- curve25519-sha256
- curve25519-sha256@libssh.org
- diffie-hellman-group14-sha1
- diffie-hellman-group14-sha256
- diffie-hellman-group16-sha512
- diffie-hellman-group18-sha512
- ecdh-sha2-nistp256
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
cipher:
- aes128-ctr
- aes128-gcm
- aes128-gcm@openssh.com
- aes192-ctr
- aes256-ctr
- aes256-gcm
- aes256-gcm@openssh.com
serverHostKey:
- ecdsa-sha2-nistp256
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp521
- ssh-ed25519
- ssh-rsa
privateKeys:
- file:///home/joey/.ssh/id_rsa
id: ssh:custom:pi-copy:80434af9-a66b-4529-b099-95b796f05161
type: ssh
- icon: fas fa-desktop
name: DO matrix
group: cloud
options:
name: digital ocean
group: cloud
host: 143.110.157.109
algorithms:
hmac:
- hmac-sha1
- hmac-sha2-256
- hmac-sha2-512
kex:
- curve25519-sha256
- curve25519-sha256@libssh.org
- diffie-hellman-group14-sha1
- diffie-hellman-group14-sha256
- diffie-hellman-group16-sha512
- diffie-hellman-group18-sha512
- ecdh-sha2-nistp256
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
cipher:
- aes128-ctr
- aes128-gcm
- aes128-gcm@openssh.com
- aes192-ctr
- aes256-ctr
- aes256-gcm
- aes256-gcm@openssh.com
serverHostKey:
- ecdsa-sha2-nistp256
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp521
- ssh-ed25519
- ssh-rsa
privateKeys:
- file:///home/joey/.ssh/digital_ocean
scripts: []
forwardedPorts: []
id: ssh:custom:digital-ocean-copy:890ce4d4-bca6-4bb8-b4fe-d90f73e915d0
type: ssh
- id: ssh:046860a7-21ec-41b1-a23f-5011c812a240
icon: fas fa-desktop
name: joey-server
group: local
options:
name: joey-server
group: local
host: joey-server.local
user: joey
algorithms:
hmac:
- hmac-sha1
- hmac-sha2-256
- hmac-sha2-512
kex:
- diffie-hellman-group-exchange-sha256
- diffie-hellman-group14-sha1
- diffie-hellman-group14-sha256
- diffie-hellman-group16-sha512
- diffie-hellman-group18-sha512
- ecdh-sha2-nistp256
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
cipher:
- aes128-ctr
- aes128-gcm
- aes128-gcm@openssh.com
- aes192-ctr
- aes256-ctr
- aes256-gcm
- aes256-gcm@openssh.com
serverHostKey:
- ecdsa-sha2-nistp256
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp521
- ssh-ed25519
- ssh-rsa
privateKeys:
- file:///home/joey/.ssh/id_rsa
type: ssh
- id: ssh:356091a3-aae0-4627-9e3e-2a52a6692086
icon: fas fa-desktop
name: joey-nas
group: local
options:
name: joey-nas
group: local
host: joey-nas.local
algorithms:
hmac:
- hmac-sha1
- hmac-sha2-256
- hmac-sha2-512
kex:
- diffie-hellman-group-exchange-sha256
- diffie-hellman-group14-sha1
- diffie-hellman-group14-sha256
- diffie-hellman-group16-sha512
- diffie-hellman-group18-sha512
- ecdh-sha2-nistp256
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
cipher:
- aes128-ctr
- aes128-gcm
- aes128-gcm@openssh.com
- aes192-ctr
- aes256-ctr
- aes256-gcm
- aes256-gcm@openssh.com
serverHostKey:
- ecdsa-sha2-nistp256
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp521
- ssh-ed25519
- ssh-rsa
privateKeys:
- file:///home/joey/.ssh/id_rsa
scripts: []
forwardedPorts: []
type: ssh
- id: ssh:f610b2cb-eea8-4fcb-bb44-2ea481285d44
icon: fas fa-desktop
name: joey-seedbox
group: local
options:
name: joey-seedbox
group: local
host: joey-seedbox.local
user: joey
algorithms:
hmac:
- hmac-sha1
- hmac-sha2-256
- hmac-sha2-512
kex:
- diffie-hellman-group-exchange-sha256
- diffie-hellman-group14-sha1
- diffie-hellman-group14-sha256
- diffie-hellman-group16-sha512
- diffie-hellman-group18-sha512
- ecdh-sha2-nistp256
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
cipher:
- aes128-ctr
- aes128-gcm
- aes128-gcm@openssh.com
- aes192-ctr
- aes256-ctr
- aes256-gcm
- aes256-gcm@openssh.com
serverHostKey:
- ecdsa-sha2-nistp256
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp521
- ssh-ed25519
- ssh-rsa
privateKeys:
- file:///home/joey/.ssh/id_rsa
scripts: []
forwardedPorts: []
type: ssh
- id: ssh:0cf17a52-6895-499a-a524-2e70ee2f01c9
icon: fas fa-desktop
name: router
group: local
options:
name: router
group: local
host: router.jafner.net
user: admin
algorithms:
hmac:
- hmac-sha1
- hmac-sha2-256
- hmac-sha2-512
kex:
- diffie-hellman-group-exchange-sha256
- diffie-hellman-group14-sha1
- diffie-hellman-group14-sha256
- diffie-hellman-group16-sha512
- diffie-hellman-group18-sha512
- ecdh-sha2-nistp256
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
cipher:
- aes128-ctr
- aes128-gcm
- aes128-gcm@openssh.com
- aes192-ctr
- aes256-ctr
- aes256-gcm
- aes256-gcm@openssh.com
serverHostKey:
- ecdsa-sha2-nistp256
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp521
- ssh-ed25519
- ssh-rsa
privateKeys:
- file:///home/joey/.ssh/id_rsa
forwardedPorts: []
scripts: []
type: ssh
- id: ssh:36015f10-1a8e-4506-ba40-4c9cd4a35d9a
icon: fas fa-desktop
name: pi
group: local
options:
name: pi
group: local
host: pihole.local
user: pi
algorithms:
hmac:
- hmac-sha1
- hmac-sha2-256
- hmac-sha2-512
kex:
- curve25519-sha256
- curve25519-sha256@libssh.org
- diffie-hellman-group14-sha1
- diffie-hellman-group14-sha256
- diffie-hellman-group16-sha512
- diffie-hellman-group18-sha512
- ecdh-sha2-nistp256
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
cipher:
- aes128-ctr
- aes128-gcm
- aes128-gcm@openssh.com
- aes192-ctr
- aes256-ctr
- aes256-gcm
- aes256-gcm@openssh.com
serverHostKey:
- ecdsa-sha2-nistp256
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp521
- ssh-ed25519
- ssh-rsa
privateKeys:
- file:///home/joey/.ssh/id_rsa
scripts: []
forwardedPorts: []
type: ssh
- id: ssh:b2e6b90a-fba5-4418-b23b-e29342d50090
icon: fas fa-desktop
name: snapshot
group: GreenFrog
options:
name: snapshot
group: GreenFrog
host: 143.110.236.23
algorithms:
hmac:
- hmac-sha1
- hmac-sha2-256
- hmac-sha2-512
kex:
- curve25519-sha256
- curve25519-sha256@libssh.org
- diffie-hellman-group14-sha1
- diffie-hellman-group14-sha256
- diffie-hellman-group16-sha512
- diffie-hellman-group18-sha512
- ecdh-sha2-nistp256
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
cipher:
- aes128-ctr
- aes128-gcm
- aes128-gcm@openssh.com
- aes192-ctr
- aes256-ctr
- aes256-gcm
- aes256-gcm@openssh.com
serverHostKey:
- ecdsa-sha2-nistp256
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp521
- ssh-ed25519
- ssh-rsa
privateKeys:
- file:///home/joey/.ssh/id_rsa
scripts: []
forwardedPorts: []
type: ssh
- id: ssh:8fd323b3-45e3-499a-b4a3-d438c1c1ab90
icon: fas fa-desktop
name: DO 5etools
group: cloud
options:
name: digital ocean
group: cloud
host: 143.110.151.123
algorithms:
hmac:
- hmac-sha1
- hmac-sha2-256
- hmac-sha2-512
kex:
- curve25519-sha256
- curve25519-sha256@libssh.org
- diffie-hellman-group14-sha1
- diffie-hellman-group14-sha256
- diffie-hellman-group16-sha512
- diffie-hellman-group18-sha512
- ecdh-sha2-nistp256
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
cipher:
- aes128-ctr
- aes128-gcm
- aes128-gcm@openssh.com
- aes192-ctr
- aes256-ctr
- aes256-gcm
- aes256-gcm@openssh.com
serverHostKey:
- ecdsa-sha2-nistp256
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp521
- ssh-ed25519
- ssh-rsa
privateKeys:
- file:///home/joey/.ssh/digital_ocean
forwardedPorts: []
scripts: []
type: ssh
- id: ssh:d9c82a17-d5f1-4b20-a89f-925c55ea53db
icon: fas fa-desktop
name: joey-dev
group: GreenFrog
options:
name: joey-dev-env
group: GreenFrog
host: 143.244.182.163
algorithms:
hmac:
- hmac-sha1
- hmac-sha2-256
- hmac-sha2-512
kex:
- curve25519-sha256
- curve25519-sha256@libssh.org
- diffie-hellman-group14-sha1
- diffie-hellman-group14-sha256
- diffie-hellman-group16-sha512
- diffie-hellman-group18-sha512
- ecdh-sha2-nistp256
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
cipher:
- aes128-ctr
- aes128-gcm
- aes128-gcm@openssh.com
- aes192-ctr
- aes256-ctr
- aes256-gcm
- aes256-gcm@openssh.com
serverHostKey:
- ecdsa-sha2-nistp256
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp521
- ssh-ed25519
- ssh-rsa
privateKeys:
- file:///home/joey/.ssh/id_rsa
scripts: []
forwardedPorts: []
type: ssh
configSync:
parts: {}
profileDefaults:
ssh:
type: ssh
options:
algorithms: {}
privateKeys:
- file:///home/joey/.ssh\id_rsa
auth: publicKey

View File

@ -15,28 +15,27 @@ Run `chmod +x ./setup_sshd.sh && ./setup_sshd.sh`
## Install Flatpaks ## Install Flatpaks
Run `chmod +x ./install_flatpaks.sh && ./install_flatpaks.sh` Run `chmod +x ./install_flatpaks.sh && ./install_flatpaks.sh`
You will need to accept some prompts.
## Install `pamidi` ## Install `pamidi`
Install `xdotool` with `sudo pacman -S xdotool`
Run `chmod +x ./install_pamidi.sh && ./install_pamidi.sh` Run `chmod +x ./install_pamidi.sh && ./install_pamidi.sh`
## Install Lutris ## Install Lutris
Just run `chmod +x ./iinstall_lutris.sh && ./install_lutris.sh` It's so many packages oh my god Just run `chmod +x ./install_lutris.sh && ./install_lutris.sh` It's so many packages oh my god
## Install other applications ## Install other applications
# Other Stuff # Other Stuff
## Ferdi
Configure Ferdi with the following basic apps:
* Discord
* Gmail
* LinkedIn
* Slack
* Element
Then add the following custom recipes (with `cp -r ~/Git/dotfiles/.var/app/com.getferdi.Ferdi/config/Ferdi/recipes/dev ~/.var/app/com.getferdi.Ferdi/config/Ferdi/recipes/dev`): ## Set Flatpaks to use Breeze-Dark Gtk3 Theme
* PrivateEmail `flatpak install flathub org.gtk.Gtk3theme.Breeze-Dark`
* Upwork
## Ferdi
Configure Ferdi by logging into Ferdi sync. This will set up the basic apps, but custom apps will still need to be copied into the dev recipes folder.
Add the custom recipes (with `mkdir -p ~/.var/app/com.getferdi.Ferdi/config/Ferdi/recipes/dev && cp -r ~/Git/dotfiles/.var/app/com.getferdi.Ferdi/config/Ferdi/recipes/dev ~/.var/app/com.getferdi.Ferdi/config/Ferdi/recipes/dev`).
## Autostart ## Autostart
1. Set Spotify, PulseEffects, and Ferdi to start automatically. 1. Set Spotify, PulseEffects, and Ferdi to start automatically.
@ -44,7 +43,7 @@ Then add the following custom recipes (with `cp -r ~/Git/dotfiles/.var/app/com.g
3. `sudo cp .scripts/window_reposition.sh /usr/bin/window_reposition` 3. `sudo cp .scripts/window_reposition.sh /usr/bin/window_reposition`
3. Run the window_reposition script at startup. 3. Run the window_reposition script at startup.
## Tiling and corner-snapping ## Tiling and corner-snapping for GNOME Desktop
Using GNOME, disable all extensions. Install [Tiling Assistant](https://extensions.gnome.org/extension/3733/tiling-assistant/) Using GNOME, disable all extensions. Install [Tiling Assistant](https://extensions.gnome.org/extension/3733/tiling-assistant/)
Set Windows and Screen Edges gaps to 12px. Set Windows and Screen Edges gaps to 12px.

View File

@ -1,4 +1,4 @@
for app in ./.flatpak/* for app in ./.flatpak/*
do do
flatpak install $app flatpak install -y $app
done done

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
sudo sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/' /etc/ssh/sshd_config sudo sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/' /etc/ssh/sshd_config
sudo sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config sudo sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config
cp .ssh/* ~/.ssh/
sudo systemctl enable sshd.service sudo systemctl enable sshd.service
sudo systemctl start sshd.service sudo systemctl start sshd.service