feat: new folder structure for zsh configs and guide for system apps

This commit is contained in:
hesam-init 2024-02-27 22:16:56 +03:30
parent f731aca508
commit f56725d498
9 changed files with 50 additions and 56 deletions

View file

@ -86,29 +86,6 @@ The following packages are required for the proper functioning of Hyprland on Vo
- font-awesome-6
</details>
<details>
<summary><strong>System Apps</strong></summary>
- alacritty
- zellij
- octoxbps
- neofetch
- fontmanager
- nemo
- pavucontrol
- gnome-system-monitor
- nwg-look
- telegram-desktop
- spotify
- spotify-adblock
- discord
- gimp
- vscode and neovim
- evince
- corectl
- [steam](./guides/STEAM.md)
</details>
## Installation

View file

@ -1,8 +1,10 @@
# flatpak
alias fclean="flatpak uninstall --unused --delete-data"
alias fdir="cd $HOME/.var/app && ls"
# apps
alias dotfiles="cd $DOTFILES && ls"
alias projects="cd $HOME/Code && ls"
alias grub-path="cd /etc/default"
alias z="zellij"
alias zk="zellij kill-all-sessions -y"
alias sp="LD_PRELOAD=/usr/lib/spotify-adblock.so spotify"
@ -19,14 +21,7 @@ alias hardware="inxi -b"
alias psfind="ps -aux | grep"
alias edit-dns="sudo nano /etc/resolv.conf"
alias dns-changer="sudo $DNS_CHANGER"
alias mpv='mpvpaper "*" -o "no-audio --loop-playlist shuffle" ~/Wallpapers/Live'
# directories :
alias dotfiles="cd $DOTFILES && ls"
alias projects="cd $HOME/Code && ls"
alias grub-path="cd /etc/default"
# git :
alias lg="lazygit"
alias gst="git status"
alias gb="git branch"

View file

@ -7,26 +7,21 @@ export NEKORAY_PATH=/opt/nekoray/nekoray
export CODE_PATH=/opt/vscode/code
export DOTFILES=$HOME/.dots-hyprland
export VOID_PACKAGES_PATH=$HOME/.local/pkgs/void-packages
export DNS_CHANGER=$HOME/.sh_custom/dns-changer.sh
export DNS_CHANGER=$HOME/.shell/dns-changer.sh
# adb :
if [ -d "$HOME/platform-tools" ]; then
export PATH="$HOME/platform-tools:$PATH"
fi
# deno :
export DENO_INSTALL="/home/$USER/.deno"
export PATH="$HOME/.local/share/bob/nvim-bin:$PATH"
export PATH="$DENO_INSTALL/bin:$PATH"
# cargo :
. "$HOME/.cargo/env"
# nvm :
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# bun :
[ -s "/home/$USER/.bun/_bun" ] && source "/home/$USER/.bun/_bun"
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"

View file

@ -1,34 +1,23 @@
# shell to zsh : chsh -s $(which zsh)
# env's :
source $HOME/.zshlogin
source $HOME/.zshenv
source ~/.zshlogin
source ~/.zshenv
# omz configs:
ZSH_THEME="nebirhos"
# zsh-syntax-highlighting: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md
# zsh-autosuggestions: https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
plugins=(zsh-syntax-highlighting zsh-autosuggestions git themes jsontools)
# os aliases :
if [[ "$OS" = void ]]; then
source $HOME/.zsh_custom/os/void.zsh
source ~/.zsh/os/void.zsh
elif [[ "$OS" = debian ]]; then
source $HOME/.zsh_custom/os/debian.zsh
source ~/.zsh/os/debian.zsh
else
echo "Unsupported operating system: $OS"
fi
# zellij :
if [ "$ZELLIJ_START" = true ]; then
eval "$(zellij setup --generate-auto-start zsh)"
fi
# sources list:
source $ZSH/oh-my-zsh.sh
source $HOME/.zsh_custom/aliases.zsh
source $HOME/.zsh_custom/functions.zsh
source ~/.zsh/aliases/index.zsh
source ~/.zsh/functions/index.zsh
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
eval "$(atuin init zsh)"

38
guides/system-apps.md Normal file
View file

@ -0,0 +1,38 @@
# Void Linux Productivity Apps
Enhance your productivity on Void Linux with these curated applications:
## Terminal and Shell Tools
- **alacritty**: Modern GPU-accelerated terminal emulator.
- **zellij**: Tmux-like terminal workspace manager.
- **octoxbps**: Graphical package manager for XBPS.
- **neofetch**: Visually appealing system information display.
- **fzf**: Command-line fuzzy finder.
- **dust**: Command-line tool to display sizes of disk data.
- [**atuin**](https://docs.atuin.sh/guide/installation/): Command-line history with search.
## Desktop Utilities
- **fontmanager**: Simplifies font management.
- **nemo**: User-friendly file manager.
- **pavucontrol**: Graphical audio settings manager.
- **gnome-system-monitor**: Graphical system resource monitor.
- **nwg-look**: Custom theme and configuration applier.
## Communication and Collaboration
- **telegram-desktop**: Official Telegram client.
- **discord**: Communication platform with text, voice, and video chat.
## Multimedia and Design
- **spotify**: Music streaming client.
- **spotify-adblock**: Blocks ads on Spotify.
- **gimp**: Open-source raster graphics editor.
- **evince**: Document viewer for PDF and PostScript.
## Development and Editors
- **vscode and neovim**: Visual Studio Code and Neovim editors.
## Virtualization and Gaming
- **corectl**: CLI for CoreOS Container Linux clusters.
- **steam**: Digital distribution platform for games.
Boost your computing experience with these diverse applications, ranging from terminal enhancements to powerful multimedia and development tools.