jnbdz / dotfiles

My dotfiles. At your own risk 🥴

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

My dotfiles. At your own risk 🥴

Install

Basic install

With curl:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
curl -L https://github.com/jnbdz/dotfiles/archive/refs/heads/main.zip > main.zip && \
unzip main.zip && \
rm main.zip && \
mv dotfiles-main .dotfiles && \
cd .dotfiles && \
make basic

With git:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
git clone git@github.com:jnbdz/dotfiles.git .dotfiles && \
cd .dotfiles && \
make basic

Dev install

Install the basic and dev.

With curl:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
curl -L https://github.com/jnbdz/dotfiles/archive/refs/heads/main.zip > main.zip && \
unzip main.zip && \
rm main.zip && \
mv dotfiles-main .dotfiles && \
cd .dotfiles && \
make basic dev

With git:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
git clone git@github.com:jnbdz/dotfiles.git .dotfiles && \
cd .dotfiles && \
make basic dev

Install all the IDEs (with basic and dev).

With curl:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
curl -L https://github.com/jnbdz/dotfiles/archive/refs/heads/main.zip > main.zip && \
unzip main.zip && \
rm main.zip && \
mv dotfiles-main .dotfiles && \
cd .dotfiles && \
make basic dev all-ide

With git:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
git clone git@github.com:jnbdz/dotfiles.git .dotfiles && \
cd .dotfiles && \
make basic dev all-ide

Adding the SSH keys

After adding the SSH keys to the ~/.ssh/ directory you need to load ssh:

eval "$(ssh-agent -s)"

Multimedia install

With curl:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
curl -L https://github.com/jnbdz/dotfiles/archive/refs/heads/main.zip > main.zip && \
unzip main.zip && \
rm main.zip && \
mv dotfiles-main .dotfiles && \
cd .dotfiles && \
make basic multimedia

With git:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
git clone git@github.com:jnbdz/dotfiles.git .dotfiles && \
cd .dotfiles && \
make basic multimedia

Graphics install

With curl:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
curl -L https://github.com/jnbdz/dotfiles/archive/refs/heads/main.zip > main.zip && \
unzip main.zip && \
rm main.zip && \
mv dotfiles-main .dotfiles && \
cd .dotfiles && \
make basic graphics

With git:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
git clone git@github.com:jnbdz/dotfiles.git .dotfiles && \
cd .dotfiles && \
make basic graphics

Office install

With curl:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
curl -L https://github.com/jnbdz/dotfiles/archive/refs/heads/main.zip > main.zip && \
unzip main.zip && \
rm main.zip && \
mv dotfiles-main .dotfiles && \
cd .dotfiles && \
make basic office

With git:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
git clone git@github.com:jnbdz/dotfiles.git .dotfiles && \
cd .dotfiles && \
make basic office

SRE install

With curl:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
curl -L https://github.com/jnbdz/dotfiles/archive/refs/heads/main.zip > main.zip && \
unzip main.zip && \
rm main.zip && \
mv dotfiles-main .dotfiles && \
cd .dotfiles && \
make basic sre

With git:

cd ~ && \
sudo apt update && \
sudo apt install -y git make && \
git clone git@github.com:jnbdz/dotfiles.git .dotfiles && \
cd .dotfiles && \
make basic sre

Changing /etc/apt/sources.list in Debian to use Kali pkg source

Enabling the kali-rolling branch is done with the command:

deb http://http.kali.org/kali kali-rolling main contrib non-free

Enabling the kali-last-snapshot branch is done with the command:

deb http://http.kali.org/kali kali-last-snapshot main contrib non-free

Source: https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/

Error:

W: GPG error: http://kali.download/kali kali-rolling InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED444FF07D8D0BF6
E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
gpg --keyserver pgpkeys.mit.edu --recv-key  ED444FF07D8D0BF6
gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add -
sudo apt update

Source: https://forums.kali.org/showthread.php?18079-Public-key-error

You need to run:

