Skip to content

Commit

Permalink
Merge pull request #2 from neiesc/new-moon
Browse files Browse the repository at this point in the history
New moon
  • Loading branch information
neiesc authored Apr 4, 2024
2 parents 735fd43 + ea30aef commit c99eb84
Show file tree
Hide file tree
Showing 87 changed files with 1,480 additions and 187 deletions.
28 changes: 27 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
.env
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig

pkg/
src/
48 changes: 24 additions & 24 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
[submodule "dependences/archcraft-openbox"]
path = dependences/archcraft-openbox
[submodule "archcraft/dependences/archcraft-openbox"]
path = archcraft/dependences/archcraft-openbox
url = [email protected]:archcraft-os/archcraft-openbox.git
[submodule "dependences/themes/gtk"]
path = dependences/themes/gtk
[submodule "archcraft/dependences/themes/gtk"]
path = archcraft/dependences/themes/gtk
url = [email protected]:dracula/gtk.git
[submodule "dependences/themes/openbox"]
path = dependences/themes/openbox
[submodule "archcraft/dependences/themes/openbox"]
path = archcraft/dependences/themes/openbox
url = [email protected]:dracula/openbox.git
[submodule "dependences/themes/rofi"]
path = dependences/themes/rofi
[submodule "archcraft/dependences/themes/rofi"]
path = archcraft/dependences/themes/rofi
url = [email protected]:dracula/rofi.git
[submodule "dependences/themes/git"]
path = dependences/themes/git
[submodule "archcraft/dependences/themes/git"]
path = archcraft/dependences/themes/git
url = [email protected]:dracula/git.git
[submodule "dependences/themes/gitkraken"]
path = dependences/themes/gitkraken
[submodule "archcraft/dependences/themes/gitkraken"]
path = archcraft/dependences/themes/gitkraken
url = [email protected]:dracula/gitkraken.git
[submodule "dependences/mopidy-docker"]
path = dependences/mopidy-docker
[submodule "archcraft/dependences/mopidy-docker"]
path = archcraft/dependences/mopidy-docker
url = [email protected]:jojo141185/mopidy-docker.git
[submodule "dependences/themes/Tela-circle-icon-theme"]
path = dependences/themes/Tela-circle-icon-theme
[submodule "archcraft/dependences/themes/Tela-circle-icon-theme"]
path = archcraft/dependences/themes/Tela-circle-icon-theme
url = [email protected]:vinceliuice/Tela-circle-icon-theme.git
[submodule "dependences/polybar-scripts"]
path = dependences/polybar-scripts
[submodule "archcraft/dependences/polybar-scripts"]
path = archcraft/dependences/polybar-scripts
url = [email protected]:polybar/polybar-scripts.git
[submodule "dependences/themes/xfce4-terminal"]
path = dependences/themes/xfce4-terminal
[submodule "archcraft/dependences/themes/xfce4-terminal"]
path = archcraft/dependences/themes/xfce4-terminal
url = [email protected]:dracula/xfce4-terminal.git
[submodule "dependences/themes/gitk"]
path = dependences/themes/gitk
[submodule "archcraft/dependences/themes/gitk"]
path = archcraft/dependences/themes/gitk
url = [email protected]:dracula/gitk.git
[submodule "dependences/theme/archcraft-openbox-dracula"]
path = dependences/theme/archcraft-openbox-dracula
[submodule "archcraft/dependences/theme/archcraft-openbox-dracula"]
path = archcraft/dependences/theme/archcraft-openbox-dracula
url = [email protected]:neiesc/archcraft-openbox-dracula.git
5 changes: 4 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"recommendations": [
"nico-castell.linux-desktop-file",
"ms-vscode.makefile-tools"
"ms-vscode.makefile-tools",
"timonwong.shellcheck",
"codezombiech.gitignore",
"tamasfe.even-better-toml"
]
}
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# dotfiles (GNU/Linux)
## GNU/Linux using Archcraft (Yet another minimal Linux distribution, based on Arch Linux.)
- `git clone --recurse-submodules -j8 https://github.com/neiesc/dotfiles.git`
- Change env `DOTFILES_FOLDER` for your dotfiles
- Run `make`
# dotfiles (GNU/Linux and WSL for Windows 10+)
## GNU/Linux distro Archcraft (based in ArchLinux)
1. `git clone --recurse-submodules -j8 https://github.com/neiesc/dotfiles.git`
2. Run `make`

### Other commands
- `git submodule update --remote`

### [Archcraft using openbox with dracula theme](https://github.com/neiesc/)
### [Archcraft using openbox with dracula theme](https://github.com/neiesc/archcraft-openbox-dracula)

