Artificial intelligent assistant

Open bash terminal application with keybinding/script and keep/hold window after application ends After executing a command for a `bash` terminal application the window closes. This can happen when the terminal is opened by a automatism like a keybinding (e.g. in `i3wm`/`i3`) or invoked by a script. E.g. Let's say I want to create a keybinding for `xprop` (terminal application which shows the `window id`). In `i3wm` (aka `i3`) this is usually done by: bindsym $mod+F8 exec i3-sensible-terminal -e 'xprop' However, I cannot read the output because after executing the command – and indicating/clicking on the desired window – the terminal-window closes immediately.

Use:


bash -c ' & read line'


In the case of a the _i3 keybinding_ this translates to:


bindsym $mod+F8 exec i3-sensible-terminal -e bash -c 'xprop & read line'


**Also** – kinda _workaround_ – also could be:


bindsym $mod+F8 exec i3-sensible-terminal -e bash -c 'xprop & sleep 60'


The terminal is kept awake – _by sleeping (o;_ – for 60 seconds with the `& sleep 60` command.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy d9de7d230f9fd221dae9514bbd7a023e