aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matheus R <matheusrbarros03@gmail.com> 2021-11-10 13:47:17 +0000
committerGravatar Matheus R <matheusrbarros03@gmail.com> 2021-11-10 13:47:17 +0000
commit4efde2c3298da89d3d2b8d026f581df3341cd8eb (patch)
treeb7804d0ed648cdd7c1f7df3e3d29fda8071d1b46
parentbbff046c2a5bbbc103a26a9d74c416373fdc1ae2 (diff)
modificada fonte do xterm, retirada verbose do mbsync e adicionada opção de no link ao script wlan
-rw-r--r--.Xresources5
-rw-r--r--.profile9
-rw-r--r--.tmux.conf1
-rw-r--r--aliases2
-rwxr-xr-xbin/mbsync.sh2
-rwxr-xr-xbin/wlan2
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
diff --git a/.profile b/.profile
index 0c9bdfa..c62def3 100644
--- a/.profile
+++ b/.profile
@@ -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\] > ')"
diff --git a/.tmux.conf b/.tmux.conf
index d51618d..d879bc5 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -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
diff --git a/aliases b/aliases
index 4b863d4..f992a8c 100644
--- a/aliases
+++ b/aliases
@@ -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
diff --git a/bin/wlan b/bin/wlan
index d8f3e4e..a5da901 100755
--- a/bin/wlan
+++ b/bin/wlan
@@ -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"
}