commit 8592c47d72338303bbc614fbe856ed5fb8dd6f5f
parent ee76de246ca9ccd01f141c50c06410398a7d936e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 16 Dec 2018 22:29:49 +0100
Set tmux status bar off by default, remove todo alias, change i3 binds
Diffstat:
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/links/.commands.sh b/links/.commands.sh
@@ -62,7 +62,6 @@ eg() {
# see :h --noplugin
#alias vi='vim -u NONE'
alias vi='vim -u ~/.vim/vimrc.noplugs'
-alias todo="vim ~/iawriter/todo.md"
## dotfiles
diff --git a/links/.config/i3/config b/links/.config/i3/config
@@ -52,8 +52,8 @@ client.background $black
floating_modifier $mod
# start a terminal
-bindsym $mod+Return exec $term
-bindsym $mod+Shift+Return exec $term -e tmux
+bindsym $mod+Return exec $term -e tmux
+bindsym $mod+Shift+Return exec $term
# other application launchers
bindsym $mod+m exec $term -e tmux
diff --git a/links/.tmux.conf b/links/.tmux.conf
@@ -42,8 +42,14 @@ set -g message-command-style fg=white # appearance of status message cmds
# Left section of status bar
set -g status-left ""
+# Hide status bar by default
+set -g status off
+bind -r -n M-t set -g status on
+bind t set -g status on
+bind -r -n M-T set -g status off
+bind T set -g status off
+
# Right section of status bar
-#if-shell 'uname | grep -qi Darwin' "set -g status-right \"#[fg=#81a2be]#(/usr/local/bin/mpc | head -n 1 | sed 's/volume.*$//' | cut -c 1-22) #[fg=cyan]#(~/bin/battery-osx) #(~/bin/mailstatus.sh) #[fg=yellow]#(uptime|sed 's/.* //') #[fg=#666666]%R\""
if-shell 'uname | grep -qi Darwin' "set -g status-right \"#[fg=#81a2be]#(/usr/local/bin/mpc | head -n 1 | sed 's/volume.*$//') #[fg=cyan]#(~/bin/battery-osx) #(~/bin/mailstatus.sh) #[fg=yellow]#(uptime|sed 's/.* //') #[fg=#666666]%F #[fg=#bababa]%R\""
if-shell 'uname | grep -qi Linux' "set -g status-right \"#[fg=cyan]#(~/bin/battery-linux) #(~/bin/mailstatus.sh) #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=#666666]%F #[fg=#bababa]%R\""