diff options
| author | 2021-11-10 13:47:17 +0000 | |
|---|---|---|
| committer | 2021-11-10 13:47:17 +0000 | |
| commit | 4efde2c3298da89d3d2b8d026f581df3341cd8eb (patch) | |
| tree | b7804d0ed648cdd7c1f7df3e3d29fda8071d1b46 | |
| parent | bbff046c2a5bbbc103a26a9d74c416373fdc1ae2 (diff) | |
modificada fonte do xterm, retirada verbose do mbsync e adicionada opção de no link ao script wlan
| -rw-r--r-- | .Xresources | 5 | ||||
| -rw-r--r-- | .profile | 9 | ||||
| -rw-r--r-- | .tmux.conf | 1 | ||||
| -rw-r--r-- | aliases | 2 | ||||
| -rwxr-xr-x | bin/mbsync.sh | 2 | ||||
| -rwxr-xr-x | bin/wlan | 2 |
6 files changed, 6 insertions, 15 deletions
diff --git a/.Xresources b/.Xresources index 9242446..e34293f 100644 --- a/.Xresources +++ b/.Xresources @@ -1,9 +1,6 @@ !! Mouse cursor size Xcursor.size: 48 -!! emacs config -Emacs.font: Iosevka 20 - !! Colors *background: #101112 *foreground: #dfdfdf @@ -29,7 +26,7 @@ XTerm*cursorBlink: true XTerm*cursorColor: #dfdfdf ! font -XTerm*faceName: Hack:style=Bold:size=24 +XTerm*faceName: Iosevka Term:style=Regular:size=24 ! keybindings ! these NEED to have the 'vt100' identifier @@ -47,7 +47,7 @@ export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat" export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc" # pass -export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass"" +export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass # shell history export HISTFILE="/tmp/.$(id -nu)-history" @@ -68,13 +68,6 @@ 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" - -# gpodder -export GPODDER_HOME="$HOME/.local/share/gpodder" -export GPODDER_DOWNLOAD_DIR="${GPODDER_HOME:-$HOME/.local/share/gpodder/Downloads}" - # shell prompt export PS1="$(echo -e '\[\033[1;32m\]$(basename "$PWD" | sed "s,math,~,")\[\033[33m\] $\[\033[0m\] > ')" @@ -41,7 +41,6 @@ set-option -g default-terminal "screen-256color" # preload sessions and windows new -s 'padrão' -n mail neomutt neww -n mus ncmpcpp -neww -n toot toot tui neww -n xmpp profanity #neww -n irc weechat neww -n task vit @@ -32,7 +32,7 @@ alias tmconf='nvim ~/.tmux.conf' alias alconf='nvim ~/.config/alacritty/alacritty.yml' -alias eenv='nvim ~/.config/env' +alias prof='nvim ~/.profile' alias xinitrc='nvim ~/.xinitrc' alias xprofile='nvim ~/.xprofile' diff --git a/bin/mbsync.sh b/bin/mbsync.sh index 75ed9a9..363d726 100755 --- a/bin/mbsync.sh +++ b/bin/mbsync.sh @@ -6,5 +6,5 @@ #pkill mbsync &>/dev/null # runs mbsync and writes the output to a file -mbsync -a +mbsync -a exit 0 @@ -4,6 +4,8 @@ wlan() { station="$(iwctl device list | grep station | awk ' { print $1 } ')" essid="$(iwgetid | sed -e 's/ESSID://g' -e 's/\"//g' -e "s:$station::g" -e 's/^\W*/ /g')" + +# [ -n "$essid" ] || [ -z "$essid" ] && essid=' no link' printf "%s" "$essid" } |
