From 37224947e5bf5b61bf936186a604febd0b510b81 Mon Sep 17 00:00:00 2001 From: noctuid Date: Tue, 18 Jul 2017 19:39:20 +0900 Subject: [PATCH] Terminix is now tilix --- README.org | 4 ++-- tdrop | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index 081a133..77c468a 100644 --- a/README.org +++ b/README.org @@ -150,7 +150,7 @@ These terminals have been tested with tdrop and support the =-s= and =-a= flags - Terminology - Sakura - Roxterm -- Terminix (-s will not work if the terminix process is already running) +- Tilix (previously terminix) - st (-s does not work) - Alacritty - xiate @@ -199,7 +199,7 @@ Necessary features don't work on many window managers, including mine. * Why Not Use wmutils? Maybe in the future. The only advantage I can see over xdotool is that it can toggle mapping (=mapw -t=), but this wouldn't be used in this script anyway since different code is executed depending on whether or not the window is mapped or unmapped. Also the command names are somewhat cryptic. -* Similar: +* Similar - [[https://github.com/lharding/lsh-bin/blob/master/drawer][drawer]] * Troubleshooting diff --git a/tdrop b/tdrop index cb7b7d1..09e3fc0 100755 --- a/tdrop +++ b/tdrop @@ -494,7 +494,7 @@ create_win_return_wid() { # (for programs where one pid shares all wids) blacklist=$(xdotool search --classname "$program") # for programs where $! won't always work (e.g. one pid for all windows) - if [[ $program =~ ^(terminix|xfce4-terminal)$ ]]; then + if [[ $program =~ ^(tilix|xfce4-terminal)$ ]]; then pid=$(pgrep -x "$program") elif [[ $program == urxvtc ]]; then blacklist=$(xdotool search --classname urxvtd) @@ -552,8 +552,6 @@ program_start() { tmux new-session -s $session_name'" if [[ $program =~ ^(urxvt|alacritty|xiatec$) ]]; then program_command="$program_command -e bash -c $tmux_command" - elif [[ $program == terminix ]]; then - program_command="$program_command -x \"bash -c $tmux_command\"" else program_command="$program_command -e \"bash -c $tmux_command\"" fi