diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..02c4d2d --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,16 @@ +# Pushes the contents of the repo to the Codeberg mirror +name: 🪞 Mirror to Codeberg +on: + workflow_dispatch: + schedule: + - cron: '0 2 * * 0' # At 02:00 on Sunday +jobs: + codeberg: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: { fetch-depth: 0 } + - uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: git@codeberg.org:alicia/dotfiles.git + ssh_private_key: ${{ secrets.CODEBERG_SSH }} diff --git a/config/desktop-apps/ thunderbird.user.js b/config/desktop-apps/ thunderbird.user.js deleted file mode 100644 index e69de29..0000000 diff --git a/config/macos/skhdrc b/config/macos/skhdrc deleted file mode 100644 index e69de29..0000000 diff --git a/config/zsh/.zshenv b/config/zsh/.zshenv index c2342df..9ecd7ff 100644 --- a/config/zsh/.zshenv +++ b/config/zsh/.zshenv @@ -39,5 +39,6 @@ export ZLIB="${ZDOTDIR}/lib" # Encodings, languges and misc settings export LANG='en_GB.UTF-8'; -export LC_ALL='en_GB'; export PYTHONIOENCODING='UTF-8'; +export LC_ALL='C'; + diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index 7aba112..c6e93d1 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -17,28 +17,6 @@ utils_dir="${XDG_CONFIG_HOME}/utils" # If not running interactively, don't do anything [[ $- != *i* ]] && return -# MacOS-specific services -if [ "$(uname -s)" = "Darwin" ]; then - # Add Brew to path, if it's installed - if [[ -d /opt/homebrew/bin ]]; then - export PATH=/opt/homebrew/bin:$PATH - fi - - # If using iTerm, import the shell integration if availible - if [[ -f "${XDG_CONFIG_HOME}/zsh/.iterm2_shell_integration.zsh" ]]; then - source "${XDG_CONFIG_HOME}/zsh/.iterm2_shell_integration.zsh" - fi - - # Append the Android SDK locations to path - if [[ -d "${HOME}/Library/Android/" ]]; then - export PATH="${HOME}/Library/Android/sdk/emulator:${PATH}" - export ANDROID_HOME="${HOME}/Library/Android/sdk" - export ANDROID_SDK_ROOT="${HOME}/Library/Android/sdk" - export ANDROID_AVD_HOME="${ANDROID_SDK_ROOT}/tools/emulator" - export NODE_BINARY="/usr/local/bin/node" - fi -fi - # Source all ZSH config files (if present) if [[ -d $zsh_dir ]]; then # Import alias files @@ -101,6 +79,16 @@ if [ "$(uname -s)" = "Darwin" ]; then fi fi +# If using Tilix, import the shell integration if availible +if [ $TILIX_ID ] || [ $VTE_VERSION ] && [[ -f "/etc/profile.d/vte.sh" ]]; then + source /etc/profile.d/vte.sh +fi + +# Append Cargo to path, if it's installed +if [[ -d "$HOME/.cargo/bin" ]]; then + export PATH="$HOME/.cargo/bin:$PATH" +fi + # Add Zoxide (for cd, quick jump) to shell if hash zoxide 2> /dev/null; then eval "$(zoxide init zsh)" diff --git a/scripts/installs/README.txt b/scripts/installs/README.txt index 59f1fd2..0678d2a 100644 --- a/scripts/installs/README.txt +++ b/scripts/installs/README.txt @@ -1,6 +1,5 @@ Lissy93/Dotfiles - Scripts for Package Installs 📥 ------------------------------------------------- - Each of these scripts is used to automate the installation and updates of packages, across various OSs Specific usage instructions can be found in a comment, at the top of each file - read before running Files can either be run directly, or can be invoked (based on system type) when you run install.sh diff --git a/scripts/installs/arch-pacman.sh b/scripts/installs/arch-pacman.sh old mode 100644 new mode 100755 index 0b343ff..0f3ebb5 --- a/scripts/installs/arch-pacman.sh +++ b/scripts/installs/arch-pacman.sh @@ -48,6 +48,13 @@ pacman_apps=( 'xsel' # Copy paste access to the X clipboard 'zoxide' # Auto-learning navigation (better cd) + # Development, languages, interpriters, compilers, etc + 'go' # Go Lang + 'rustup' # Crab Language + 'python-pip' # Snake Language + 'nodejs' + 'npm' + # Security Utilities 'clamav' # Open source virus scanning suite 'cryptsetup' # Reading / writing encrypted volumes