aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matheus R <matheusrbarros03@gmail.com> 2021-12-16 14:17:23 +0000
committerGravatar Matheus R <matheusrbarros03@gmail.com> 2021-12-16 14:17:23 +0000
commit31b4648f5a228f43a19c82185d0d989091bec2c5 (patch)
treebca3638c300004d10c50eea969def0bdea88f6a7
parent0425b349141ca60d584f00e3c0c45e2929107e48 (diff)
eu deveria ser preso por esse xmodmap; tmux com reforma estética e modificador mais são; variavel TERMINAL usa o xterm por padrão; xbanish ao invés de unclutter
-rw-r--r--.Xmodmap6
-rw-r--r--.profile2
-rw-r--r--.tmux.conf23
-rwxr-xr-x.xprofile5
-rw-r--r--aliases1
-rwxr-xr-xbin/scr.sh2
-rwxr-xr-xbin/wallpaper2
7 files changed, 30 insertions, 11 deletions
diff --git a/.Xmodmap b/.Xmodmap
index 46e24cf..c2429ec 100644
--- a/.Xmodmap
+++ b/.Xmodmap
@@ -1,8 +1,10 @@
! remove caps lock
remove Lock = Caps_Lock
+remove Control = Control_L
keysym Escape = Caps_Lock
-keysym Caps_Lock = Escape
+keysym Control_L = Escape
+keysym Caps_Lock = Control_L
keysym Menu = Super_L
-add Lock = Caps_Lock
+add Control = Control_L
diff --git a/.profile b/.profile
index c62def3..a16b5ef 100644
--- a/.profile
+++ b/.profile
@@ -19,7 +19,7 @@ export BROWSER="firefox"
export BROWSER_CLI="w3m"
# TERMINAL, for ease when changing VTEs
-export TERMINAL="st"
+export TERMINAL="${st:-xterm}"
# XDG dirs
export XDG_DATA_HOME="${XDG_DATA_HOME:="$HOME/.local/share"}"
diff --git a/.tmux.conf b/.tmux.conf
index a7c1c84..ceb9cee 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -1,6 +1,6 @@
# changes prefix from C-b to C-space
unbind C-b
-set -g prefix C-space
+set -g prefix C-s
# set bind key to reload configuration file
bind r source-file ~/.tmux.conf \; display ​"Reloaded!"
@@ -18,10 +18,25 @@ bind C new-s
# --- Config --- #
-set mode-keys vi
+set -g mode-keys vi
-# set the status line's colors
-set -g status-style fg=white,bg=blue
+# status line
+set -g status-fg 'yellow'
+set -g status-bg 'colour235'
+
+# active/current window colors
+set-window-option -g window-status-current-style fg=colour236
+set-window-option -g window-status-current-style bg=colour160
+
+set -g status-justify centre
+set -g status-interval 5
+
+# session name, window index, pane index on the left
+set-option -g status-left-length 40
+set-option -g status-left "#[fg=blue]#S: #[fg=yellow]#I #[fg=green]#P"
+
+# hostname and time on the right side
+set -g status-right "#[fg=cyan]| #[fg=green]#h #[fg=blue]%H:%M"
# tmux starts on non-login shells
set -g default-command "${SHELL}"
diff --git a/.xprofile b/.xprofile
index 1a517d7..f3bb8f8 100755
--- a/.xprofile
+++ b/.xprofile
@@ -16,7 +16,10 @@ redshift &
numlockx &
# Ativa o unclutter
-unclutter &
+#unclutter --timeout 3 --ignore-scrolling -b
+
+# esconde o mouse quando uma tecla é pressionada
+xbanish
# Taxa de repetição
xset r rate 250 40
diff --git a/aliases b/aliases
index 83f08ee..80dc08e 100644
--- a/aliases
+++ b/aliases
@@ -110,7 +110,6 @@ alias pm='pulsemixer'
alias yda="youtube-dl -4 -x --audio-format mp3 -o '~/Música/%(title)s.%(ext)s' --external-downloader aria2c --external-downloader-args '-c -j 3 -x 3 -s 3 -k 1M'"
alias ytdl='youtube-dl'
alias xclip='xclip -sel copy'
-alias neomutt='cd ~/Downloads && neomutt'
alias tsm='transmission-remote'
alias open='xdg-open'
alias caninos='ssh -4 caninos@caninos.local'
diff --git a/bin/scr.sh b/bin/scr.sh
index a6c95ae..d0acf58 100755
--- a/bin/scr.sh
+++ b/bin/scr.sh
@@ -10,7 +10,7 @@ file='%Y-%m-%d_$wx$h.png'
if [ "$1" = "-s" ] || [ "$1" = "--selection" ]
then
- sleep 0.2 && scrot -sf "$file" -e 'mv $f "/tmp/prints"'
+ sleep 0.2 && scrot -s -f "$file" -e 'mv $f "/tmp/prints"'
elif [ "$1" = "-a" ] || [ "$1" = "--active-window" ]
then
diff --git a/bin/wallpaper b/bin/wallpaper
index fb33c72..ee4cf5b 100755
--- a/bin/wallpaper
+++ b/bin/wallpaper
@@ -2,7 +2,7 @@
# Baseado no script do Luke Smith
-DIR="$HOME/Imagens/wallpapers"
+DIR="$HOME/imagens/wallpapers"
WAL="$DIR/wall.png"
# se o diretório existir, pegue um arquivo aleatoriamente