commit eaf4a482b6981ae9f072e3ea56b6e01e3b916587 parent b131e31a39a3c696af825c734350749a64fa5eca Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 7 Jun 2019 15:13:14 +0200 Add back tmux integration Diffstat:
M | .config/mutt/muttrc | | | 11 | ++++++----- |
M | .config/sxhkd/sxhkdrc | | | 4 | ++-- |
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc @@ -208,13 +208,14 @@ macro index,pager S "<enter-command>unset wait_key<enter>\ <save-message>=adamsgaard/Spam<enter>" "mark as spam" # sync all accounts -macro index O "<enter-command>unset wait_key<enter><shell-escape>offlineimap<enter><enter-command>set wait_key<enter>" +#macro index O "<enter-command>unset wait_key<enter><shell-escape>offlineimap<enter><enter-command>set wait_key<enter>" +macro index O "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>" # sync current inbox -folder-hook adamsgaard 'macro index o "<enter-command>unset wait_key<enter><shell-escape>offlineimap -a adamsgaard -qf INBOX<enter><enter-command>set wait_key<enter>"' -folder-hook riseup 'macro index o "<enter-command>unset wait_key<enter><shell-escape>offlineimap -a riseup -qf INBOX<enter><enter-command>set wait_key<enter>"' -folder-hook princeton 'macro index o "<enter-command>unset wait_key<enter><shell-escape>offlineimap -a princeton -qf INBOX<enter><enter-command>set wait_key<enter>"' -folder-hook geomail 'macro index o "<enter-command>unset wait_key<enter><shell-escape>offlineimap -a geomail -qf INBOX<enter><enter-command>set wait_key<enter>"' +folder-hook adamsgaard 'macro index o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a adamsgaard -qf INBOX\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' +folder-hook riseup 'macro index o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a riseup -qf INBOX\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' +folder-hook princeton 'macro index o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a princeton -qf INBOX\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' +folder-hook geomail 'macro index o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a geomail -qf INBOX\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' macro index K "<enter-command>unset wait_key<enter>\ <shell-escape>offlineimap-kill.sh<enter>" "kill all offlineimap processes" diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc @@ -63,11 +63,11 @@ super + b super + n $TERMINAL -e $FILE super + m - $TERMINAL -e mutt + $TERMINAL -e tmux new-session mutt super + r $TERMINAL -e newsboat super + i - $TERMINAL -e irc.sh + $TERMINAL -e tmux new-session irc.sh super + s firejail --profile=~/.config/firejail/signal-desktop.profile signal-desktop super + t