diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-10-08 12:40:19 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-10-08 12:40:19 +0200 |
commit | ce6be946d024aa55a15d576388d05f90be671cf2 (patch) | |
tree | fa1053446a3fb06daee8438c1ff664cb36c0abcb /.bin/start-org | |
parent | 703ed1915c69911a95cab6e1fb6524629c976800 (diff) | |
download | dots-ce6be946d024aa55a15d576388d05f90be671cf2.tar.gz |
Sat Oct 8 12:40:19 PM CEST 2022
Diffstat (limited to '.bin/start-org')
-rwxr-xr-x | .bin/start-org | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/.bin/start-org b/.bin/start-org deleted file mode 100755 index c32b99e..0000000 --- a/.bin/start-org +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -set -xe - -session_name="org" -windows="wchat:weechat - nmutt:neomutt - calcurse:calcurse" - -if [ "${1}" = "-f" ]; then - tmux kill-session -t "${session_name}" -fi - -tmux new-session -s "${session_name}" -d - -for window in ${windows}; do - window_cmd=$(echo "${window}" | cut -d ":" -f 1) - window_name=$(echo "${window}" | cut -d ":" -f 2) - - tmux new-window -n "${window_name}" - tmux send-keys -t "${session_name}:${window_name}" \ - "${window_cmd} " -done - -tmux a -t "${session_name}" |