This commit is contained in:
2025-05-29 00:15:08 -03:00
parent 3acbf0d275
commit 511f210280
5 changed files with 17 additions and 8 deletions

View File

@ -6,16 +6,16 @@ hash ug 2>/dev/null && alias grep="ugrep"
hash bat 2>/dev/null && alias cat="bat -p" hash bat 2>/dev/null && alias cat="bat -p"
hash zoxide 2>/dev/null && alias cd="z" hash zoxide 2>/dev/null && alias cd="z"
hash fd 2>/dev/null && alias find="fd" hash fd 2>/dev/null && alias find="fd"
# hash numbat 2>/dev/null && alias bc="numbat" # numbat is a bit more than just a bc alternative hash numbat 2>/dev/null && alias bc="numbat" # numbat is a bit more than just a bc alternative
# hash eva 2>/dev/null && alias bc="eva" # eva is a bc alternative, but don't want to switch yet # hash eva 2>/dev/null && alias bc="eva" # eva is a bc alternative, but don't want to switch yet
# hash fend 2>/dev/null && alias units="fend" # fend's syntax is a bit different from units, don't want to switch yet hash fend 2>/dev/null && alias units="fend" # fend's syntax is a bit different from units, don't want to switch yet
# hash sd 2>/dev/null && alias sed="sd" # Disabled because some scripts use sed, and don't set the -i flag # hash sd 2>/dev/null && alias sed="sd" # Disabled because some scripts use sed, and don't set the -i flag
hash dust 2>/dev/null && alias du="dust" hash dust 2>/dev/null && alias du="dust"
hash erd 2>/dev/null && alias tree="erd" hash erd 2>/dev/null && alias tree="erd"
hash dua 2>/dev/null && alias duai="dua interactive" hash dua 2>/dev/null && alias duai="dua interactive"
hash tealdeer 2>/dev/null && alias tldr="tealdeer" hash tealdeer 2>/dev/null && alias tldr="tealdeer"
hash hexyl 2>/dev/null && alias xxd="hexyl" hash hexyl 2>/dev/null && alias xxd="hexyl"
hash xdg-open 2>/dev/null && alias start="xdg-open" hash xdg-open 2>/dev/null && alias start="xdg-open" && alias open="xdg-open"
hash micro 2>/dev/null && alias edit="micro" && alias nano="micro" hash micro 2>/dev/null && alias edit="micro" && alias nano="micro"
hash nvim 2>/dev/null && alias vim="nvim" && alias vi="nvim" hash nvim 2>/dev/null && alias vim="nvim" && alias vi="nvim"
hash trash-put 2>/dev/null && alias rm="trash-put" && alias tp="trash-put" hash trash-put 2>/dev/null && alias rm="trash-put" && alias tp="trash-put"
@ -143,6 +143,10 @@ if hash chezmoi 2>/dev/null; then
alias .update="chezmoi update" alias .update="chezmoi update"
fi fi
# Other aliases
alias rce='xdg-open $HOME/.bashrc && xdg-open $HOME/.zshrc && xdg-open $XDG_CONFIG_HOME/bash/.bash_aliases'
# XDG aliases # XDG aliases
alias wget='wget --hsts-file="$XDG_DATA_HOME"/wget-hsts' alias wget='wget --hsts-file="$XDG_DATA_HOME"/wget-hsts'
alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME"/yarn/config' alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME"/yarn/config'
@ -150,7 +154,6 @@ alias units='units --history "$XDG_DATA_HOME"/units_history'
alias nvidia-settings='nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings' alias nvidia-settings='nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings'
alias adb='HOME="$XDG_DATA_HOME"/android adb' alias adb='HOME="$XDG_DATA_HOME"/android adb'
# If we have local rust installed, set it up # If we have local rust installed, set it up
if [[ -f $XDG_DATA_HOME/cargo/env ]]; then if [[ -f $XDG_DATA_HOME/cargo/env ]]; then
. "$XDG_DATA_HOME/cargo/env" . "$XDG_DATA_HOME/cargo/env"

View File

@ -1,6 +1,9 @@
# shellcheck shell=bash # shellcheck shell=bash
# shellcheck disable=SC1090,SC1091,SC2034 # shellcheck disable=SC1090,SC1091,SC2034
# Add local bin to PATH
export PATH="$HOME/.local/bin:$PATH"
# If not running interactively, don't do anything # If not running interactively, don't do anything
[[ $- != *i* ]] && return [[ $- != *i* ]] && return

View File

@ -1,7 +1,7 @@
{ {
"chromiumSwitches": {}, "chromiumSwitches": {},
"IS_MAXIMIZED": true, "IS_MAXIMIZED": false,
"IS_MINIMIZED": false, "IS_MINIMIZED": true,
"WINDOW_BOUNDS": { "WINDOW_BOUNDS": {
"x": 4127, "x": 4127,
"y": 144, "y": 144,

View File

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=Disable Auto-Mute on sound card 2 Description=Disable Auto-Mute on sound card 3
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/usr/bin/amixer -c 2 sset "Auto-Mute Mode" Disabled ExecStart=/usr/bin/amixer -c 3 sset "Auto-Mute Mode" Disabled

View File

@ -1,6 +1,9 @@
# shellcheck shell=bash # shellcheck shell=bash
# shellcheck disable=SC1090,SC1091,SC2034 # shellcheck disable=SC1090,SC1091,SC2034
# Add local bin to PATH
export PATH="$HOME/.local/bin:$PATH"
# If not running interactively, don't do anything # If not running interactively, don't do anything
[[ $- != *i* ]] && return [[ $- != *i* ]] && return