diff options
| author | 2021-08-30 14:11:57 +0000 | |
|---|---|---|
| committer | 2021-08-30 14:11:57 +0000 | |
| commit | 5b837cb19aa11be8dd373ec1fe225e6be4a81885 (patch) | |
| tree | 3b2d72fc745133ae62a709130d18720e9c3ee4eb | |
| parent | de7e49595bbaa13de30e0782f93ccccefaeee81c (diff) | |
modificado script de configuração do teclado, prompt alterado e adicionados aliases
| -rw-r--r-- | .tmux.conf | 3 | ||||
| -rw-r--r-- | aliases | 3 | ||||
| -rwxr-xr-x | bin/kbd_config (renamed from bin/kbd) | 2 | ||||
| -rw-r--r-- | env | 37 |
4 files changed, 22 insertions, 23 deletions
@@ -46,7 +46,8 @@ set-option -g default-terminal "screen-256color" new -s 'padrão' -n mail neomutt neww -n mus ncmpcpp neww -n toot toot tui -neww -n irc weechat +neww -n xmpp profanity +#neww -n irc weechat neww -n task vit # shell session, for general use @@ -18,6 +18,8 @@ alias aliases='nvim ~/.config/aliases' alias ..='cd ..' alias repos='cd ~/.local/repos' alias usp='cd "$HOME/Documentos/USP"' +alias blog='cd "$HOME/.local/repos/Rasemala"' +alias rpg='cd "$HOME/Documentos/RPG"' # config files aliases alias zshrc='nvim ~/.config/zsh/.zshrc' @@ -130,6 +132,7 @@ alias ytdl='youtube-dl' alias xclip='xclip -sel copy' alias hc='herbstclient' alias neomutt='cd ~/Downloads && neomutt' +alias tsm='transmission-remote' # taskwarrior alias t='task' @@ -9,5 +9,5 @@ export DISPLAY XAUTHORITY HOME kb_id="$(xinput -list | grep -i "sino wealth" | grep -o "id=[0-9]." | grep -o "[0-9]." | head -1)" xset r rate 250 40 -setxkbmap -model abnt2 -layout br -variant abnt2 +setxkbmap -model abnt2 -layout br -variant abnt2 -option compose:ralt xmodmap "$HOME/.Xmodmap" @@ -6,6 +6,9 @@ export EDITOR="/usr/bin/nvim" export SUDO_EDITOR="/usr/bin/nvim" +# LESS options +export LESS="-R" + # PAGER export PAGER="less" @@ -18,10 +21,6 @@ export BROWSER_CLI="w3m" # TERMINAL, for ease when changing VTEs export TERMINAL="st" -# guix -export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" -export GUIX_BIN="$HOME/.guix-profile/bin" - # XDG dirs export XDG_DATA_HOME="${XDG_DATA_HOME:="$HOME/.local/share"}" export XDG_CACHE_HOME="${XDG_CACHE_HOME:="$HOME/.cache"}" @@ -31,25 +30,22 @@ export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:="$HOME/.config"}" export GOPATH="$XDG_DATA_HOME/go" export GOBIN="$GOPATH/bin" -# Cargo +# cargo export CARGO_HOME="$XDG_DATA_HOME/cargo" export CARGO_BIN="$CARGO_HOME/bin" -# For java applications +# for java applications export _JAVA_AWT_WM_NONREPARENTING=1 -# Rustup +# rustup export RUSTUP_HOME="$XDG_DATA_HOME/rustup" -# Weechat +# weechat export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat" # GTK-2.0 export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc" -# GPG -#export GNUPGHOME="${XDG_DATA_HOME:-"$HOME/.local/share/gnupg"}" - # pass export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass"" @@ -62,27 +58,26 @@ export ZDOTDIR="$HOME/.config/zsh/" # CUDA export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv -# Stack +# stack export STACK_ROOT="$XDG_DATA_HOME"/stack # taskwarrior export TASKRC="$HOME/.config/task/taskrc" export VIT_DIR="$HOME/.config/vit" +# transmission +export TRANSMISSION_HOME="$HOME/.config/transmission" + # source lf's icons [ -f "$HOME/.config/lf/lf_icons" ] && source "$HOME/.config/lf/lf_icons" -# source nnn config -[ -f "$HOME/.config/nnn/config" ] && source "$HOME/.config/nnn/config" - -# Prompt -#export PS1="$(echo -e '\033[1;36m[\033[32m$USER\033[1;31m@\033[35m$(uname -n)\033[1;36m] \033[1;32m$(basename "$PWD" | sed "s,math,~,")\033[33m $\033[0m: ')" - -# zshist prompt for use with zsh +# custom prompts for use different shells if [ "$SHELL" = "/bin/zsh" ]; then - PROMPT='%F{green}%~%f %F{yellow}$%f > ' + export PROMPT='%F{green}%~%f %F{yellow}$%f > ' +elif [ "$SHELL" = "/bin/bash" ]; then + export PS1="\[\033[1;32m\]\w \[\033[33m\]\$ \[\033[0;0m\]> " else - export PS1="$(echo -e '\033[1;32m$(basename "$PWD" | sed "s,math,~,")\033[33m $\033[0m > ')" + export PS1="$(echo -e '\[\033[1;32m\]$(basename "$PWD" | sed "s,math,~,")\[\033[33m\] $\[\033[0m\] > ')" fi export PATH="$HOME/.local/bin":"$CARGO_BIN":"$GOBIN":"$GUIX_BIN":$PATH |
