From d19430a11619ada6b2196b306ff0f9494f90d220 Mon Sep 17 00:00:00 2001 From: hesam-init Date: Sun, 24 Mar 2024 12:23:27 +0330 Subject: [PATCH] feat: new structure for shell folder --- configs/shell/{ => bash}/.bashrc | 0 configs/shell/{.shell => zsh/.scripts}/dns-changer.sh | 0 configs/shell/{ => zsh}/.steam-os/main.sh | 0 configs/shell/{ => zsh}/.zsh/aliases/dir.zsh | 0 configs/shell/{ => zsh}/.zsh/aliases/git.zsh | 0 configs/shell/{ => zsh}/.zsh/aliases/main.zsh | 0 configs/shell/{ => zsh}/.zsh/functions/helpers.zsh | 0 configs/shell/{ => zsh}/.zsh/functions/main.zsh | 0 configs/shell/{ => zsh}/.zsh/os/debian.zsh | 0 configs/shell/{ => zsh}/.zsh/os/void.zsh | 1 + configs/shell/{ => zsh}/.zshenv | 2 +- configs/shell/{ => zsh}/.zshlogin | 0 configs/shell/{ => zsh}/.zshrc | 0 stow.sh | 2 +- 14 files changed, 3 insertions(+), 2 deletions(-) rename configs/shell/{ => bash}/.bashrc (100%) rename configs/shell/{.shell => zsh/.scripts}/dns-changer.sh (100%) rename configs/shell/{ => zsh}/.steam-os/main.sh (100%) rename configs/shell/{ => zsh}/.zsh/aliases/dir.zsh (100%) rename configs/shell/{ => zsh}/.zsh/aliases/git.zsh (100%) rename configs/shell/{ => zsh}/.zsh/aliases/main.zsh (100%) rename configs/shell/{ => zsh}/.zsh/functions/helpers.zsh (100%) rename configs/shell/{ => zsh}/.zsh/functions/main.zsh (100%) rename configs/shell/{ => zsh}/.zsh/os/debian.zsh (100%) rename configs/shell/{ => zsh}/.zsh/os/void.zsh (97%) rename configs/shell/{ => zsh}/.zshenv (96%) rename configs/shell/{ => zsh}/.zshlogin (100%) rename configs/shell/{ => zsh}/.zshrc (100%) diff --git a/configs/shell/.bashrc b/configs/shell/bash/.bashrc similarity index 100% rename from configs/shell/.bashrc rename to configs/shell/bash/.bashrc diff --git a/configs/shell/.shell/dns-changer.sh b/configs/shell/zsh/.scripts/dns-changer.sh similarity index 100% rename from configs/shell/.shell/dns-changer.sh rename to configs/shell/zsh/.scripts/dns-changer.sh diff --git a/configs/shell/.steam-os/main.sh b/configs/shell/zsh/.steam-os/main.sh similarity index 100% rename from configs/shell/.steam-os/main.sh rename to configs/shell/zsh/.steam-os/main.sh diff --git a/configs/shell/.zsh/aliases/dir.zsh b/configs/shell/zsh/.zsh/aliases/dir.zsh similarity index 100% rename from configs/shell/.zsh/aliases/dir.zsh rename to configs/shell/zsh/.zsh/aliases/dir.zsh diff --git a/configs/shell/.zsh/aliases/git.zsh b/configs/shell/zsh/.zsh/aliases/git.zsh similarity index 100% rename from configs/shell/.zsh/aliases/git.zsh rename to configs/shell/zsh/.zsh/aliases/git.zsh diff --git a/configs/shell/.zsh/aliases/main.zsh b/configs/shell/zsh/.zsh/aliases/main.zsh similarity index 100% rename from configs/shell/.zsh/aliases/main.zsh rename to configs/shell/zsh/.zsh/aliases/main.zsh diff --git a/configs/shell/.zsh/functions/helpers.zsh b/configs/shell/zsh/.zsh/functions/helpers.zsh similarity index 100% rename from configs/shell/.zsh/functions/helpers.zsh rename to configs/shell/zsh/.zsh/functions/helpers.zsh diff --git a/configs/shell/.zsh/functions/main.zsh b/configs/shell/zsh/.zsh/functions/main.zsh similarity index 100% rename from configs/shell/.zsh/functions/main.zsh rename to configs/shell/zsh/.zsh/functions/main.zsh diff --git a/configs/shell/.zsh/os/debian.zsh b/configs/shell/zsh/.zsh/os/debian.zsh similarity index 100% rename from configs/shell/.zsh/os/debian.zsh rename to configs/shell/zsh/.zsh/os/debian.zsh diff --git a/configs/shell/.zsh/os/void.zsh b/configs/shell/zsh/.zsh/os/void.zsh similarity index 97% rename from configs/shell/.zsh/os/void.zsh rename to configs/shell/zsh/.zsh/os/void.zsh index 2a8a02e..1c9b710 100644 --- a/configs/shell/.zsh/os/void.zsh +++ b/configs/shell/zsh/.zsh/os/void.zsh @@ -12,6 +12,7 @@ alias vlist="xbps-query -l" alias vrepos="xbps-query -L" alias vhold="sudo xbps-pkgdb -m hold" alias vunhold="sudo xbps-pkgdb -m unhold" +alias vmirror="sudo xmirror" alias killall="pkill -f" alias rmhyprland="vrm hyprland hyprland-protocols hyprlang xdg-desktop-portal-hyprland" diff --git a/configs/shell/.zshenv b/configs/shell/zsh/.zshenv similarity index 96% rename from configs/shell/.zshenv rename to configs/shell/zsh/.zshenv index f28bfc4..08ed7b9 100644 --- a/configs/shell/.zshenv +++ b/configs/shell/zsh/.zshenv @@ -7,7 +7,7 @@ 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/.shell/dns-changer.sh +export DNS_CHANGER=$HOME/.scripts/dns-changer.sh export STEAM_OS=$HOME/.steam-os/main.sh if [ -d "/home/$USER/platform-tools" ]; then diff --git a/configs/shell/.zshlogin b/configs/shell/zsh/.zshlogin similarity index 100% rename from configs/shell/.zshlogin rename to configs/shell/zsh/.zshlogin diff --git a/configs/shell/.zshrc b/configs/shell/zsh/.zshrc similarity index 100% rename from configs/shell/.zshrc rename to configs/shell/zsh/.zshrc diff --git a/stow.sh b/stow.sh index 5afd6f1..1f6510d 100755 --- a/stow.sh +++ b/stow.sh @@ -5,7 +5,7 @@ source ./scripts/utils/helpers.sh CONFIGS_DIR="$(pwd)/configs" DOTFILES_DIR="$CONFIGS_DIR/dotfiles" -SHELL_DIR="$CONFIGS_DIR/shell" +SHELL_DIR="$CONFIGS_DIR/shell/zsh" SHORTCUTS_DIR="$CONFIGS_DIR/shortcuts" HYPRLAND_DIR="$CONFIGS_DIR/hyprland"