gpg --keyserver pgpkeys.mit.edu --recv-key  ED444FF07D8D0BF6
sudo gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add -
sudo apt update

OR you can use Ubuntu keys:

gpg --keyserver keyserver.ubuntu.com --recv-key 7D8D0BF6
sudo gpg -a --export 7D8D0BF6 | apt-key add -
apt update

Sources

Activate the SSH

Verify that the ~/.ssh/ dir has the right permission level:

stat -c %a ~/.ssh/

It should have the value: 700

Source: https://askubuntu.com/questions/144921/how-to-get-chmod-octal-permissions-of-the-folder-in-the-terminal

Make sure your key access (permission):

chmod 400 ~/.ssh/id_*

Source: https://stackoverflow.com/questions/29933918/ssh-key-permissions-0644-for-id-rsa-pub-are-too-open-on-mac

Start ssh:

eval "$(ssh-agent -s)"

Source: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

Commands

update-alternatives

sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/google-chrome-beta 50
sudo update-alternatives --config x-www-browser

For terminal:

x-terminal-emulator

Theming

Plymouth

/usr/share/plymouth/themes/qubes-dark

Transparent

Visual Studio Code: microsoft/vscode#32257

OR

https://gist.github.com/marcel-dempers/5b5f687b66032f1a20c9c249fb3bdae3

#!/bin/bash

sudo apt-get  install -y devilspie
mkdir -p ~/.devilspie

echo '
(if (contains (window_class) "Code")
	(begin
		(spawn_async (str "xprop -id " (window_xid) " -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 "))
		(spawn_async (str "xprop -id " (window_xid) " -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY 0xD8000000"))
	)
)
' > ~/.devilspie/vscode_transparent.ds

#https://www.binaryhexconverter.com/decimal-to-hex-converter
# percentage * 255 / 100 , then take number and put in url above
# take 2 chars and add then after 0x

Source: https://www.youtube.com/watch?v=PzObHq72Vug

To change the transparency: (85 * 255) / 100

After that got to: https://binaryhexconverter.com/decimal-to-hex-converter

Replace the line: 0xD8000000

DWM - New design

Colors

  • #2E3440 - very dark blue (background) top bar uses this color
  • #94535d - rgba(148,83,93,255) - darker red
  • #bf616a - rgba(191,97,106,255) - red
  • #bf616a - rgba(191,97,106,255) - another red
  • #a3be8c - rgba(163,190,140,255) - green
  • #ebcb8b - rgba(235,203,139,255) - yellow
  • #81a1c1 - rgba(129,161,193,255) - darker blue
  • #b48ead - rgba(180,142,173,255) - purple
  • #88c0d0 - rgba(136,192,208,255) - blue
  • #7594C7 - - Blue gray
  • #e5e9f0 - rgba(229,233,240,255) - whitish
  • #C78C75 - - orange
  • #F0801F - - orange
  • #EC6630
  • #B55B0D
  • #C76c17
  • #D06224 (orange), #AE431E (orange-red), #8A8635 (green), #E9C891 (skin color (belge))
  • #C36839 (orange (seems to be best))
  • #EF5B0C - orange
  • #D36B00 - orange
  • #C29055 - nice orange
  • #d2d6de - rgba(210,214,222,255) - gray
  • #2e3440 - rgba(46,52,64,255) - black
  • #3b4252 - border color

More interesting colors:

  • #8f5e15 - very dark orange
  • #990000 - dark red or #8c4351
  • #bfbfbf - dark gray use with white or - #e5e5e5 or #9699a3
  • #485e30 - dark green
  • #5a4a78 - dark purple
  • #343b58 - very dark purple
  • #34548a - dark blue
  • #0f4b6e - dark green & blue

Inspired by

TODO

Resources

About

My dotfiles. At your own risk 🥴

License:MIT License


Languages

Language:Shell 66.7%Language:Makefile 30.8%Language:Dockerfile 2.4%Language:Vim Script 0.1%