commit 17486297d3d8b58cf29ae2d42708c055a452ac87
parent f9d6f1363114a524042fd52ed1b4612501d4d1de
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 17 Dec 2018 10:23:25 +0100
Start newsboat from ~/tmp
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/links/.config/i3/config b/links/.config/i3/config
@@ -57,6 +57,7 @@ bindsym $mod+Shift+Return exec $term
# other application launchers
bindsym $mod+m exec $term -e ~/bin/tmux-mutt.sh
+bindsym $mod+r exec $term -e ~/bin/tmux-newsboat.sh
bindsym $mod+c exec $term -e ~/bin/google-cloud-lamps-instance1-ssh.sh
bindsym $mod+i exec $term -e htop
bindsym $mod+b exec $term -e ~/bin/board
@@ -198,7 +199,7 @@ mode "resize" {
bindsym Escape mode "default"
}
-bindsym $mod+r mode "resize"
+#bindsym $mod+r mode "resize"
bar {
status_command i3blocks -c ~/.config/i3/i3blocks
diff --git a/links/bin/tmux-newsboat.sh b/links/bin/tmux-newsboat.sh
@@ -18,7 +18,7 @@ then
# Create new session, name it, name the window, detach
tmux new-session -s "$SESSION" -d
- tmux send-keys -t "$SESSION" "newsboat" C-m
+ tmux send-keys -t "$SESSION" "cd ~/tmp && newsboat" C-m
tmux select-pane -t "$SESSION":1.1
fi