## Thanks
Thank https://github.com/archcraft-os for the best distro.
### Thanks
🙏🏼 [Archcraft](https://github.com/archcraft-os) for the best distro.
<br>
🙏🏼 [Dracula theme](https://github.com/dracula/dracula-theme) for the best theme.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 19 additions & 0 deletions archcraft/init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

# echo "❤🧡💛💚💙💜🤎🖤🤍 .config/openbox ❤🧡💛💚💙💜🤎🖤🤍"
# ln -sf $DOTFILES_FOLDER/linux/.config/openbox/autostart $HOME/.config/openbox/autostart
# ln -sf $DOTFILES_FOLDER/linux/.config/openbox/menu-icons.xml $HOME/.config/openbox/menu-icons.xml
# ln -sf $DOTFILES_FOLDER/linux/.config/openbox/rc.xml $HOME/.config/openbox/rc.xml

# ln -sf $DOTFILES_FOLDER/linux/.config/openbox/scripts/ob-furminal $HOME/.config/openbox/scripts/ob-furminal

# echo "❤🧡💛💚💙💜🤎🖤🤍 .config/Thunar ❤🧡💛💚💙💜🤎🖤🤍"
# ln -sf $DOTFILES_FOLDER/linux/.config/Thunar/uca.xml $HOME/.config/Thunar/uca.xml

# echo "❤🧡💛💚💙💜🤎🖤🤍 .config/other ❤🧡💛💚💙💜🤎🖤🤍"
# ln -sf $DOTFILES_FOLDER/linux/.config/autostart $HOME/.config
# ln -sf $DOTFILES_FOLDER/linux/.config/plank/dock1/launchers $HOME/.config/plank/dock1

# echo "❤🧡💛💚💙💜🤎🖤🤍 Setting themes ( 🧛‍♂️ ) ❤🧡💛💚💙💜🤎🖤🤍"
# cd dependences/theme/archcraft-openbox-dracula
# make
2 changes: 2 additions & 0 deletions packages/creative.sh → archcraft/packages/creative.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

# Video
sudo pacman -S --noconfirm obs-studio # depend ffmpeg

Expand Down
53 changes: 53 additions & 0 deletions archcraft/packages/dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#!/bin/sh

# version-manager proto
## programming language
proto install bun
proto install node
proto install python
proto install rust

proto plugin add dotnet "github:Phault/proto-dotnet-plugin"
proto install dotnet

proto plugin add zig "source:https://raw.githubusercontent.com/stk0vrfl0w/proto-toml-plugins/main/plugins/zig.toml"
proto install zig

## manager=package
### python
proto plugin add uv "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/uv/plugin.toml"
proto install uv

## tool
proto plugin add terraform "source:https://raw.githubusercontent.com/theomessin/proto-toml-plugins/master/terraform.toml"
proto install terraform

proto plugin add hurl "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/hurl/plugin.toml"
proto install hurl

proto plugin add hyperfine "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/hyperfine/plugin.toml"
proto install hyperfine

proto plugin add traefik "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/traefik/plugin.toml"
proto install traefik

## security-tools
proto plugin add mkcert "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/mkcert/plugin.toml"
proto install mkcert

proto plugin add trufflehog "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/trufflehog/plugin.toml"
proto install trufflehog

# Docker
# sudo pacman -S --noconfirm docker
# sudo pacman -S --noconfirm docker-buildx
# sudo pacman -S --noconfirm docker-compose
# yay -S --noconfirm docker-credential-secretservice

# Git/Github
# yay -S --noconfirm tk # need for gitk and git gui

## Training
#sudo snap install exercism
#exercism configure --token <my-token>
#exercism configure --workspace /home/neiesc/Dev/Problem-solving/Exercism
2 changes: 2 additions & 0 deletions packages/game.sh → archcraft/packages/game.sh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/bin/sh

# sudo apt-get install steam
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added common/.config/fish/.env.sample
Empty file.
56 changes: 56 additions & 0 deletions common/.config/fish/alias.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# git & github
alias g='git'
alias gcl='git clone --depth 1'
alias gi='git init'
alias ga='git add'
alias gc='git commit -m'
alias gp='git push origin master'
alias gs='git status'
alias gl='git lg -7'

alias oco='bunx opencommit'

#alias gk='gitk'
#alias gg='git gui'

# Rewritten in Rust see: https://zaiste.net/posts/shell-commands-rust/
## ls
alias ls='exa --icons'
alias l='ls -lh'
alias ll='ls -lah'
alias la='ls -la'
alias lm='ls -m'
alias lr='ls -R'
alias lg='ls -l --group-directories-first'

## cat
alias cat="bat --style=auto"

# editor
## vim
alias vi='nvim'
alias vim='nvim'

## VS Code
alias c='code .'

# work
alias work-pessoal-dir='cd ~/Dev/Pessoal'

# package manager
alias my-package-sync='sudo apt-get update && sudo apt-get upgrade'
alias my-package-sync-cargo='proto upgrade'
alias my-package-sync-cargo='cargo install-update -a'
alias my-package-list-local='apt list --installed'
alias my-package-outdated='apt list --upgradable'
alias my-package-orphans-list='pacman -Qdt'

alias tealdeer='tldr'

# network
alias my-ip='curl https://ident.me/json'
alias my-ports-open='lsof -i -P -n'

# tool
alias aws='docker run --rm -ti -v ~/.aws:/root/.aws -v $PWD:/aws amazon/aws-cli'
alias mockoon='docker run --rm -ti --mount type=bind,source=/data-file.json,target=/data,readonly -p 3000:3000 mockoon/cli:latest -d data -p 3000'
Loading

0 comments on commit c99eb84

Please sign in to comment.